Let's say I'm configuring uwsgi to run with 4 processes
And lets say I have some startup code (that should run once - and only
once) loading data to memory in my wsgi.py file as suggested here
<http://eldarion.com/blog/2013/02/14/entry-point-hook-django-projects/>

Would the wsgi.py code would be run everytime a worker process is started
(and restarted)?

I heard a mention about uwsgi "master" process - should I use one and how?
Are there specific configuration options I should use for this?

I'm using uwsgi 2.0.4+,django behind nginx (with unix socket)

I'll be glad for help with this subject

Twitter:@alonisser <https://twitter.com/alonisser>
LinkedIn Profile <http://www.linkedin.com/in/alonisser>
Facebook <https://www.facebook.com/alonisser>
*Tech blog:*https://medium.com/@alonisser
*Personal Blog:*degeladom.wordpress.com
Tel:972-54-6734469
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to