> Hi.
> I have using uWSGI for my web service, it will load some python script
> and python script will load some so library file.
> When I fix some bug, I will replace py and so files, and use command
> line uWSGI --reload parameter to ask uWSGI restart to load updated
> files. It works.
>
> Now I have a question about that if my web service is working as 7*24,
> it will receive request at any time, So what is proper way to update
> my code (py and so files)? Is there any risk that I use --reload
> parameter directly? Thanks!
>
>
> Best Regards
> Jerry
>
>

You may want to check this:

http://uwsgi-docs.readthedocs.org/en/latest/articles/TheArtOfGracefulReloading.html

basically --reload triggers a basic graceful reload, so it may be enough
for your case


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

Reply via email to