Hello,

after some tests I've found that, for my environment, 10 process and 3
threads improve my throughput with >0.9 apdex  from 85 req/s to 95 req/s.

but neither changing the mod_wsgi to a newer version or using event mode on
MPM caused any significant changes on this throughput or in the average
response time.

Do you think it is still worth upgrading the version of mod_wsgi and moving
to event mode? Which benefits i receive upgrading  the module and changing
into event mode?

Thank you.


2018-05-17 11:16 GMT-03:00 Leonardo L. P. da Mata <[email protected]>:

>  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?"
>



-- 
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.

Reply via email to