WSGIRestrictEmbedded On is there. I will do the tests with different configuration for apache and the number of process and threads that you suggested.
Thanks 2018-05-16 23:29 GMT-03:00 Graham Dumpleton <[email protected]>: > > > > On 17 May 2018, at 6:06 am, Leonardo L. P. da Mata <[email protected]> wrote: > > I'm using it in Daemon mode: > > WSGIDaemonProcess wsgi processes=40 threads=1 display-name=%{GROUP} \ > > > Using 40 processes seems excessive. What sort of throughput and response times you need to handle. > > Try dropping number of processes as low as 5-10 processes and use 2-3 threads per process. > > python-home=/opt/python/run/venv/ \ > python-path=/opt/python/current/app:/opt/python/run/venv/lib64/python2.7/site-packages:/opt/python/run/venv/lib/python2.7/site-packages user=wsgi group=wsgi \ > > > This should be just: > > python-path=/opt/python/current/app > > You shouldn't need to add the site-packages directory as python-home deals with that. > > > home=/opt/python/current/app > WSGIProcessGroup wsgi > > and apache is with prefork: > > > -- Leonardo Luiz Padovani da Mata [email protected] "May the force be with you, always" "Nerd Pride... eu tenho. Voce tem?" -- You received this message because you are subscribed to the Google Groups "modwsgi" 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/modwsgi. For more options, visit https://groups.google.com/d/optout.
