> On Mon, Oct 09, 2017 at 06:58:51AM +0200, Roberto De Ioris wrote:

>>
>> It looks like you are having a prefork issue. Just add lazy-apps to the
>> options to have a more 'friendly' setup for sqlalchemy pool
>
> Thanks, I'll try that.  Using the above XML configuration file, that
> would be <lazy-apps>yes</lazy-apps> or how would I configure this?


yes, or directly <lazy-apps/>



>
> Also, do you have suggestions for further reading?  This blog seems like
> a good start:
>
>   http://zarnovican.github.io/2016/02/15/uwsgi-graceful-reload/


that post is a practical guide based on this one:
http://uwsgi-docs.readthedocs.io/en/latest/articles/TheArtOfGracefulReloading.html

so reading both will be absolutely useful. Just remember that each app
will have different reload requirements.



-- 
Roberto De Ioris
http://unbit.com
_______________________________________________
uWSGI mailing list
uWSGI@lists.unbit.it
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to