hey,

on latest RC2, --touch-reload is failing when more than one is
specified, and continuously restarts thinking the second defined file
was touched.

reproduce (x86_64):

---------------------------------------------------------
# python2 uwsgiconfig.py --build
[...]

# cat itcorp.ini
[uwsgi]
master = true
processes = 2
http-socket = :8000
auto-procname = true
log-micros = true
module = itcorp
callable = app
touch-reload = .
touch-reload = itcorp.py
touch-reload = itcorp.ini
touch-reload = ldaputil.py

# ./uwsgi --ini itcorp.ini
[uWSGI] getting INI configuration from itcorp.ini
*** Starting uWSGI 1.1 (64bit) on [Wed Mar 14 11:13:29 2012] ***
compiled with version: 4.6.3 on 14 March 2012 09:59:00
[...]
spawned uWSGI worker 2 (pid: 22699, cores: 1)
*** itcorp.py has been touched... grace them all !!! ***
...gracefully killing workers...
Gracefully killing worker 2 (pid: 22699)...
[...]
spawned uWSGI worker 2 (pid: 22701, cores: 1)
*** itcorp.py has been touched... grace them all !!! ***
...gracefully killing workers...
Gracefully killing worker 2 (pid: 22701)...
[...]
spawned uWSGI worker 2 (pid: 22703, cores: 1)
*** itcorp.py has been touched... grace them all !!! ***
...gracefully killing workers...
Gracefully killing worker 2 (pid: 22703)...
[... repeat ...]

---------------------------------------------------------

... is this already known/in latest tip, and I missed the discussion?

thanks!

--

C Anthony
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to