Re: [Zope3-Users] Stability problem of zope3

2008-03-11 Thread Jim Fulton
On Mar 11, 2008, at 11:33 AM, Yuan HOng wrote: ... The zope.server seems to give the best result. It causes the least failed requests due to the Competing writes/reads conflict, like: This is simply because the cherrypy server defaults to 10 threads, while zope.server defaults to 4. If you

Re: [Zope3-Users] Stability problem of zope3

2008-03-11 Thread Yuan HOng
Hi, Thanks for the various advises previously. I have experimented with different wsgi servers: zope.server#main Paste#http PasteScript#cherrypy PasteScript#twisted and put them under some load: ab -c 20 The zope.server seems to give the best result. It causes the least failed requests due to t

Re: [Zope3-Users] Stability problem of zope3

2008-03-04 Thread Jim Fulton
On Mar 4, 2008, at 11:01 AM, Martijn Faassen wrote: Hey, On Tue, Mar 4, 2008 at 3:26 PM, Jim Fulton <[EMAIL PROTECTED]> wrote: On Mar 4, 2008, at 1:52 AM, Yuan HOng wrote: [snip] Are there any preferred way to set up a production environment now? zope.server is fairly well proven. I'd l

Re: [Zope3-Users] Stability problem of zope3

2008-03-04 Thread Martijn Faassen
Hey, On Tue, Mar 4, 2008 at 3:26 PM, Jim Fulton <[EMAIL PROTECTED]> wrote: > > On Mar 4, 2008, at 1:52 AM, Yuan HOng wrote: [snip] > > Are there any preferred > > way to set up a production environment now? > > zope.server is fairly well proven. I'd like to see people try the > cherrypy serv

Re: [Zope3-Users] Stability problem of zope3

2008-03-04 Thread Jim Fulton
On Mar 4, 2008, at 1:52 AM, Yuan HOng wrote: ... So you mean I can also use the zope.server? Yes, or the cherrypy server, which seems to be much faster. Are there any preferred way to set up a production environment now? zope.server is fairly well proven. I'd like to see people try the

Re: [Zope3-Users] Stability problem of zope3

2008-03-04 Thread Yuan HOng
I also noticed that on my production server, there are multiple process of zdaemon running, 3 exactly: root 23550 1 0 22:05 ?00:00:00 /usr/bin/python2.5 bin/homemaster-ctl -S /root/app/eggs/zdaemon-2.0.1-py2.5.egg/zdaemon/schema.xml -C zdaemon.conf bin/paster serve deploy.ini root

Re: [Zope3-Users] Stability problem of zope3

2008-03-03 Thread Yuan HOng
On Mon, Mar 3, 2008 at 10:08 PM, Jim Fulton <[EMAIL PROTECTED]> wrote: > > On Mar 3, 2008, at 4:00 AM, Jodok Batlogg wrote: > ... > > > paster opens a lot of threads. > > That's odd. That must depend on the server used. The zope.server > server factory uses 4 by default. The cherrypy server

Re: [Zope3-Users] Stability problem of zope3

2008-03-03 Thread Christophe Combelles
Yuan HOng a écrit : I've heard of the KGS concetp but don't know how to apply it to zopeproject. You can use the versions of the kgs by writing this in your buildout.cfg: [buildout] extends = http://download.zope.org/zope3.4/versions.cfg versions = versions --

Re: [Zope3-Users] Stability problem of zope3

2008-03-03 Thread Jodok Batlogg
On 03.03.2008, at 15:08, Jim Fulton wrote: On Mar 3, 2008, at 4:00 AM, Jodok Batlogg wrote: ... paster opens a lot of threads. That's odd. That must depend on the server used. The zope.server server factory uses 4 by default. The cherrypy server uses 10. you should limit them... sp

Re: [Zope3-Users] Stability problem of zope3

2008-03-03 Thread Jim Fulton
On Mar 3, 2008, at 4:00 AM, Jodok Batlogg wrote: ... paster opens a lot of threads. That's odd. That must depend on the server used. The zope.server server factory uses 4 by default. The cherrypy server uses 10. you should limit them... specify sth. like: [server:main] threadpool_wor

Re: [Zope3-Users] Stability problem of zope3

2008-03-03 Thread Jim Fulton
What's in your paste.ini (or whatever the past configuration file is named). I'm particularly curious which server you're running and how it is configured. Jim -- Jim Fulton Zope Corporation ___ Zope3-users mailing list Zope3-users@zope.org ht

Re: [Zope3-Users] Stability problem of zope3

2008-03-03 Thread Jodok Batlogg
On 03.03.2008, at 09:18, Yuan HOng wrote: On 3/3/08, Andreas Jung <[EMAIL PROTECTED]> wrote: The official Python version for Zope 3.3/3.4 is Python 2.4, not 2.5. Andreas OK. I will try Python2.4 first, though in my development installation using also Python2.5 but will different versions o

Re: [Zope3-Users] Stability problem of zope3

2008-03-03 Thread Yuan HOng
On 3/3/08, Andreas Jung <[EMAIL PROTECTED]> wrote: > > The official Python version for Zope 3.3/3.4 is Python 2.4, not 2.5. > > Andreas > OK. I will try Python2.4 first, though in my development installation using also Python2.5 but will different versions of packages (because I ran zopeproject at

Re: [Zope3-Users] Stability problem of zope3

2008-03-02 Thread Andreas Jung
--On 3. März 2008 11:16:24 +0800 Yuan HOng <[EMAIL PROTECTED]> wrote: Hi, I have jsut moved a production site from Zope2 to Zope3. I used zopeproject to download the necessary eggs and started my site using paste serve deploy.ini. Under moderate traffic however, the site stops responding soo

[Zope3-Users] Stability problem of zope3

2008-03-02 Thread Yuan HOng
Hi, I have jsut moved a production site from Zope2 to Zope3. I used zopeproject to download the necessary eggs and started my site using paste serve deploy.ini. Under moderate traffic however, the site stops responding soon. I have to regularily restart the server. When the site stops responding