ZServer Must Be Continually Re-Started
Hi; I'm still having problems with ZServer quitting on me on a whim. Can someone help me figure out how to trouble-shoot this? I just installed the latest distro, so it's not the *old bug* that plagued earlier versions. TIA, BenO
I can try to help, but I'm not sure where to start. First of all, when you say ZServer quits on you, do you mean that Zope stops running? Is there an error? What platform are you running on? Do you have debug logging turned on? (ie. do you have the STUPID_LOG_FILE environment variable set up)? If so, is there anything in the log? I'm afraid it'll be too slow for us to trade "do this, then do that" messages to troubleshoot this problem, so hopefully you'll be able to (over the next few days): - turn on debug logging (look for STUPID_LOG_FILE). Look at the log and see if anything is in there when a quit happens. - try to establish a pattern for the quits (time of day, heavy load, after a method is run, etc.) - get any other information related to the Zope process on the machine at quit time (is there a core file? is the process still running when ZServer 'quits' or does it actually go away?) Please report back any findings to the list. Thanks! HTH, - C Ben Ocean wrote:
Hi; I'm still having problems with ZServer quitting on me on a whim. Can someone help me figure out how to trouble-shoot this? I just installed the latest distro, so it's not the *old bug* that plagued earlier versions. TIA, BenO
_______________________________________________ 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 )
At 08:21 PM 5/10/2001 -0400, you wrote:
I can try to help, but I'm not sure where to start.
First of all, when you say ZServer quits on you, do you mean that Zope stops running? Is there an error?
HTTP 404
What platform are you running on?
RH6.2
Do you have debug logging turned on? (ie. do you have the STUPID_LOG_FILE environment variable set up)? If so, is there anything in the log?
No, I don't have it turned on. How do I do this? I just searched zope.org for the above and found next to nothing, and nothing useful.
I'm afraid it'll be too slow for us to trade "do this, then do that" messages to troubleshoot this problem, so hopefully you'll be able to (over the next few days):
- turn on debug logging (look for STUPID_LOG_FILE). Look at the log and see if anything is in there when a quit happens.
- try to establish a pattern for the quits (time of day, heavy load, after a method is run, etc.)
- get any other information related to the Zope process on the machine at quit time (is there a core file? is the process still running when ZServer 'quits' or does it actually go away?)
Please report back any findings to the list. Thanks!
Will do. TIA, BenO
Ben Ocean wrote:
At 08:21 PM 5/10/2001 -0400, you wrote:
I can try to help, but I'm not sure where to start.
First of all, when you say ZServer quits on you, do you mean that Zope stops running? Is there an error?
HTTP 404
Do you mean to say that every time Zope tries to serve a page that doesn't exist that ZServer stops running?
Do you have debug logging turned on? (ie. do you have the STUPID_LOG_FILE environment variable set up)? If so, is there anything in the log?
No, I don't have it turned on. How do I do this? I just searched zope.org for the above and found next to nothing, and nothing useful.
http://www.google.com/search?q=STUPID_LOG_FILE basically, set an environment variable named STUPID_LOG_FILE to the name of the file where you'd like debug info to go. On UNIX, add the following to your Zope's "start" file: export STUPID_LOG_FILE=var/debug.log A file will be created in the var directory of that Zope instance when Zope is run named "debug.log". It will collect messages related to Zope operation. Some will be meaningful, some less so. ;-) - C
When you search zope.org it's often better to use the Google Search box at http://www.zope.org/SiteIndex/searchForm. If you enter STUPID_LOG_FILE in the Google box, you'll get a lot of results. I got 68 when I tried.
Do you have debug logging turned on? (ie. do you have the STUPID_LOG_FILE environment variable set up)? If so, is there anything in the log?
No, I don't have it turned on. How do I do this? I just searched zope.org for the above and found next to nothing, and nothing useful.
participants (3)
-
Ben Ocean -
Chris McDonough -
Loren Stafford