I'm not sure if this was the problem, but I'm pretty sure the
last supervisor upgrade either broke or dropped support for the
environment syntax that doesn't use quotes around the env values.

I had to change lines like this:

   environment=KEY=val,...

to this:

   environment=KEY='val',...

dave


Chris Shenton wrote:
> On Oct 3, 2009, at 10:46 AM, Chris Shenton wrote:
>>> [eventlistener:MemmonAll]
>>> command = /usr/local/cshenton/Projects/cjp/svn-buildout/bin/memmon - 
>>> a 100MB
>>> events = TICK_60
>>> process_name=MemmonAll
>>> environment =  
>>> SUPERVISOR_USERNAME 
>>> =nfw,SUPERVISOR_PASSWORD=nfw,SUPERVISOR_SERVER_URL=http://localhost:9001
> mcdonc pointed me at the -edebug flag to supervisord, which showed  
> that memmon was repeatly dying on a bad xmlrpc response. commenting  
> out that environment=... line prevented that.
> 
> So I replaced the collective.recipe.supervisor with a manual install  
> and templated config like so:
> 
> [supervisor]
> recipe = zc.recipe.egg
> eggs =
>          supervisor
>          superlance
> 
> [supervisor_conf]
> recipe = collective.recipe.template
> input = templates/supervisord.conf.in
> output = ${buildout:directory}/etc/supervisord.conf
> PORT = 9001
> MEMMON_FLAGS= -a 350MB -m i...@example.com
> 
> 
> _______________________________________________
> Supervisor-users mailing list
> Supervisor-users@lists.supervisord.org
> http://lists.supervisord.org/mailman/listinfo/supervisor-users
> 

_______________________________________________
Supervisor-users mailing list
Supervisor-users@lists.supervisord.org
http://lists.supervisord.org/mailman/listinfo/supervisor-users

Reply via email to