Hello,

1) My opinion is that uwsgi is difficult without offering any equivalent
advantage. The WSGI server I usually recommend is Gunicorn. I've explained this
in Which WSGI server should I use?
<https://djangodeployment.com/2017/01/02/which-wsgi-server-should-i-use/> If you
start Gunicorn with the --reload option, it automatically reloads files when
changed.

2) However, I don't recommend to change WSGI server just for this reason,
especially if mod_wsgi also has this functionality.

Regards,

A.

Antonis Christofides
http://djangodeployment.com


On 2017-03-13 15:46, Thiago Parolin wrote:
> Thanks a lot to all!
> I will try uwsgi and i will read about mod_wsgi to know who is the best to my
> needs and will solve my problem.
>
>
> 2017-03-13 10:29 GMT-03:00 Avraham Serour <[email protected]
> <mailto:[email protected]>>:
>
>     you may use uwsgi and tell uwsgi to gracefully reload, it won't even close
>     any eventual tcp sockets, they will wait until the new code is loaded,
>     users will never now you reloaded the application
>
>     On Mon, Mar 13, 2017 at 3:25 PM, Thiago Parolin <[email protected]
>     <mailto:[email protected]>> wrote:
>
>         We have a small webserver that is used by many projects (php) from
>         many users.
>         Now, i am hosting a django project.
>
>         The problem is:
>          - when user changed some file in his project, the apache continues
>         serving old file until restart the httpd service.
>          - the users don't have sudo access, and i don't want to give this
>         power to them.
>
>         How can i make apache identify changes without restart?
>         I never had this problem with php before, and i am totally new to
>         django...
>         Sorry if this question is more about apache than django.
>         Thanks.
>         -- 
>         You received this message because you are subscribed to the Google
>         Groups "Django users" group.
>         To unsubscribe from this group and stop receiving emails from it, send
>         an email to [email protected]
>         <mailto:[email protected]>.
>         To post to this group, send email to [email protected]
>         <mailto:[email protected]>.
>         Visit this group at https://groups.google.com/group/django-users
>         <https://groups.google.com/group/django-users>.
>         To view this discussion on the web visit
>         
> https://groups.google.com/d/msgid/django-users/CACTnJ00E8bUSWxW_9-VrDb_ikfJ_tzSXWgrq431OWGhsvd8gkg%40mail.gmail.com
>         
> <https://groups.google.com/d/msgid/django-users/CACTnJ00E8bUSWxW_9-VrDb_ikfJ_tzSXWgrq431OWGhsvd8gkg%40mail.gmail.com?utm_medium=email&utm_source=footer>.
>         For more options, visit https://groups.google.com/d/optout
>         <https://groups.google.com/d/optout>.
>
>
>     -- 
>     You received this message because you are subscribed to the Google Groups
>     "Django users" group.
>     To unsubscribe from this group and stop receiving emails from it, send an
>     email to [email protected]
>     <mailto:[email protected]>.
>     To post to this group, send email to [email protected]
>     <mailto:[email protected]>.
>     Visit this group at https://groups.google.com/group/django-users
>     <https://groups.google.com/group/django-users>.
>     To view this discussion on the web visit
>     
> https://groups.google.com/d/msgid/django-users/CAFWa6tKSutXH-oJA5q9d6mvRyncUwbssqbSYZb5gDpQFqRbEHw%40mail.gmail.com
>     
> <https://groups.google.com/d/msgid/django-users/CAFWa6tKSutXH-oJA5q9d6mvRyncUwbssqbSYZb5gDpQFqRbEHw%40mail.gmail.com?utm_medium=email&utm_source=footer>.
>     For more options, visit https://groups.google.com/d/optout
>     <https://groups.google.com/d/optout>.
>
>
> -- 
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected]
> <mailto:[email protected]>.
> To post to this group, send email to [email protected]
> <mailto:[email protected]>.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CACTnJ0022vt9bs4L-v%3DkHMvrAXBRR9LGE0-K2jeT38_0WP0uig%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CACTnJ0022vt9bs4L-v%3DkHMvrAXBRR9LGE0-K2jeT38_0WP0uig%40mail.gmail.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/b5c502d5-1db2-0d07-aef6-0a70320f6b2b%40djangodeployment.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to