You can see my post about it, and get all the files at:
http://coderseye.com/2010/how-to-run-sandboxed-django-sites-in-production.html


On Tue, Jan 12, 2010 at 3:33 PM, Kyle Bassett <[email protected]> wrote:

> Hello Bruce,
>
> I think it would be great if you could make an additional wiki page or the
> like for the Supervisor scripts.  I know it's something I am also interested
> in, and I'm sure I wouldn't be the only one.
>
> Just a thought....would anyone else like to see them as well?
>
> -Kyle Bassett
>
>
>
> On Tue, Jan 12, 2010 at 3:41 PM, Bruce Kroeze <[email protected]> wrote:
>
>> On Tue, Jan 12, 2010 at 12:12 PM, [email protected] <
>> [email protected]> wrote:
>>
>>> Just want to ask those on this list if they have ever come across a
>>> situation like what I have?  I have nearly 80 Satchmo websites running
>>> on similar servers.  I'm running the sites with Lighttpd + FastCGI. Of
>>> the 80 or so Satchmo sites, there are three or four runfcgi processes
>>> that randomly die, sometimes several times an hour.
>>>
>>
>>
>>> Has anyone else run into this situation?  If so, what have you done to
>>>
>>> solve or address the issue?
>>>
>>>
>> I do have one like that.  It is so frustrating!  I also have that happen
>> to my Django (not Satchmo) site http://invisiblecastle.com, which gets
>> one heck of a lot of traffic.  I think it is a DB race condition, but can't
>> prove it.
>>
>> However, I don't have any which that happens to which are running on the
>> latest code, and never on Python 2.5+ (come to think of it).  Since moving
>> Invisible Castle to SliceHost, it hasn't gone down once.
>>
>> On my new server at SliceHost, I am running all the Django daemons inside
>> of "Supervisor", which is an absolutely fantastic Python daemon monitor app
>> (installable via pip or easy_install).  I'm using the "Superlance" plugin
>> for Supervisor, which gives me an http "ping" command.  If the server
>> doesn't respond with whatever I tell Superlance it should look for,
>> Supervisor emails me and restarts the daemon.  Very very nice, the best
>> solution I've found in years.
>>
>> I also like that Supervisor tracks uptime, and has both a command line and
>> an optional web front end for stats and restarting supervised processes.
>>
>> In fact, I was just working on a blog entry about my new solution.  I'll
>> be happy to share my supervisor control scripts with you Daniel, just write
>> me direct.
>>
>> --
>> Bruce Kroeze
>> http://www.ecomsmith.com
>> It's time to hammer your site into shape.
>>
>> --
>> 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]<satchmo-users%[email protected]>
>> .
>>
>> For more options, visit this group at
>> http://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]<satchmo-users%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/satchmo-users?hl=en.
>
>


-- 
Bruce Kroeze
http://www.ecomsmith.com
It's time to hammer your site into shape.
--
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