Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Language specific forums Russian (Русский) Веб сервер
  • Search

Error 500 - "upstream prematurely closed connection while reading response header from upstream"

Вопросы по работе Веб сервера
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
vedavrat
Posts: 25
Joined: Thu Jun 11, 2015 3:02 pm
Contact:
Contact vedavrat
Website Facebook Google+

Os: Debian 8x
Web: apache + nginx
Error 500 - "upstream prematurely closed connection while reading response header from upstream"
  • Quote

Post by vedavrat » Thu Jun 15, 2017 10:33 am

CentOS release 6.9 (Final), 64-bit.
((( Linux 2.6.32-642.13.1.el6.x86_64 #1 SMP Jan 11 2017 x86_64 GNU/Linux )))

Apache + nginx + PHP + MySQL + WordPress.

В логах Apache видно:
"""
15/Jun/2017:11:53:14 "POST /wp-admin/nav-menus.php HTTP/1.0" 500 - "http://vedavrat.org/wp-admin/nav-menus.php" "Mozilla/5.0 (Linux x86_64) OPR/45.0.2552"

2017/06/15 12:02:52 [error] upstream prematurely closed connection while reading response header from upstream, server:vedavrat.org, request:"POST /wp-admin/nav-menus.php HTTP/1.1", upstream:"/wp-admin/nav-menus.php", host:"vedavrat.org", referrer:"http://vedavrat.org/wp-admin/nav-menus.php"

15/Jun/2017:12:26:26 "POST /wp-admin/nav-menus.php HTTP/1.0" 500 - "http://vedavrat.org/wp-admin/nav-menus.php" "Mozilla/5.0 (Linux x86_64) OPR/45.0.2552"
"""

Память увеличивал всем (PHP, nginx, httpd).
Время [timeout] тоже увеличивал всем (PHP, nginx, httpd).
Top

vedavrat
Posts: 25
Joined: Thu Jun 11, 2015 3:02 pm
Contact:
Contact vedavrat
Website Facebook Google+

Os: Debian 8x
Web: apache + nginx
Error 500 - "upstream timed out (110: Connection timed out) while reading response header from upstream"
  • Quote

Post by vedavrat » Mon Jun 19, 2017 8:28 pm

И на другие сайты/домены это зло поползло:
"""

Code: Select all

2017/06/19 23:20 [error] 12129#12129: *643286 upstream timed out (110: Connection timed out) while reading response header from upstream, client:146.185.223.245, server:hopak-odesa.ved.bz, request:"GET/HTTP-1.0", upstream:"http://195.123.209.69:8080/", host:"hopak-odesa.ved.bz", referrer:"http://hopak-odesa.ved.bz/" 
"""
В чём причина?
Top

websystems
Posts: 31
Joined: Wed Oct 18, 2017 6:34 am

Re: Error 500 - "upstream prematurely closed connection while reading response header from upstream"
  • Quote

Post by websystems » Sat Dec 30, 2017 12:58 am

Same problem here, but Presta instead od WP. Did you find any solution?
Top

exmr
Posts: 8
Joined: Fri Jun 23, 2017 7:52 am

Re: Error 500 - "upstream prematurely closed connection while reading response header from upstream"
  • Quote

Post by exmr » Mon Mar 05, 2018 7:31 am

Всем привет.
Тоже искал концы этой проблемы.
Решил разнеси error логи апача и nginx.
поправил для nginx
/var/log/httpd/domains/мойдомен.nginx.error.log
поправил для apache
/var/log/httpd/domains/мойдомен.httpd.error.log

Перезапустил сервера.
Проблема на домене исчезла.
Не знаю что именно помогло.
Top


Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “Веб сервер”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password