vps 内存 512M,用 DEDE 采集经常报 504 错误,BAIDU 了一下有几个地方需要修改
nginx.conf
keepalive_timeout 60;
fastcgi_connect_timeout 300;
fastcgi_send_timeout 300;
fastcgi_read_timeout 300;
fastcgi_buffer_size 128k;
fastcgi_buffers 2 256k;
fastcgi_busy_buffers_size 256k;
fastcgi_temp_file_write_size 256k;
php-fpm.conf
<value name="max_children">30</value>
<value name="request_terminate_timeout">0s</value>
正文完
发表至: *NIX相关
2011-02-27