http<br>{<br> client_max_body_size       1024m;<br>.......<br><br><div class="gmail_quote">23 мая 2009 г. 2:07 пользователь Имя Фамилия <span dir="ltr">&lt;<a href="mailto:n.g.i.n.x.e.r@gmail.com">n.g.i.n.x.e.r@gmail.com</a>&gt;</span> написал:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Здравствуйте<br>
не могу понять в чем же пробелма<br>
<br>
ос freebsd 7<br>
установил nginx в связке с php-fpm<br>
поставл форум vb<br>
<br>
все работает нормально но аплоад файлов глючит<br>
<br>
установил в пхп ини все аплоады посты и тд  по 25мб и client_max_body_size тоже<br>
<br>
но аплоад выаливается в 502<br>
в большинстве случаев когда файлы больше ~ 5 мб<br>
а иногда и вообще 100кб<br>
<br>
нимогу понять в чем проблема<br>
<br>
вот часть лога<br>
<br>
2009/05/23 00:12:07 [error] 26408#0: *6919 upstream prematurely closed<br>
connection while reading response header from upstream, client:<br>
192.168.0.11, server: <a href="http://test.ru" target="_blank">test.ru</a>, request: &quot;POST<br>
/newattachment.php?do=manageattach&amp;p= HTTP/1.1&quot;, upstream:<br>
&quot;fastcgi://unix:/var/run/php-fpm/test.sock:&quot;, host: &quot;<a href="http://www.test.ru" target="_blank">www.test.ru</a>&quot;,<br>
referrer: &quot;<a href="http://www.test.ru/newattachment.php?f=74&amp;poststarttime=1243020720&amp;posthash=cb0cf9c8b274b7a5ef72240c649359d4" target="_blank">http://www.test.ru/newattachment.php?f=74&amp;poststarttime=1243020720&amp;posthash=cb0cf9c8b274b7a5ef72240c649359d4</a>&quot;<br>

2009/05/23 00:24:44 [warn] 27066#0: *55 a client request body is<br>
buffered to a temporary file<br>
/var/tmp/nginx/client_body_temp/0000000000, client: 192.168.0.11,<br>
server: <a href="http://test.ru" target="_blank">test.ru</a>, request: &quot;POST /newattachment.php?do=manageattach&amp;p=<br>
HTTP/1.1&quot;, host: &quot;<a href="http://www.test.ru" target="_blank">www.test.ru</a>&quot;, referrer:<br>
&quot;<a href="http://www.test.ru/newattachment.php?f=74&amp;poststarttime=1243020720&amp;posthash=cb0cf9c8b274b7a5ef72240c649359d4" target="_blank">http://www.test.ru/newattachment.php?f=74&amp;poststarttime=1243020720&amp;posthash=cb0cf9c8b274b7a5ef72240c649359d4</a>&quot;<br>

2009/05/23 00:25:39 [error] 27066#0: *55 kevent() reported about an<br>
closed connection while sending request to upstream, client:<br>
192.168.0.11, server: <a href="http://test.ru" target="_blank">test.ru</a>, request: &quot;POST<br>
/newattachment.php?do=manageattach&amp;p= HTTP/1.1&quot;, upstream:<br>
&quot;fastcgi://unix:/var/run/php-fpm/test.sock:&quot;, host: &quot;<a href="http://www.test.ru" target="_blank">www.test.ru</a>&quot;,<br>
referrer: &quot;<a href="http://www.test.ru/newattachment.php?f=74&amp;poststarttime=1243020720&amp;posthash=cb0cf9c8b274b7a5ef72240c649359d4" target="_blank">http://www.test.ru/newattachment.php?f=74&amp;poststarttime=1243020720&amp;posthash=cb0cf9c8b274b7a5ef72240c649359d4</a>&quot;<br>

2009/05/23 00:26:36 [warn] 27130#0: *59 a client request body is<br>
buffered to a temporary file<br>
/var/tmp/nginx/client_body_temp/0000000000, client: 192.168.0.11,<br>
server: <a href="http://test.ru" target="_blank">test.ru</a>, request: &quot;POST /newattachment.php?do=manageattach&amp;p=<br>
HTTP/1.1&quot;, host: &quot;<a href="http://www.test.ru" target="_blank">www.test.ru</a>&quot;, referrer:<br>
&quot;<a href="http://www.test.ru/newattachment.php?f=74&amp;poststarttime=1243020720&amp;posthash=cb0cf9c8b274b7a5ef72240c649359d4" target="_blank">http://www.test.ru/newattachment.php?f=74&amp;poststarttime=1243020720&amp;posthash=cb0cf9c8b274b7a5ef72240c649359d4</a>&quot;<br>

2009/05/23 00:27:30 [error] 27130#0: *59 kevent() reported about an<br>
closed connection while sending request to upstream, client:<br>
192.168.0.11, server: <a href="http://test.ru" target="_blank">test.ru</a>, request: &quot;POST<br>
/newattachment.php?do=manageattach&amp;p= HTTP/1.1&quot;, upstream:<br>
&quot;fastcgi://unix:/var/run/php-fpm/test.sock:&quot;, host: &quot;<a href="http://www.test.ru" target="_blank">www.test.ru</a>&quot;,<br>
referrer: &quot;<a href="http://www.test.ru/newattachment.php?f=74&amp;poststarttime=1243020720&amp;posthash=cb0cf9c8b274b7a5ef72240c649359d4" target="_blank">http://www.test.ru/newattachment.php?f=74&amp;poststarttime=1243020720&amp;posthash=cb0cf9c8b274b7a5ef72240c649359d4</a>&quot;<br>

</blockquote></div><br>