I have limited experience with ProxyPass. I have many Zope installations (2.1.4, 2.1.6, 2.2.0b2, 2.2.0) on all sorts of different hardware configurations (all RH Linux) and non of them are slow. Most are running just plain ZServer but one (and the most hit) is running behind Apache with Zope.cgi. I suggest trying that and seeing if it makes a difference. J
From: Christiano Anderson <neptune@zaz.com.br> Date: Thu, 17 Aug 2000 14:36:42 -0300 (BRT) To: "J. Atwood" <jatwood@bwanazulia.com> Cc: zope@zope.org Subject: Re: [Zope] Zope is very slow!
Hi J,
Thanks a lot for replying my message! :)
Do you have any example of the best Apache and ProxyCache configuration to running zope?
My configuration looks like this:
<IfModule mod_proxy.c> ProxyRequests On #ProxyReceiveBufferSize 65536 ProxyReceiveBufferSize 0 CacheRoot "/www/proxycache" CacheSize 5000 CacheGcInterval 1 CacheMaxExpire 48 CacheLastModifiedFactor 0.1 CacheDefaultExpire 5 ProxyPass /paginas/ http://200.xxx.xxx.xxx:8080/ ProxyPass /p_/ http://200.xxx.xxx.xxx:8080/p_/ ProxyPass /misc_/ http://200.xxx.xxx.xxx:8080/misc_/ ProxyPassReverse /paginas/ http://200.xxx.xxx.xxx:8080/ ProxyPassReverse /p_/ http://200.xxx.xxx.xxx:8080/p_/ ProxyPassReverse /misc_/ http://200.xxx.xxx.xxx:8080/misc_/
The TOP result is:
Memory: 2048M real, 524M free, 7184K swap in use, 2041M swap free
PID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND 8035 nobody 11 31 0 13M 13M cpu0 174:10 29.70% python
Only the Zope pages are slowly... The Apache is working properly...
Thanks a lot for any help,
Christiano
On Thu, 17 Aug 2000, J. Atwood wrote:
Hi Christiano (nice first message... :) )
First of all, lets define slow. What does slow mean? Have you tested it with AB (apachebench)? You sure it is not your connection? Watched it in TOP? My guess is that with 2.1.6 (straight) on that system you should be able to get about 200 requests per second which is not SLOW at all.
Check your Apache, Proxycache and SiteAccess my guess it is there.
Turn off debugging.
Upgrade to 2.2.1 (60% faster on dual processors).
Take a look at
http://www.zope.org/Members/BwanaZulia/benchmarks.html to get an idea of what you system should be doing.
Just some suggestions.
J
From: Christiano Anderson <neptune@zaz.com.br> Date: Thu, 17 Aug 2000 11:12:00 -0300 (BRT) To: zope@zope.org Subject: [Zope] Zope is very slow!
Hi,
This is my first message to the list...
I'm currently running Zope 2.1.6 + Apache 1.3.12 (with proxycache). The system is a Solaris 5.6 on a E450 with 2GB Ram and 2 X 450mhz...
The Zope is running with Apache, using the ProxyCache and SiteAccess to convert all requests from port 8080 to 80.
My problem is: The system is *too slowly*!
Does anyone know how to optimize the Zope to run quicker? Is there anything wrong with this configuration??
Thanks a lot,
Christiano Anderson
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )