should my Zope site have multiple instances of pcgi-wrapper running? running?
subject says it all really, I have a server that is hosting three different sites (from Apache ReWrite rules) and I'm seeing this sort of thing; nobody 23793 2349 0 11:50:07 ? 0:01 /home/zope/NLE_SITES/pcgi/pcgi-wrapper /home/zope/NLE_SITES/Zope.cgi nobody 24396 2476 0 11:55:39 ? 0:00 /home/zope/NLE_SITES/pcgi/pcgi-wrapper /home/zope/NLE_SITES/Zope.cgi nobody 23816 2308 0 11:51:11 ? 0:00 /home/zope/NLE_SITES/pcgi/pcgi-wrapper /home/zope/NLE_SITES/Zope.cgi with this from 'top' PID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND 23793 nobody 1 33 0 34M 34M sleep 0:00 0.02% Zope.cgi This is with a 6 Megabyte database. Is this normal? Would I be better off splitting the sites to use different instances of Zope? tone ------ Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5888 Fingerprint: 3450 876D FA41 B926 D3DD F8C3 F2D0 C3B9 8B38 18A2
On Thu, 17 Feb 2000, Tony McDonald wrote:
subject says it all really, I have a server that is hosting three different sites (from Apache ReWrite rules) and I'm seeing this sort of thing;
nobody 23793 2349 0 11:50:07 ? 0:01 /home/zope/NLE_SITES/pcgi/pcgi-wrapper /home/zope/NLE_SITES/Zope.cgi nobody 24396 2476 0 11:55:39 ? 0:00 /home/zope/NLE_SITES/pcgi/pcgi-wrapper /home/zope/NLE_SITES/Zope.cgi nobody 23816 2308 0 11:51:11 ? 0:00 /home/zope/NLE_SITES/pcgi/pcgi-wrapper /home/zope/NLE_SITES/Zope.cgi
These are just simultaneous connections. For every connection Zope starts a new thread - up to 7 threads. It is pretty normal. <PLUG> Why not use mod_pcgi2 - Apache module to replace pcgi-wrapper? </PLUG> Oleg. ---- Oleg Broytmann Foundation for Effective Policies phd@phd.russ.ru Programmers don't die, they just GOSUB without RETURN.
At 12:24 pm +0000 17/2/00, Oleg Broytmann wrote:
These are just simultaneous connections. For every connection Zope starts a new thread - up to 7 threads. It is pretty normal.
<PLUG> Why not use mod_pcgi2 - Apache module to replace pcgi-wrapper? </PLUG>
Oleg.
Sorry for the late reply Oleg, thanks for the clarification. I'll look at mod_pcgi2 for some of my Zope sites, but for one or two, I'm thinking of going to ZServer for the additional performance boost. (I believe that using ZServer has additional benefits that the Apache-Zope solution doesn't have). cheers tone. ------ Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5888 Fingerprint: 3450 876D FA41 B926 D3DD F8C3 F2D0 C3B9 8B38 18A2
On Fri, 18 Feb 2000, Tony McDonald wrote:
I'll look at mod_pcgi2 for some of my Zope sites, but for one or two, I'm thinking of going to ZServer for the additional performance
But then you don't need pcgi-wrapper at all, right? :)
boost. (I believe that using ZServer has additional benefits that the Apache-Zope solution doesn't have).
And vice versa - running under Apache may give additional benefits - fast access to static files/images, virtual hosting. Oleg. ---- Oleg Broytmann Foundation for Effective Policies phd@phd.russ.ru Programmers don't die, they just GOSUB without RETURN.
participants (2)
-
Oleg Broytmann -
Tony McDonald