[Supervisor-users] 3.0a8: massive load on server
William Dode
wilk at flibuste.net
Wed Feb 3 11:36:28 EST 2010
On 03-02-2010, Phillip Oldham wrote:
> On 03/02/2010 10:58, Phillip Oldham wrote:
>> I've just upgraded from 3.0a7 to 3.0a8 on my development box, to test
>> stability.
>>
>> I'm experiencing a massive load-average spike when starting supervisord.
>> Whereas my development server was sitting happily at 0.5 (user) with
>> 3.0a7 its now jumping up to 12 (at which point I kill the process),
>> making my box completely unresponsive.
>>
>
> Not entirely sure what's going on with this; having rolled back to 3.0a7
> I'm still seeing the problem.
>
> After a while the load does seem to go back to normal, so I'm assuming
> that its because there are between 10 and 15 python "programs" being
> loaded on boot.
>
> Is there any way I can tell supervisord to take a pause between each
> program start?
>
You could start supervisord without autostart for your apps. And then
after, start them like you want with a script 'supervisorctl start xyz;
sleep...' or with xmlrpc.
You should look more to know where is the problem. I start 30 python
apps without problem on a virtual server (with 2go of ram however...).
A "first_start_delay" option could be interesting...
--
William Dodé - http://flibuste.net
Informaticien Indépendant
More information about the Supervisor-users
mailing list