[Supervisor-users] reread does not work for eventlistener commands such as memmon
Harald Friessnegger
harald at webmeisterei.com
Mon Feb 1 04:02:51 EST 2010
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?
thanks, fRiSi
--
Webmeisterei GmbH - Büro für Netzfragen
Tel: +43 5572 908877, Fax: +43 5572 908877-66
Steinebach 18, A-6850 Dornbirn
http://www.webmeisterei.com
More information about the Supervisor-users
mailing list