<span class="Apple-style-span" style="font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'Lucida Sans', Arial, Verdana, sans-serif; font-size: 14px; color: rgb(85, 85, 85); line-height: 17px; "><div>
hi,all</div><div><br></div><div>The <b style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-weight: bolder; ">access_log</b> directive sets the path, format and buffer size for the access log file. Using "off" as the only parameter clears all <b style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-weight: bolder; ">access_log</b> directives for the current level. If the format is not indicated, it defaults to <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; ">"combined"</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="'Lucida Grande', 'Lucida Sans Unicode', 'Lucida Sans', 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="'Lucida Grande', 'Lucida Sans Unicode', 'Lucida Sans', 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="'Lucida Grande', 'Lucida Sans Unicode', 'Lucida Sans', 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. </span></font></div>
<div><font class="Apple-style-span" color="#555555" face="'Lucida Grande', 'Lucida Sans Unicode', 'Lucida Sans', 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="'Lucida Grande', 'Lucida Sans Unicode', 'Lucida Sans', 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="'Lucida Grande', 'Lucida Sans Unicode', 'Lucida Sans', 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 the linux write system call is atomic.</span></font></div>
<div><font class="Apple-style-span" color="#555555" face="'Lucida Grande', 'Lucida Sans Unicode', 'Lucida Sans', 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>