Automatic Restarts?
Hi All, Zope keeps restarting on its own. Why is it doing this? We are running Zope 2.61. It is really becoming a headache since we are running and eCommerce site. Everytime it restarts you get a Proxy error on the site until it is done. You can imagine how annoying this would be especially to our customers. Can somebody please help? Thanks, Samuel Mateo, Jr. Web Designer www.DinnTrophy.com
On unix systems there is a features to auto-start if it dies (check your z2.py and start scripts). There is nothing I know within Zope that will "Restart" it automatically, so it must be dying and recovering. Check your crons, check your logs, put in debug. BZ
Hi All, Zope keeps restarting on its own. Why is it doing this? We are running Zope 2.61. It is really becoming a headache since we are running and eCommerce site. Everytime it restarts you get a Proxy error on the site until it is done. You can imagine how annoying this would be especially to our customers.
Can somebody please help?
Thanks,
Samuel Mateo, Jr. Web Designer www.DinnTrophy.com
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
prosam@comcast.net wrote Hi All, Zope keeps restarting on its own. Why is it doing this? We are running Zope 2.61. It is really becoming a headache since we are running and eCommerce site. Everytime it restarts you get a Proxy error on the site until it is done. You can imagine how annoying this would be especially to our customers.
What platform? Which version of Python? If it's Unix, try running strace or truss to see why it's exiting. Also, as a stopgap, consider running ZEO, as the client restarts are a lot faster than a full zope restart (or run multiple ZEO clients behind pythondirector or pound or suchlike to give you some failover). Zope _shouldn't_ be restarting like this... Consider also trying Zope 2.6.2 - there's a whole pile of bugfixes in it, although nothing off the top of my head that is directly relevant, unfortunately. :-/ -- Anthony Baxter <anthony@interlink.com.au> It's never too late to have a happy childhood.
Anthony Baxter wrote:
Zope _shouldn't_ be restarting like this...
But it frequently does, in my experience (running out of memory in a hosting account with a 100M process size limit). Samuel, you should look in your event log for error messages at the time of restarts.
Simon Michael wrote:
Anthony Baxter wrote:
Zope _shouldn't_ be restarting like this...
But it frequently does, in my experience (running out of memory in a hosting account with a 100M process size limit).
...only if you haev a hard memory limit imposed like that. There's a thread discussing thign on zope-dev at the moment (title has something about REQUEST and cache size in it, IIRC), and it'd be good to have your input there... cheers, Chris
I would have to say that Zope does not crash often at all. I have a Zope installation with over 100,000 objects that runs on 1.5 GB of RAM and keeps about 40-50% for itself. Zope loves RAM. Give it more ram and it will take it. BZ
Simon Michael wrote:
Anthony Baxter wrote:
Zope _shouldn't_ be restarting like this...
But it frequently does, in my experience (running out of memory in a hosting account with a 100M process size limit).
...only if you haev a hard memory limit imposed like that.
There's a thread discussing thign on zope-dev at the moment (title has something about REQUEST and cache size in it, IIRC), and it'd be good to have your input there...
cheers,
Chris
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
BZ wrote:
I would have to say that Zope does not crash often at all. I have a Zope installation with over 100,000 objects that runs on 1.5 GB of RAM and keeps about 40-50% for itself.
Zope loves RAM. Give it more ram and it will take it.
This is true, but I'd like it not to be. I don't mind Zope getting slow, but ti would be ncie if you coudl say "here's 200Mb, run in that, and don't go over it"... Chris
Chris Withers wrote:
This is true, but I'd like it not to be. I don't mind Zope getting slow, but ti would be ncie if you coudl say "here's 200Mb, run in that, and don't go over it"...
Hi Chris.. ack, I sent a decent little reply today via thunderbird "quick reply" and it's vanished. :( I don't suppose you got it ?
Doh! It's all going wrong.. I will now officially Give Up. Any further posts from me today should be treated with suspicion..
At 9/12/2003 02:16 PM, Samuel Mateo, Jr. wrote [in part]:
Zope keeps restarting on its own. Why is it doing this? We are running Zope 2.61.
I, too, would guess Zope is crashing and restarting. Make sure you have something like this in your command to start Zope: EVENT_LOG_FILE=/zope/var/event.log Then you can check the event.log file to look for clues as to why Zope is behaving that way. Jon Whitener Detroit Michigan USA
On Fri, Sep 12, 2003 at 04:21:42PM -0400, Jon Whitener wrote:
At 9/12/2003 02:16 PM, Samuel Mateo, Jr. wrote [in part]:
Zope keeps restarting on its own. Why is it doing this? We are running Zope 2.61.
I, too, would guess Zope is crashing and restarting. Make sure you have something like this in your command to start Zope:
EVENT_LOG_FILE=/zope/var/event.log
Then you can check the event.log file to look for clues as to why Zope is behaving that way.
I didn't see any such clues when I've had zope use too much memory and get killed by the OS. When that happens, I have to check /var/log/messages. -- Paul Winkler http://www.slinkp.com Look! Up in the sky! It's ANTI BOAT MEGABOT! (random hero from isometric.spaceninja.com)
prosam@comcast.net wrote at 2003-9-12 18:16 +0000:
Zope keeps restarting on its own. Why is it doing this? We are running Zope 2.61. It is really becoming a headache since we are running and eCommerce site. Everytime it restarts you get a Proxy error on the site until it is done. You can imagine how annoying this would be especially to our customers.
Can somebody please help?
Activate Zope logging (--> "doc/LOGGING"), restart Zope and look into the log file. Dieter
participants (8)
-
Anthony Baxter -
BZ -
Chris Withers -
Dieter Maurer -
Jon Whitener -
Paul Winkler -
prosam@comcast.net -
Simon Michael