Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 24th April 2013, 10:53
pavs pavs is offline
Junior Member
 
Join Date: Apr 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Getting "upstream timed out" timed out error with nginx and fastcgi

With the help of this 2 tutorial:

http://www.howtoforge.com/installing...n-ubuntu-11.04
http://www.howtoforge.com/running-wo...e-ubuntu-11.04

I am running wordpress with nginx,apc,mysql,memcache,varnish,php-fpm.

After months of running without any problem I have started to get this kind of error with "upstream timed out". Basically the site will work for hours without problem, but it go down with 1-2 times a day, I have to restart the server to get it back up again and the cycle goes on. It been happening only for the last month or so. Before that it worked without any problem for about six month. I had this problem with another server with exact configuration, I couldn't find any solution so I re-installed everything and its worked fine. I don't want to reinstall this if possible, because its a pain in the butt. serching the interwebs tells me that this is a common problem none of the solutions I tried works for me or anyone can explain why this happened. One of the more popuar solution offered is to switch to unix sockets, but it didn't solve my problem.

Can anyone help?

Example of an error from nginx error log:


Quote:
*4639 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server: www.mysite.net, request: "POST /wp-cron.php?doing_wp_cron=1366502506.7365529537200927 734375 HTTP/1.0", upstream: "fastcgi://127.0.0.1:9000", host: "www.mysite.net"
Reply With Quote
Sponsored Links
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Web CGIProxy + Nginx + FastCGI nightguide Installation/Configuration 0 11th March 2013 12:20
FastCGI spawing with NGiNX mejason69 HOWTO-Related Questions 4 17th December 2011 17:16
Nginx and PHP and Fastcgi Paladinemishakal Installation/Configuration 1 4th January 2011 13:45


All times are GMT +2. The time now is 09:00.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.