Re: Ошибка 500
Posted: Fri Nov 01, 2013 1:20 pm
Может проблема в большом количестве воркеров апача как для впс с 512 памяти?
Code: Select all
2013/11/03 22:03:59 [error] 23899#0: *96481 upstream prematurely closed connection while reading response header from upstream, client: 77.123.52.**, server: ***.com.ua, request: "GET /en/admin/structure/field-collections HTTP/1.1", upstream: "http://37.139.11.**:8080/en/admin/structure/field-collections", host: "***.com.ua"
By default, KeepAlive is turned off. By turning it on (KeepAlive On), we allow a single TCP connection to make multiple requests without dropping the connection. For Drupal this is important, since each page typically has several elements on it, and a single hit on that page might make multiple requests. If KeepAlive is off, each element request will result in a new TCP connection and its associated overhead. The total number of requests available per connection is set by MaxKeepAliveRequests, here set to 100. The total amount of seconds the connection will stay up is set by KeepAliveTimeout, and I've set it to twice the length of my longest average page request.
Code: Select all
wget http://c.vestacp.com/0.9.8/rhel/httpd-long.conf -O /etc/httpd/conf/httpd.conf
wget http://c.vestacp.com/0.9.8/rhel/nginx-long.conf -O /etc/nginx/nginx.conf
service httpd restart
service nginx restart
Code: Select all
upstream prematurely closed connection while reading response header from upstream, client: *.*.*.*, server: domain.com, request: "GET /phpmyadmin/ HTTP/1.1", upstream: "http://*.*.*.*:*/phpmyadmin/", host: "domain.com"