The code in your application is likely dead locking in some way. Did it auto 
recover after 5 minutes, with daemon processes which were hung being 
restarted automatically?

Set:

  LogLevel info

in Apache configuration.

If you aren't already forcing WSGI application to run in main interpreter 
then do so, by using:

  WSGIApplicationGroup %{GLOBAL}

The dead lock could be caused by a Python C extension module not working 
properly in a sub interpreter. That directive will force use of main 
interpreter.

You will though only be able to do that if that WSGI application is only one 
delegated to that daemon process group as Django doesn't allow more than one 
instance to run in same interpreter.

Graham

On Saturday, January 29, 2011 7:28:52 AM UTC+11, Robert Feely wrote:
>
> Thanks for the replies guys. 
>
> Site went down at just after 7pm this evening: 
>
> Here's the screenshot: http://i55.tinypic.com/2dv0vis.png 
>
> Here's the error log just around there: 
>
> [Fri Jan 28 18:59:00 2011] [error] [client 86.133.73.6] File does not 
> exist: /srv/store/app/htdocs/img/noimage.png, referer: 
> http://www.qwertee.com/profiles/d4n13l/ 
> [Fri Jan 28 18:59:08 2011] [error] [client 81.96.25.38] File does not 
> exist: /srv/store/app/htdocs/img/noimage.png, referer: 
> http://www.qwertee.com/profile/view/808/ 
> [Fri Jan 28 18:59:08 2011] [error] [client 81.96.25.38] File does not 
> exist: /srv/store/app/htdocs/img/noimage.png, referer: 
> http://www.qwertee.com/profile/view/808/ 
> [Fri Jan 28 18:59:24 2011] [error] [client 86.133.73.6] File does not 
> exist: /srv/store/app/htdocs/img/noimage.png, referer: 
> http://qwertee.com/profile/view/323/ 
> [Fri Jan 28 18:59:53 2011] [error] [client 81.96.25.38] File does not 
> exist: /srv/store/app/htdocs/img/noimage.png, referer: 
> http://www.qwertee.com/profile/view/808/ 
> [Fri Jan 28 18:59:57 2011] [error] [client 81.96.25.38] File does not 
> exist: /srv/store/app/htdocs/img/noimage.png, referer: 
> http://www.qwertee.com/profile/view/448/ 
> [Fri Jan 28 19:00:44 2011] [error] [client 87.115.231.27] File does 
> not exist: /srv/store/app/htdocs/img/noimage.png, referer: 
> http://www.qwertee.com/profile/view/808/ 
> [Fri Jan 28 19:00:45 2011] [error] [client 87.115.231.27] File does 
> not exist: /srv/store/app/htdocs/img/noimage.png, referer: 
> http://www.qwertee.com/profile/view/808/ 
> [Fri Jan 28 19:02:25 2011] [error] [client 128.227.146.135] File does 
> not exist: /srv/store/app/store/site_media 
> [Fri Jan 28 19:02:25 2011] [error] [client 128.227.146.135] File does 
> not exist: /srv/store/app/store/site_media 
> [Fri Jan 28 19:02:28 2011] [error] [client 128.227.146.135] File does 
> not exist: /srv/store/app/store/site_media 
> [Fri Jan 28 19:02:28 2011] [error] [client 128.227.146.135] File does 
> not exist: /srv/store/app/store/site_media 
> [Fri Jan 28 19:02:52 2011] [error] [client 86.133.73.6] File does not 
> exist: /srv/store/app/htdocs/img/noimage.png, referer: 
> http://www.qwertee.com/profile/view/323/ 
> [Fri Jan 28 19:03:16 2011] [error] [client 146.187.68.70] File does 
> not exist: /srv/store/app/store/site_media 
> [Fri Jan 28 19:03:20 2011] [error] [client 86.133.73.6] File does not 
> exist: /srv/store/app/htdocs/img/noimage.png, referer: 
> http://www.qwertee.com/profile/view/323/ 
> [Fri Jan 28 19:03:20 2011] [error] [client 86.133.73.6] File does not 
> exist: /srv/store/app/htdocs/img/noimage.png, referer: 
> http://www.qwertee.com/profile/view/323/ 
> [Fri Jan 28 19:03:30 2011] [error] [client 87.115.231.27] File does 
> not exist: /srv/store/app/htdocs/img/noimage.png, referer: 
> http://www.qwertee.com/profile/view/448/ 
> [Fri Jan 28 19:03:31 2011] [error] [client 87.115.231.27] File does 
> not exist: /srv/store/app/htdocs/img/noimage.png, referer: 
> http://www.qwertee.com/profile/view/448/ 
> [Fri Jan 28 19:03:39 2011] [error] [client 81.96.25.38] File does not 
> exist: /srv/store/app/htdocs/img/noimage.png, referer: 
> http://www.qwertee.com/profile/view/808/ 
> [Fri Jan 28 19:03:39 2011] [error] [client 72.35.169.44] File does not 
> exist: /srv/store/app/store/site_media 
> [Fri Jan 28 19:03:56 2011] [error] [client 81.96.25.38] File does not 
> exist: /srv/store/app/htdocs/img/noimage.png, referer: 
> http://www.qwertee.com/profile/view/808/ 
> [Fri Jan 28 19:04:03 2011] [error] [client 81.96.25.38] File does not 
> exist: /srv/store/app/htdocs/img/noimage.png, referer: 
> http://www.qwertee.com/profile/view/448/ 
> [Fri Jan 28 19:04:06 2011] [error] /usr/local/lib/python2.6/dist- 
> packages/django_registration-0.7-py2.6.egg/registration/models.py:4: 
> DeprecationWarning: the sha module is deprecated; use the hashlib 
> module instead 
> [Fri Jan 28 19:04:06 2011] [error]   import sha 
> [Fri Jan 28 19:05:04 2011] [error] [client 189.125.221.100] File does 
> not exist: /srv/store/app/store/site_media 
> [Fri Jan 28 19:05:35 2011] [error] [client 207.46.13.98] File does not 
> exist: /srv/store/app/store/site_media 
> [Fri Jan 28 19:09:39 2011] [error] [client 109.255.105.115] Script 
> timed out before returning headers: django.wsgi 
> [Fri Jan 28 19:09:42 2011] [error] [client 74.68.63.110] Script timed 
> out before returning headers: django.wsgi, referer: 
> http://www.tumblr.com/dashboard/3/2978462125 
> [Fri Jan 28 19:09:49 2011] [error] [client 74.44.237.78] Script timed 
> out before returning headers: django.wsgi 
> [Fri Jan 28 19:09:52 2011] [error] [client 81.96.25.38] Script timed 
> out before returning headers: django.wsgi 
> [Fri Jan 28 19:10:00 2011] [error] [client 109.255.105.115] Script 
> timed out before returning headers: django.wsgi 
> [Fri Jan 28 19:10:08 2011] [error] [client 97.106.72.202] Script timed 
> out before returning headers: django.wsgi, referer: 
> http://www.qwertee.com/profile/view/1819/ 
>
>
> And yesterday it seemed to go down with minimal load on it 
>
> Here's the screenshot: http://i52.tinypic.com/10okxuv.png 
>
> And the error log: 
>
> [Thu Jan 27 17:48:57 2011] [error] [client 84.203.33.174] File does 
> not exist: /srv/store/app/store/site_media 
> [Thu Jan 27 17:49:03 2011] [error] [client 84.203.33.174] File does 
> not exist: /srv/store/app/store/site_media 
> [Thu Jan 27 17:49:09 2011] [error] [client 84.203.33.174] File does 
> not exist: /srv/store/app/store/site_media 
> [Thu Jan 27 17:49:25 2011] [error] [client 84.203.33.174] File does 
> not exist: /srv/store/app/store/site_media 
> [Thu Jan 27 17:49:41 2011] [error] [client 84.203.33.174] File does 
> not exist: /srv/store/app/store/site_media 
> [Thu Jan 27 17:52:38 2011] [error] [client 86.42.216.227] File does 
> not exist: /srv/store/app/store/site_media 
> [Thu Jan 27 17:54:56 2011] [error] [client 92.235.102.30] File does 
> not exist: /srv/store/app/store/site_media 
> [Thu Jan 27 17:55:11 2011] [error] [client 92.235.102.30] File does 
> not exist: /srv/store/app/store/site_media 
> [Thu Jan 27 17:55:20 2011] [error] [client 87.232.81.243] File does 
> not exist: /srv/store/app/store/site_media 
> Suspension not allowed here 
> [Thu Jan 27 17:55:46 2011] [error] /usr/local/lib/python2.6/dist- 
> packages/django_registration-0.7-py2.6.egg/registration/models.py:4: 
> DeprecationWarning: the sha module is deprecated; use the hashlib 
> module instead 
> [Thu Jan 27 17:55:46 2011] [error]   import sha 
> [Thu Jan 27 18:03:28 2011] [error] [client 86.46.36.232] Script timed 
> out before returning headers: django.wsgi, referer: 
>
> http://www.google.ie/url?sa=t&source=web&cd=1&ved=0CBQQFjAA&url=http%3A%2F%2Fwww.qwertee.com%2F&rct=j&q=qwertee&ei=mbFBTeW-HNiAhAfCnsScAg&usg=AFQjCNG-7mWUy7FZ48qRByslAIFDH_uShQ&sig2=EwK10JqTbkCtVCW3_-Wt6Q
>  
> [Thu Jan 27 18:03:43 2011] [error] [client 86.46.36.232] Script timed 
> out before returning headers: django.wsgi, referer: 
>
> http://www.google.ie/url?sa=t&source=web&cd=1&ved=0CBQQFjAA&url=http%3A%2F%2Fwww.qwertee.com%2F&rct=j&q=qwertee&ei=mbFBTeW-HNiAhAfCnsScAg&usg=AFQjCNG-7mWUy7FZ48qRByslAIFDH_uShQ&sig2=EwK10JqTbkCtVCW3_-Wt6Q
>  
> [Thu Jan 27 18:04:23 2011] [error] [client 86.46.36.232] Script timed 
> out before returning headers: django.wsgi, referer: 
>
> http://www.google.ie/url?sa=t&source=web&cd=1&ved=0CBQQFjAA&url=http%3A%2F%2Fwww.qwertee.com%2F&rct=j&q=qwertee&ei=mbFBTeW-HNiAhAfCnsScAg&usg=AFQjCNG-7mWUy7FZ48qRByslAIFDH_uShQ&sig2=EwK10JqTbkCtVCW3_-Wt6Q
>  
> [Thu Jan 27 18:04:23 2011] [error] [client 86.46.36.232] Script timed 
> out before returning headers: django.wsgi, referer: 
>
> http://www.google.ie/url?sa=t&source=web&cd=1&ved=0CBQQFjAA&url=http%3A%2F%2Fwww.qwertee.com%2F&rct=j&q=qwertee&ei=mbFBTeW-HNiAhAfCnsScAg&usg=AFQjCNG-7mWUy7FZ48qRByslAIFDH_uShQ&sig2=EwK10JqTbkCtVCW3_-Wt6Q
>  
> [Thu Jan 27 18:04:23 2011] [error] [client 86.46.36.232] Script timed 
> out before returning headers: django.wsgi, referer: 
>
> http://www.google.ie/url?sa=t&source=web&cd=1&ved=0CBQQFjAA&url=http%3A%2F%2Fwww.qwertee.com%2F&rct=j&q=qwertee&ei=mbFBTeW-HNiAhAfCnsScAg&usg=AFQjCNG-7mWUy7FZ48qRByslAIFDH_uShQ&sig2=EwK10JqTbkCtVCW3_-Wt6Q
>  
> [Thu Jan 27 18:04:24 2011] [error] [client 86.46.36.232] Script timed 
> out before returning headers: django.wsgi, referer: 
>
> http://www.google.ie/url?sa=t&source=web&cd=1&ved=0CBQQFjAA&url=http%3A%2F%2Fwww.qwertee.com%2F&rct=j&q=qwertee&ei=mbFBTeW-HNiAhAfCnsScAg&usg=AFQjCNG-7mWUy7FZ48qRByslAIFDH_uShQ&sig2=EwK10JqTbkCtVCW3_-Wt6Q
>  
> [Thu Jan 27 18:04:24 2011] [error] [client 95.145.8.224] Script timed 
> out before returning headers: django.wsgi 
> [Thu Jan 27 18:04:31 2011] [error] [client 187.1.8.18] Script timed 
> out before returning headers: django.wsgi, referer: 
>
> http://www.facebook.com/l.php?u=http%3A%2F%2Fwww.qwertee.com%2Fproduct%2Flukais%2F&h=6b056
>  
> [Thu Jan 27 18:04:32 2011] [error] [client 199.125.14.2] Script timed 
> out before returning headers: django.wsgi, referer: http://qwertee.com/ 
> [Thu Jan 27 18:04:51 2011] [error] [client 66.249.72.169] Script timed 
> out before returning headers: django.wsgi 
> [Thu Jan 27 18:05:44 2011] [error] [client 71.192.190.209] Script 
> timed out before returning headers: django.wsgi 
>
>
> Any advice would be much appreciated! 
>
> Thanks 
>
>
> On Jan 27, 9:55 pm, Ryan Headley <[email protected]> wrote: 
> > We've had a rather busy Satchmo site up and running for a long time 
> > using Apache and mod_wsgi without any problems.  The only issue we've 
> > seemed to have had thus far is too much traffic and it stifled apache 
> > this morning. 
> > 
> > Error logs may help. 
> > 
> > On Thu, Jan 27, 2011 at 3:23 PM, Alex Robbins 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > <[email protected]> wrote: 
> > > How is the site deployed? We have had similar issues with mod_wsgi and 
> > > fastcgi. They were fixed by switching to gunicorn/nginx. 
> > 
> > > Alex 
> > 
> > > On Thu, Jan 27, 2011 at 3:15 PM, Robert Feely <[email protected]> 
> wrote: 
> > >> Hi Guys, 
> > 
> > >> I've a Satchmo store up and running for about 2 months, which is going 
>
> > >> great except the site has started crashing unexplainably in the past 
> > >> few weeks. 
> > 
> > >> Site is hosted on a Linode, have asked them about it and they can find 
>
> > >> no issue on their end, my web developer says he does not think it is a 
>
> > >> coding error on his end, but this would seem to be a more likely 
> > >> explanation than my Linode being broken:) 
> > 
> > >> Here's a screenshot of my Linode graphs:
> http://i52.tinypic.com/10okxuv.png 
> > >> as you can see the site was not under a lot of strain when it crashed 
> > >> most recently this evening so I don't think it's a traffic issue. 
> > >> Another weird thing is that it seems to crash almost always on the 
> > >> hour which suggests something like a dodgy cron job or something else 
> > >> timed, my site sells products for fixed time periods so it could be 
> > >> something to do with it. 
> > 
> > >> Rebooting the site has fixed it thus far but I really need to get this 
>
> > >> fixed, it's very unprofessional to have a site that keeps going down. 
> > 
> > >> My web developer is not available at the moment so I need someone else 
>
> > >> to look at it/try and work out what the issue is. Am operating on a 
> > >> limited budget but would be happy to pay to get this sorted. 
> > 
> > >> I also have some site improvements I want to make and new features I 
> > >> want to add so this could be a rehearsal for finding a new developer 
> > >> to work with. 
> > 
> > >> Djangopeople is down (great timing) so I'm posting here in the hope of 
>
> > >> finding someone. 
> > 
> > >> Hope to hear from you soon! 
> > 
> > >> Thanks, 
> > >> Robert 
> > 
> > >> -- 
> > >> You received this message because you are subscribed to the Google 
> Groups "Satchmo users" group. 
> > >> To post to this group, send email to [email protected]. 
> > >> To unsubscribe from this group, send email to 
> [email protected]. 
> > >> For more options, visit this group athttp://
> groups.google.com/group/satchmo-users?hl=en. 
> > 
> > > -- 
> > > You received this message because you are subscribed to the Google 
> Groups "Satchmo users" group. 
> > > To post to this group, send email to [email protected]. 
> > > To unsubscribe from this group, send email to 
> [email protected]. 
> > > For more options, visit this group athttp://
> groups.google.com/group/satchmo-users?hl=en. 
> > 
> > --
> http://www.sudovi.com/http://www.twitter.com/lifewithryanhttp://www.thecommontongue.comhttp://www.lifewithryan.com/

-- 
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en.

Reply via email to