<span class="Apple-style-span" style="font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Arial, Verdana, sans-serif; font-size: 14px; color: rgb(85, 85, 85); line-height: 17px; "><div>
hi,all</div><div><br></div><div>The&nbsp;<b style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-weight: bolder; ">access_log</b>&nbsp;directive sets the path, format and buffer size for the access log file. Using &quot;off&quot; as the only parameter clears all&nbsp;<b style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-weight: bolder; ">access_log</b>&nbsp;directives for the current level. If the format is not indicated, it defaults to&nbsp;<a href="http://wiki.nginx.org/NginxHttpLogModule#log_format_combined" title="NginxHttpLogModule" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; color: rgb(220, 3, 3); text-decoration: none; ">&quot;combined&quot;</a>. The size of buffer must not exceed the size of the atomic record for writing into the disk file. This size is not limited for FreeBSD 3.0-6.0.</div>
</span><div><font class="Apple-style-span" color="#555555" face="&#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Arial, Verdana, sans-serif" size="4"><span class="Apple-style-span" style="font-size: 14px; line-height: 17px;"><br>
</span></font></div><div><font class="Apple-style-span" color="#555555" face="&#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Arial, Verdana, sans-serif" size="4"><span class="Apple-style-span" style="font-size: 14px; line-height: 17px;">this is quoted from <a href="http://wiki.nginx.org">wiki.nginx.org</a>.</span></font></div>
<div><font class="Apple-style-span" color="#555555" face="&#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Arial, Verdana, sans-serif" size="4"><span class="Apple-style-span" style="font-size: 14px; line-height: 17px;">My server is running linux 2.6.16. &nbsp;</span></font></div>
<div><font class="Apple-style-span" color="#555555" face="&#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Arial, Verdana, sans-serif" size="4"><span class="Apple-style-span" style="font-size: 14px; line-height: 17px;">I dont know the size of the atomic record for writing into the disk file. Can somebody help me?</span></font></div>
<div><font class="Apple-style-span" color="#555555" face="&#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Arial, Verdana, sans-serif" size="4"><span class="Apple-style-span" style="font-size: 14px; line-height: 17px;"><br>
</span></font></div><div><font class="Apple-style-span" color="#555555" face="&#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Arial, Verdana, sans-serif" size="4"><span class="Apple-style-span" style="font-size: 14px; line-height: 17px;">I googled, but cannot make sure that &nbsp;the linux write system call is atomic.</span></font></div>
<div><font class="Apple-style-span" color="#555555" face="&#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, &#39;Lucida Sans&#39;, Arial, Verdana, sans-serif" size="4"><span class="Apple-style-span" style="font-size: 14px; line-height: 17px;"><br clear="all">
</span></font><br>-- <br>Best Regards,<br><br>Ѧ ÓÂ<br><br>QQ:312200<br><br><a href="mailto:e-mail%3Aultraice@gmail.com">e-mail:ultraice@gmail.com</a><br><br>
</div>