<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.26.3">
</HEAD>
<BODY>
&#1042; &#1042;&#1090;&#1088;, 18/08/2009 &#1074; 09:07 +0400, &#1061;&#1086;&#1088;&#1076;&#1086;&#1074; &#1056;&#1086;&#1084;&#1072;&#1085; &#1087;&#1080;&#1096;&#1077;&#1090;:<BR>
<BLOCKQUOTE TYPE=CITE>
    &#1054;&#1075;&#1088;&#1086;&#1084;&#1085;&#1086;&#1077; &#1089;&#1087;&#1072;&#1089;&#1080;&#1073;&#1086;! &#1055;&#1086;&#1084;&#1086;&#1075;&#1083;&#1086;.&nbsp;<BR>
    &#1057;&#1087;&#1072;&#1089;&#1080;&#1073;&#1086; &#1074;&#1089;&#1077;&#1084; &#1079;&#1072; &#1087;&#1086;&#1084;&#1086;&#1097;&#1100;.<BR>
    <BR>
    18.08.09, 04:33, &quot;Bogun Dmitriy&quot; &lt;vugluskr@vugluskr.org.ua&gt;: <BR>
    <BLOCKQUOTE>
        &#1042; &#1042;&#1090;&#1088;, 18/08/2009 &#1074; 00:57 +0400, &#1061;&#1086;&#1088;&#1076;&#1086;&#1074; &#1056;&#1086;&#1084;&#1072;&#1085; &#1087;&#1080;&#1096;&#1077;&#1090;: 
        <BLOCKQUOTE TYPE=CITE>
<PRE>
set_time_limit(0); &#1074; &#1089;&#1082;&#1088;&#1080;&#1087;&#1090;&#1077; &#1085;&#1077; &#1087;&#1086;&#1084;&#1086;&#1075;&#1083;&#1086; 
</PRE>
        </BLOCKQUOTE>
    </BLOCKQUOTE>
</BLOCKQUOTE>
&#1091;&#1073;&#1077;&#1088;&#1080;&#1090;&#1077; &#1101;&#1090;&#1086; - &#1087;&#1086;&#1090;&#1086;&#1084; &#1073;&#1086;&#1082;&#1086;&#1084; &#1074;&#1099;&#1081;&#1076;&#1077;&#1090;. &#1048;&#1083;&#1080; &#1087;&#1086;&#1089;&#1090;&#1072;&#1074;&#1100;&#1090;&#1077; &#1093;&#1086;&#1090;&#1103; &#1073;&#1099; 900 &#1074;&#1084;&#1077;&#1089;&#1090;&#1086; 0.
<BLOCKQUOTE TYPE=CITE>
    <BLOCKQUOTE>
        <BLOCKQUOTE TYPE=CITE>
<PRE>
max_execution_time = 900 &#1074; php.ini
nginx.conf 
..
proxy_read_timeout  900;
    client_header_timeout  3m;
    client_body_timeout    3m;
    send_timeout           3m;
..
 location ~ \.php$ {
            fastcgi_pass   127.0.0.1:1026;
            fastcgi_index  index.php;
            fastcgi_param  SCRIPT_FILENAME  /usr/site/site$fastcgi_script_name;
            include        fastcgi_params;
        }
..
&#1053;&#1080;&#1095;&#1077;&#1075;&#1086; &#1085;&#1077; &#1087;&#1086;&#1084;&#1086;&#1075;&#1072;&#1077;&#1090;. &#1047;&#1072;&#1087;&#1091;&#1089;&#1082;&#1072;&#1077;&#1090;&#1089;&#1103; &#1089;&#1082;&#1088;&#1080;&#1087;&#1090; &#1080; &#1088;&#1086;&#1074;&#1085;&#1086; &#1095;&#1077;&#1088;&#1077;&#1079; &#1084;&#1080;&#1085;&#1091;&#1090;&#1091; (110: Connection timed out)
</PRE>
        </BLOCKQUOTE>
        &#1042;&#1086;&#1090; &#1074;&#1072;&#1096;&#1080; 60 &#1089;&#1077;&#1082;&#1091;&#1085;&#1076;<BR>
        <A HREF="http://sysoev.ru/nginx/docs/http/ngx_http_fastcgi_module.html#fastcgi_read_timeout">http://sysoev.ru/nginx/docs/http/ngx_http_fastcgi_module.html#fastcgi_read_timeout</A> 
        <BLOCKQUOTE TYPE=CITE>
<PRE>
&gt; &gt; &#1042;&#1072;&#1088;&#1080;&#1072;&#1085;&#1090;: &#1082;&#1086;&#1084;&#1072;&#1085;&#1076;&#1072; &#1080;&#1089;&#1087;&#1086;&#1083;&#1085;&#1103;&#1077;&#1090;&#1089;&#1103; &#1073;&#1086;&#1083;&#1100;&#1096;&#1077; &#1089;&#1077;&#1082;&#1091;&#1085;&#1076; &#1095;&#1077;&#1084; &#1088;&#1072;&#1079;&#1088;&#1077;&#1096;&#1077;&#1085;&#1086; &#1074; php.ini, &#1087;&#1086;&#1087;&#1088;&#1086;&#1073;&#1091;&#1081; &#1074; &#1089;&#1072;&#1084;&#1086;&#1084; &#1085;&#1072;&#1095;&#1072;&#1083;&#1077; &#1087;&#1093;&#1087; &#1089;&#1082;&#1088;&#1080;&#1087;&#1090;&#1072; &#1091;&#1082;&#1072;&#1079;&#1072;&#1090;&#1100; set_time_limit(0); 
&gt;  &#1055;&#1086;&#1089;&#1083;&#1077; &#1090;&#1072;&#1082;&#1080;&#1093; &#1089;&#1086;&#1074;&#1077;&#1090;&#1086;&#1074; &#1080;&#1084;&#1077;&#1077;&#1084; &quot;&#1074;&#1080;&#1089;&#1103;&#1097;&#1080;&#1077;&quot; &#1074;&#1077;&#1073;&#1085;&#1099;&#1077; &#1087;&#1088;&#1086;&#1094;&#1077;&#1089;&#1089;&#1099; &#1074; &#1073;&#1077;&#1089;&#1082;&#1086;&#1085;&#1077;&#1095;&#1085;&#1099;&#1093; &#1094;&#1080;&#1082;&#1083;&#1072;&#1093;, &#1082;&#1086;&#1090;&#1086;&#1088;&#1099;&#1081; &#1073;&#1077;&#1089;&#1090;&#1086;&#1083;&#1082;&#1091; &#1078;&#1088;&#1091;&#1090; &#1087;&#1088;&#1086;&#1094;&#1077;&#1089;&#1089;&#1086;&#1088;&#1085;&#1086;&#1077; &#1074;&#1088;&#1077;&#1084;&#1103; &#1080; &#1085;&#1080;&#1082;&#1072;&#1082;&#1086;&#1081; &#1087;&#1086;&#1083;&#1100;&#1079;&#1099; &#1085;&#1077; &#1087;&#1088;&#1080;&#1085;&#1086;&#1089;&#1103;... &#1044;&#1072; &#1076;&#1083;&#1103; &#1101;&#1090;&#1086;&#1075;&#1086; &#1085;&#1091;&#1078;&#1085;&#1072; &#1086;&#1089;&#1086;&#1073;&#1072;&#1103; &#1082;&#1088;&#1080;&#1074;&#1080;&#1079;&#1085;&#1072; &#1088;&#1091;&#1082;, &#1085;&#1086; &#1074; &#1085;&#1072;&#1096;&#1080; &#1076;&#1085;&#1080; &#1101;&#1090;&#1086; &#1085;&#1077; &#1087;&#1088;&#1086;&#1073;&#1083;&#1077;&#1084;&#1072;.
&gt;  &#1047;&#1072;&#1095;&#1077;&#1084; 0??? &#1053;&#1080; &#1086;&#1076;&#1080;&#1085; &#1073;&#1088;&#1072;&#1091;&#1079;&#1077;&#1088;(&#1090;&#1077;&#1084; &#1073;&#1086;&#1083;&#1077;&#1077; &#1087;&#1086;&#1083;&#1100;&#1079;&#1086;&#1074;&#1072;&#1090;&#1077;&#1083;&#1100;) &#1085;&#1077; &#1073;&#1091;&#1076;&#1077;&#1090; &#1078;&#1076;&#1072;&#1090;&#1100; &#1073;&#1077;&#1089;&#1082;&#1086;&#1085;&#1077;&#1095;&#1085;&#1086;&#1077; &#1074;&#1088;&#1077;&#1084;&#1103; &#1087;&#1086;&#1082;&#1072; &#1086;&#1090;&#1088;&#1072;&#1073;&#1086;&#1090;&#1072;&#1077;&#1090; &#1089;&#1082;&#1088;&#1080;&#1087;&#1090;. &#1059;&#1078; &#1083;&#1091;&#1095;&#1096;&#1077; &#1082;&#1072;&#1082;&#1086;&#1081;-&#1090;&#1086; &#1073;&#1086;&#1083;&#1100;&#1096;&#1086;&#1081; &#1085;&#1086; &#1082;&#1086;&#1085;&#1077;&#1095;&#1085;&#1099;&#1081; &#1083;&#1080;&#1084;&#1080;&#1090; - 900 &#1073;&#1091;&#1076;&#1077;&#1090; &#1086;&#1090;&#1083;&#1080;&#1095;&#1085;&#1099;&#1084; &#1079;&#1085;&#1072;&#1095;&#1077;&#1085;&#1080;&#1077;&#1084;. 
&gt; &gt; &#1061;&#1086;&#1088;&#1076;&#1086;&#1074; &#1056;&#1086;&#1084;&#1072;&#1085; wrote: &gt; &#1056;&#1072;&#1073;&#1086;&#1090;&#1072;&#1077;&#1090; &#1087;&#1088;&#1086;&#1089;&#1090;&#1086;&#1081; &#1089;&#1082;&#1088;&#1080;&#1087;&#1090;, &#1082;&#1086;&#1090;&#1086;&#1088;&#1099;&#1081; &#1087;&#1088;&#1080; &#1079;&#1072;&#1075;&#1088;&#1091;&#1079;&#1082;&#1077; pdf-&#1092;&#1072;&#1081;&#1083;&#1072; &#1082;&#1086;&#1085;&#1074;&#1077;&#1088;&#1090;&#1080;&#1088;&#1091;&#1077;&#1090; &#1077;&#1075;&#1086; &#1089; &#1087;&#1086;&#1084;&#1086;&#1097;&#1100;&#1102; ImageMagick &#1074; jpeg. &#1045;&#1089;&#1083;&#1080; &#1089;&#1090;&#1072;&#1074;&#1080;&#1090;&#1100; &#1074; &#1089;&#1082;&#1088;&#1080;&#1087;&#1090;&#1077; &#1089;&#1090;&#1088;&#1077;&#1076;&#1085;&#1080;&#1077; &#1087;&#1072;&#1088;&#1072;&#1084;&#1077;&#1090;&#1088;&#1099; &#1082;&#1072;&#1095;&#1077;&#1089;&#1090;&#1074;&#1072; &#1082;&#1086;&#1085;&#1074;&#1077;&#1088;&#1090;&#1072;&#1094;&#1080;&#1080;: &gt; convert -geometry 1200x1200 -density 100x100 -quality 100, &#1090;&#1086; &#1074;&#1089;&#1077; &#1074; &#1087;&#1088;&#1086;&#1103;&#1076;&#1082;&#1077;. &gt; &#1050;&#1072;&#1082; &#1090;&#1086;&#1083;&#1100;&#1082;&#1086; &#1074;&#1099;&#1089;&#1090;&#1072;&#1074;&#1083;&#1103;&#1077;&#1090;&#1089;&#1103; &#1073;&#1086;&#1083;&#1077;&#1077; &#1074;&#1099;&#1089;&#1086;&#1082;&#1086;&#1077; &#1088;&#1072;&#1079;&#1088;&#1077;&#1096;&#1077;&#1085;&#1080;&#1077;: &gt; convert -geometry 1600x1600 -density 200x200 -quality 100 &gt; &#1042;&#1099;&#1076;&#1072;&#1077;&#1090;&#1089;&#1103; &#1086;&#1096;&#1080;&#1073;&#1082;&#1072; 504 &#1074; &#1073;&#1088;&#1072;&#1091;&#1079;&#1077;&#1088;&#1077;, &#1074; &#1083;&#1086;&#1075;&#1072;&#1093; [error] 8234#0: *1 upstream timed out (110: Connection timed out) while reading response header from upstream, &gt; &gt; &#1045;&#1089;&#1083;&#1080; &#1079;&#1072;&#1087;&#1091;&#1089;&#1090;&#1080;&#1090;&#1100; &#1087;&#1086;&#1089;&#1083;&#1077;&#1076;&#1085;&#1102;&#1102; &#1082;&#1086;&#1084;&#1072;&#1085;&#1076;&#1091; &#1074; &#1082;&#1086;&#1084;&#1084;&#1072;&#1085;&#1076;&#1085;&#1086;&#1081; &#1089;&#1090;&#1088;&#1086;&#1082;&#1077;, &#1090;&#1086; &#1088;&#1072;&#1073;&#1086;&#1090;&#1072;&#1077;&#1090; &#1086;&#1090;&#1083;&#1080;&#1095;&#1085;&#1086;. &#1042;&#1099;&#1083;&#1077;&#1090;&#1072;&#1077;&#1090; &#1090;&#1086;&#1083;&#1100;&#1082;&#1086; &#1087;&#1088;&#1080; &#1088;&#1072;&#1073;&#1086;&#1095;&#1077; &#1095;&#1077;&#1088;&#1077;&#1079; php-&#1089;&#1082;&#1088;&#1080;&#1087;&#1090; 
&gt; 
</PRE>
        </BLOCKQUOTE>
        <BR>
    </BLOCKQUOTE>
</BLOCKQUOTE>
</BODY>
</HTML>