/bin/uwsgi \
-s 127.0.0.1:19001 \
-d path-to-log-file.log \
-M \
--pidfile pid-file-path.pid \
--vacuum \
--idle 300 \
-p 1 \
--pythonpath api-server-home-path \
--pythonpath /home/user/current/lib/python2.6/site-packages \
--pythonpath /usr/lib/python2.6/site-packages \
--chdir server-home-dir-path \
--env MYAPP_CONFIG_FILE=$MYAPP_CONFIG_FILE \
--module myapp.webapi
Please help.
Thank you,
Vitaly
I have never used haigha, but the only thing popping in my mind is not
taking in account uWSGI fork() usage. If you create a Queue in
myapp.webappi module (so in the master), it will not be usable by the
workers. Try adding --lazy, if it works i suggest you to upgrade to uWSGI
1.3 and use --lazy-apps (load apps like in lazy mode but maintains the
non-lazy behaviour for all of the other uWSGI parts)
--
Roberto De Ioris
http://unbit.it
Can you write a tiny test-script to allow me to reproduce the problem ?
Have you tried with uWSGI 1.3 (there are a bunch of optimizations
gevent-related, maybe it contains some fix i forgot to backport...) ?
--
Roberto De Ioris
http://unbit.it