[Supervisor-users] reread does not work for eventlistener commands such as memmon
Chris McDonough
chrism at plope.com
Mon Feb 1 12:03:48 EST 2010
On 2/1/10 4:02 AM, Harald Friessnegger wrote:
> hi there
>
>
> the reread command in supervisorctl seems not to recognize changes in
> eventlistener sections.
>
> this is especially annoying when you are trying to parameterise when it's best
> to restart a specific zope instance.
>
> usually you try it with 700 -> your machine runs out of memory before memmon
> restarts the instance
> you try 600, everything runs smoothly for one week, but your instance is
> restarted twice a day, so you try 650. etc....
>
> currently changing the command's parameter from 600 to 700 does not get
> recognized by supervisor, so i need to restart supervisor which means i need
> to restart all processes controlled by supervisor just to run memmon with
> other parameters.
>
>
> here's the corresponding config section::
>
> [eventlistener:MemmonZope1]
> command = /home/zope/project/bin/memmon -p instance1=600MB
> events = TICK_60
> process_name=MemmonZope1
> environment=SUPERVISOR_USERNAME=admin,SUPERVISOR_PASSWORD=admin,SUPERVISOR_SERVER_URL=http://127.0.0.1:9002
>
>
> i'm using supervisor-3.0a7 and superlance-0.5
>
> am i missing something or should this be considered a bug?
Maybe. Supervisor 3.0a8 is out now. Maybe you could try that.
- C
More information about the Supervisor-users
mailing list