解决nginx 错误问题upstream timed out (110: Connection timed out) while reading upstream, client:…

最近公司的服务器在访问量不大的情况下经常出现如下报错:

upstream timed out (110: Connection timed out) while reading upstream, client:

用的是php-fpm 和nginx的服务器。Google了一下,修改了php-fpm的www.conf, 其中一个参数是:

request_terminate_timeout=30s

另外,php.ini里有个参数也要调整一下:

max_execution_time=30

改完重启服务,问题解决。

service php-fpm restart

nginx -s reload

 

1,406 Comments

  1. 60918 383704Superb read, I just passed this onto a colleague who was doing just a little research on that. And he actually bought me lunch because I found it for him smile So let me rephrase that. 466883

  2. It is the best time to make a few plans for the future and it is time to
    be happy. I have read this post and if I may just I desire
    to suggest you few fascinating issues or tips.
    Maybe you could write next articles relating to this article.
    I want to learn more things about it!

  3. Pingback: Google
  4. Pingback: Moving help Baltimore
  5. Pingback: dual layer dildo
  6. Pingback: Ewaste Collection
  7. Pingback: otvaracie hodiny
  8. Pingback: vibrating massager
  9. Pingback: dolce and gabbana
  10. Pingback: burberry
  11. Pingback: versace
  12. [url=https://celebrex200.com/]celebrex over the counter[/url] [url=https://tadacip2019.com/]tadacip[/url] [url=https://albendazoletablets.com/]albendozale purchase[/url] [url=https://antabuse250.com/]buy antabuse[/url] [url=https://buyzithromaxonline.com/]zithromax 500[/url]

  13. [url=http://xenicalgenericbuy.com/]xenical pill[/url] [url=http://buypropecia.us.com/]buy propecia[/url] [url=http://buylisinopril.us.com/]Buy Lisinopril[/url] [url=http://avodartbest.us.com/]avodart price[/url] [url=http://kamagrabest.us.org/]buy kamagra oral jelly online[/url] [url=http://colchicine.in.net/]colchicine[/url] [url=http://buysuhagra.us.org/]buy suhagra[/url] [url=http://ampicillin.us.org/]ampicillin[/url] [url=http://allopurinolgenericbuy.com/]allopurinol[/url] [url=http://baclofen.in.net/]baclofen online[/url]

  14. [url=https://antabuse250.com/]antabuse over the counter[/url] [url=https://albendazoletablets.com/]albendazole[/url] [url=https://celebrex200.com/]celebrex 200 mg[/url] [url=https://buyzithromaxonline.com/]zithromax[/url] [url=https://tadacip2019.com/]tadacip online[/url]

  15. [url=http://erythromycinbest.us.com/]erythromycin prices[/url] [url=http://colchicine.in.net/]colchicine[/url] [url=http://furosemide.in.net/]purchase furosemide[/url] [url=http://buypaxil.us.com/]paxil[/url] [url=http://buycialis.us.com/]BUY CIALIS[/url] [url=http://allopurinolgenericbuy.com/]allopurinol[/url] [url=http://buysuhagra.us.org/]buy suhagra[/url] [url=http://buylevitra.us.com/]buy levitra[/url] [url=http://buymobic.us.com/]cheap mobic[/url] [url=http://tadacipbest.us.com/]buy tadacip[/url]

  16. [url=https://buyzithromaxonline.com/]buy zithromax online[/url] [url=https://antabuse250.com/]buy antabuse[/url] [url=https://celebrex200.com/]celebrex generic[/url] [url=https://albendazoletablets.com/]albendazole online[/url] [url=https://tadacip2019.com/]tadacip[/url]

  17. [url=http://allopurinolgenericbuy.com/]zyloprim[/url] [url=http://baclofenbest.us.org/]baclofen[/url] [url=http://buycialis.us.com/]cialis uk[/url] [url=http://metformingenericbuy.com/]Metformin[/url] [url=http://kamagrabest.us.org/]kamagra 100mg oral jelly[/url] [url=http://avodartbest.us.com/]avodart without prescription[/url] [url=http://propranolol.in.net/]propranolol online[/url] [url=http://propeciagenericbuy.com/]Generic Propecia 1mg[/url] [url=http://clonidinebest.us.com/]buy clonidine[/url] [url=http://prozacgenericbuy.com/]prozac prices[/url]

  18. [url=http://colchicine.in.net/]colchicine[/url] [url=http://buypropecia.us.com/]cheap propecia[/url] [url=http://buymobic.us.com/]buy mobic[/url] [url=http://albuterolgenericonline.com/]learn more[/url] [url=http://erythromycinbest.us.com/]erythromycin[/url] [url=http://acyclovirgenericbuy.com/]acyclovir[/url] [url=http://xenicalgenericbuy.com/]xenical pills[/url] [url=http://metformingenericbuy.com/]Metformin[/url] [url=http://buymetformin.us.com/]metformin er[/url] [url=http://antabusebest.us.org/]cost of antabuse[/url]

  19. [url=http://baclofen.in.net/]baclofen 10 mg tab[/url] [url=http://arimidexbest.us.com/]Arimidex[/url] [url=http://baclofenbest.us.org/]Baclofen 20mg[/url] [url=http://furosemide.in.net/]furosemide 20 mg[/url] [url=http://vermoxbest.us.com/]Mebendazole Tablets[/url] [url=http://xenicalgenericbuy.com/]xenical 120[/url] [url=http://hydrochlorothiazide.in.net/]hydrochlorothiazide[/url] [url=http://antabusebest.us.org/]Buy Disulfiram Online[/url] [url=http://tadacipbest.us.com/]TADACIP[/url] [url=http://metformingenericbuy.com/]Metformin[/url]

  20. [url=http://acyclovirgenericbuy.com/]Acyclovir Medication[/url] [url=http://synthroidgenericbuy.com/]Cost Synthroid[/url] [url=http://prozacgenericbuy.com/]prozac pills[/url] [url=http://cafergot.in.net/]web site[/url] [url=http://baclofen.in.net/]baclofen[/url] [url=http://hydrochlorothiazide.in.net/]hydrochlorothiazide[/url] [url=http://ampicillin.us.org/]Ampicillin Tablets[/url] [url=http://propranolol.in.net/]view homepage[/url] [url=http://buymobic.us.com/]Buy Mobic[/url] [url=http://xenicalgenericbuy.com/]generic xenical[/url]

  21. [url=http://buylisinopril.us.com/]buy lisinopril[/url] [url=http://acyclovirgenericbuy.com/]price of acyclovir[/url] [url=http://vardenafilgenericbuy.com/]bonuses[/url] [url=http://advairbest.us.com/]advair diskus[/url] [url=http://zithromaxgenericbuy.com/]buy zithromax 500mg[/url] [url=http://buylevitra.us.com/]buy levitra[/url] [url=http://propranolol.in.net/]propranolol[/url] [url=http://azithromycin.in.net/]azithromycin[/url] [url=http://erythromycinbest.us.com/]Erythromycin[/url] [url=http://prozacgenericbuy.com/]prozac[/url]

  22. [url=http://buypropecia.us.com/]propecia 1mg tablets[/url] [url=http://hydrochlorothiazide.in.net/]get more info[/url] [url=http://baclofen.in.net/]baclofen[/url] [url=http://albuterolgenericonline.com/]albuterol aerosol[/url] [url=http://propeciagenericbuy.com/]Propecia[/url] [url=http://synthroidgenericbuy.com/]hair loss synthroid[/url] [url=http://buypaxil.us.com/]paxil[/url] [url=http://zithromaxgenericbuy.com/]Zithromax[/url] [url=http://azithromycin.in.net/]azithromycin[/url] [url=http://buylevitra.us.com/]buy levitra[/url]

  23. [url=https://albendazoletablets.com/]buy albendazole online[/url] [url=https://celebrex200.com/]celebrex[/url] [url=https://antabuse250.com/]antabuse 250 mg[/url] [url=https://buyzithromaxonline.com/]zythromax[/url] [url=https://tadacip2019.com/]tadacip[/url]

  24. [url=https://allopurinol100.com/]allopurinol 300 mg[/url] [url=https://furosemide20.com/]furosemide 40mg[/url] [url=https://cafergotmedication.com/]cafergot pills[/url] [url=https://tadalafil5.com/]tadalafil 10[/url] [url=https://atenololmedication.com/]buy atenolol[/url]

  25. [url=http://tadalafil5.com/]tadalafil 5 mg[/url] [url=http://allopurinol100.com/]allopurinol[/url] [url=http://cafergotmedication.com/]generic cafergot[/url] [url=http://furosemide20.com/]furosemide[/url] [url=http://atenololmedication.com/]buy atenolol[/url]

  26. [url=https://prednisolone5mg.com/]buying prednisolone online[/url] [url=https://motilium10mg.com/]motilium tablets[/url] [url=https://buystromectolonline.com/]stromectol[/url] [url=https://lisinoprilhydrochlorothiazide.com/]hydrochlorothiazide 12.5 mg tablets[/url] [url=https://azithromycin500.com/]buy azithromycin[/url]

  27. [url=https://loans-online.us.com/]loans online[/url] [url=https://loansonlineinstantapproval.us.com/]bad credit loans guaranteed approval[/url] [url=https://advancepayday.us.com/]payday advance online[/url] [url=https://loanswithnocredit.us.com/]loans no credit[/url] [url=https://personallending.us.com/]personal lending[/url] [url=https://lowinterestpersonalloans.us.com/]personal loans with low interest[/url] [url=https://personal-loans.us.com/]low interest personal loan[/url] [url=https://cashadvanceloans.us.com/]cash advance loans[/url] [url=https://paydayloanss.us.com/]bad credit loans not payday[/url] [url=https://loansinstantapproval.us.org/]personal loans fast[/url]