Ошибка 500
Re: Ошибка 500
Может проблема в большом количестве воркеров апача как для впс с 512 памяти?
Re: Ошибка 500
Вот из панели:
Поищу еще
upd.: попробую KeepAlive On в httpd.conf
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"
upd.: попробую KeepAlive On в httpd.conf
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.
Re: Ошибка 500
Похоже, что запрос не успел обработаться за 90 секунд.
Если у вас CentOS, попробуйте конфигурацию с увеличинными тайматуами
Если у вас CentOS, попробуйте конфигурацию с увеличинными тайматуами
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
Re: Ошибка 500
Да CentOS
Спасибо, попробую
Ошибка 500 вылетает сразу, даже секунды не проходит
Спасибо, попробую
Ошибка 500 вылетает сразу, даже секунды не проходит
Re: Ошибка 500
Если ошибка вылетает сразу, то нужно включить логирование ошибок в php.ini. Тогда будет видно в чем дело.
Re: Ошибка 500
аналогичная ситуация - при переключении на hosting - ошибка пропала, периодически снова всплывает то на отдельных страницах, то на всём сайте.
Re: Ошибка 500
Включите логирование ошибок в php и проверьте лог домена.
Re: Ошибка 500
Тоже стал получать эту же ошибку, когда пытаюсь зайти в phpMyAdmin.
Re: Ошибка 500
Есть что-то в error логе?
Re: Ошибка 500
Лог PHP только сейчас буду включать, а в логах Апача то же самое, что и у топикстартера:
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"