[Zope-dev] Zope server hanging

2001-10-19 Thread Stefane Fermigier
Hi, I've sent this message yesterday to the EuroZope list but got not conclusive answer: The eurozope.org Zope instance was down again this morning due to the same recurring problem as last week: 2001-10-18T02:32:52 ERROR(200) ZServer uncaptured python exception, closing channel (exceptions.

Re: [Zope-dev] Zope Server hanging :-(

2001-06-06 Thread Erik Enge
On Wed, 6 Jun 2001, Richard Jones wrote: > http://www.zope.org/Members/anthony/BarewordExcepts > > Feel free to find the bad except: and submit a patch... Ugh. There are tons of them... I'll see what I have time for. ___ Zope-Dev maillist -

Re: [Zope-dev] Zope Server hanging :-(

2001-06-06 Thread Richard Jones
On Wednesday 06 June 2001 18:03, Erik Enge wrote: > On Wed, 6 Jun 2001 [EMAIL PROTECTED] wrote: > > ... at least then we know what the exception is. > > > > Again - try that code in an interactive interpreter if you really want to > > find out what's going on... > > Yeah, thanks, that would work a

Re: [Zope-dev] Zope Server hanging :-(

2001-06-06 Thread Erik Enge
On Wed, 6 Jun 2001 [EMAIL PROTECTED] wrote: > ... at least then we know what the exception is. : > Again - try that code in an interactive interpreter if you really want to > find out what's going on... Yeah, thanks, that would work as a workaround, but isn't this buggish behaviour? _

Re: [Zope-dev] Zope Server hanging :-(

2001-06-05 Thread richard
Dieter Maurer wrote: > > > Erik Enge wrote: > > > On Sun, 29 Apr 2001, Erik Enge wrote: > > > I figured it out, I think. Let's say I have these two methods: > > > > > > def a(): > > > b() > > > > > > def b(): > > > a() > > > > > > If I call a(), then Zope dies and re

Re: [Zope-dev] Zope Server hanging :-(

2001-06-05 Thread Dieter Maurer
> Erik Enge wrote: > > On Sun, 29 Apr 2001, Erik Enge wrote: > > I figured it out, I think. Let's say I have these two methods: > > > > def a(): > > b() > > > > def b(): > > a() > > > > If I call a(), then Zope dies and restarts without giving me any error > > at

Re: [Zope-dev] Zope Server hanging :-(

2001-06-05 Thread richard
Erik Enge wrote: > On Sun, 29 Apr 2001, Erik Enge wrote: > I figured it out, I think. Let's say I have these two methods: > > def a(): > b() > > def b(): > a() > > If I call a(), then Zope dies and restarts without giving me any error > at all. Anyone got a clue? There are

Re: [Zope-dev] Zope Server hanging :-(

2001-06-05 Thread Erik Enge
On Sun, 29 Apr 2001, Erik Enge wrote: > I'll try to do an hour or so of analysing this tomorrow, and I'll get back > to you. :-) Well, now we all know what vikings believe "an hour or so" mean, don't we? I figured it out, I think. Let's say I have these two methods: def a(): b() d

Re: [Zope-dev] Zope Server hanging :-(

2001-05-03 Thread Chris McDonough
Michel Pelletier wrote: > > > > Those of you who are interested in looking at it, check out the > > ever-growing Zope Developer's Guide (shame on you if you haven't read > > it!). > > Ok, well maybe not shame considering you have to check it out of CVS. ;0 Just for folks who aren't following clo

Re: [Zope-dev] Zope Server hanging :-(

2001-05-03 Thread Michel Pelletier
On Thu, 3 May 2001, Michel Pelletier wrote: > On Thu, 3 May 2001, Chris McDonough wrote: > > > It's no problem, especially as Michel had insomnia last night and did > > it. ;-) > > My best stuff comes out when I can't sleep. > > Those of you who are interested in looking at it, check out the

Re: [Zope-dev] Zope Server hanging :-(

2001-05-03 Thread Michel Pelletier
On Thu, 3 May 2001, Chris McDonough wrote: > It's no problem, especially as Michel had insomnia last night and did > it. ;-) My best stuff comes out when I can't sleep. Those of you who are interested in looking at it, check out the ever-growing Zope Developer's Guide (shame on you if you have

Re: [Zope-dev] Zope Server hanging :-(

2001-05-03 Thread Chris McDonough
ghlin" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, May 03, 2001 10:35 AM Subject: Re: [Zope-dev] Zope Server hanging :-( > Chris McDonough wrote: > > > > You can also use cumulative reporting to sort by "hangs": > > > > requestprofi

Re: [Zope-dev] Zope Server hanging :-(

2001-05-03 Thread Chris Withers
Chris McDonough wrote: > > You can also use cumulative reporting to sort by "hangs": > > requestprofiler.py your.log.file --cumulative --sort=hangs python requestprofiler.py my.log --cumulative --sort=hangs > out2.txt resulted in: Traceback (innermost last): File "requestprofiler.py", lin

Re: [Zope-dev] Zope Server hanging :-(

2001-05-03 Thread Chris McDonough
From: Michel Pelletier [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 02, 2001 11:58 PM > To: Chris McDonough > Cc: Tim McLaughlin; Chris Withers; [EMAIL PROTECTED] > Subject: Re: [Zope-dev] Zope Server hanging :-( > > On Wed, 2 May 2001, Chris McDonough wrote: > > > The do

RE: [Zope-dev] Zope Server hanging :-(

2001-05-03 Thread Tim McLaughlin
ECTED] Subject: Re: [Zope-dev] Zope Server hanging :-( On Wed, 2 May 2001, Chris McDonough wrote: > The docs (available via the --help switch) go into some of this detail, but > I agree that a narrative explaining how to approach it from a functional > perspective would be a good thing. Thi

Re: [Zope-dev] Zope Server hanging: DataPoint

2001-05-03 Thread Chris McDonough
Chris Withers wrote: > > Good morning, I presume? :-) Present! > > This probably isn't meaningful... unless it is. ;-) > > Huh? This is a Jim Fultonism. In English, it means this is probably not meaningful. > > Conflict errors > > are normal... I wish they wouldn't be so "big" and have an

Re: [Zope-dev] Zope Server hanging: DataPoint

2001-05-03 Thread Chris Withers
Good morning, I presume? :-) Chris McDonough wrote: > > This probably isn't meaningful... unless it is. ;-) Huh? > Conflict errors > are normal... I wish they wouldn't be so "big" and have an UPPERCASE > word in their description. OK, but I did notice them just before the server died. Maybe

Re: [Zope-dev] Zope Server hanging: DataPoint

2001-05-03 Thread Chris McDonough
This probably isn't meaningful... unless it is. ;-) Conflict errors are normal... I wish they wouldn't be so "big" and have an UPPERCASE word in their description. Chris Withers wrote: > > Hmmm... saw these in the stupid log, just before the server crashed: > > -- > 2001-05-03T10:09:34 IN

Re: [Zope-dev] Zope Server hanging: DataPoint

2001-05-03 Thread Chris Withers
Hmmm... saw these in the stupid log, just before the server crashed: -- 2001-05-03T10:09:34 INFO(0) Z2 CONFLICT Competing writes at, /VirtualHostBase/http/server.nipltd.com:80/VirtualHostRoot/folder/object Traceback (innermost last): File /usr/local/zope/Zope-2.3.2-src/lib/python/ZPublisher

Re: [Zope-dev] Zope Server hanging :-(

2001-05-02 Thread Michel Pelletier
On Wed, 2 May 2001, Chris McDonough wrote: > The docs (available via the --help switch) go into some of this detail, but > I agree that a narrative explaining how to approach it from a functional > perspective would be a good thing. This should go in the debuggin and testing chapter of the dev g

Re: [Zope-dev] Zope Server hanging :-(

2001-05-02 Thread Chris Muldrow
EMAIL PROTECTED]> > Date: Wed, 2 May 2001 12:08:19 -0400 > To: "Tim McLaughlin" <[EMAIL PROTECTED]>, "Chris Withers" > <[EMAIL PROTECTED]> > Cc: "Tim McLaughlin" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> > Subject: Re: [Zope-

Re: [Zope-dev] Zope Server hanging :-(

2001-05-02 Thread Chris McDonough
;Chris McDonough'" <[EMAIL PROTECTED]>; "Chris Withers" <[EMAIL PROTECTED]> Cc: "Tim McLaughlin" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, May 02, 2001 12:05 PM Subject: RE: [Zope-dev] Zope Server hanging :-( > Nice info. This

RE: [Zope-dev] Zope Server hanging :-(

2001-05-02 Thread Tim McLaughlin
ssage- From: Chris McDonough [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 02, 2001 12:00 PM To: Chris Withers Cc: Tim McLaughlin; [EMAIL PROTECTED] Subject: Re: [Zope-dev] Zope Server hanging :-( One of the more important bits is the "active" count when using the --detailed option

Re: [Zope-dev] Zope Server hanging :-(

2001-05-02 Thread Chris Withers
Chris McDonough wrote: > Thanks, that's just what I was looking for > The goal is to indentify methods or requests that take a long time, don't > return, or are accessed frequently. Yup > If you can match this data up with > specific problems you've experienced (possibly by way of times/da

Re: [Zope-dev] Zope Server hanging :-(

2001-05-02 Thread Chris McDonough
One of the more important bits is the "active" count when using the --detailed option to requestprofiler. This tells you how many *other* requests were "unfinished" at the end of a particular request. So for instance, if you run requestprofiler like this: python requestprofiler.py log.file.na

Re: [Zope-dev] Zope Server hanging :-(

2001-05-02 Thread Chris McDonough
> > Attached is a script that I just checked into the trunk to do analysis of > > the file generated by the -M log. It can help you figure out if there's a > > pattern to the hangs (whether it happens on a particular method, whether it > > happens at heavy load time, whether it happens at a parti

Re: [Zope-dev] Zope Server hanging :-(

2001-05-02 Thread Chris Withers
Chris McDonough wrote: > > Absolutely! When you've got some representative data, and you've > successfully run requestprofiler against it in various ways, let me know. Hmmm, not really sure what I should be looking for :-S What ways should I look to run it and what should I do with the output?

Re: [Zope-dev] Zope Server hanging :-(

2001-05-02 Thread Chris Withers
Chris McDonough wrote: > > Hmmm... it might be useful to turn on detailed request logging (-M logging) > in the start file (see z2.py). OK, this is done now... > Attached is a script that I just checked into the trunk to do analysis of > the file generated by the -M log. It can help you figure

Re: [Zope-dev] Zope Server hanging :-(

2001-04-29 Thread Erik Enge
On Sun, 29 Apr 2001, Dieter Maurer wrote: > Very strange! Indeed. > Did you look in the log files? Have their been any core dumps? I'll try to do an hour or so of analysing this tomorrow, and I'll get back to you. :-) ___ Zope-Dev maillist - [

Re: [Zope-dev] Zope Server hanging :-(

2001-04-29 Thread Dieter Maurer
Erik Enge writes: > When, in my Zope Python Product, I call a method that does not exist, Zope > dies, restarts and then is fine again. If something (another method or a > browser perhaps) is calling this method again and again, Zope does a die, > restart, rinse, repeat. > > I think the pr

Re: [Zope-dev] Zope Server hanging :-(

2001-04-29 Thread Chris Withers
Chris McDonough wrote: > > > I forgot to mention... our neither our z2.log or stupid_log show anything > > upon freezing. afterwards the stupid_log shows the failed transaction > > cleanup, but that's it. > > Hmmm... it might be useful to turn on detailed request logging (-M logging) > in the s

Re: [Zope-dev] Zope Server hanging: 2.3.2b2 didn't help :-(

2001-04-29 Thread Chris Withers
Tim McLaughlin wrote: > > 1. Hangs on anything from Pythonscript or dtml Sounds about right. > 2. top shows no significant mem or cpu usage Yup > 3. threads are all unresponsive yup > 4. restart usually yields a .trX file (an aborted transaction I suppose) Hadn't noticed, but I'll ook

Re: [Zope-dev] Zope Server hanging: CST 0.8 didn't help :-(

2001-04-29 Thread Chris Withers
Joachim Werner wrote: > > Right now we don't face these problems any more. As far as I know, the only > thing Stephan changed on the server was exchanging the CoreSession tracking > by the newest version (0.8 I think), which had to be patched to run for us > AFAIK. Now the server is reliable agai

Re: [Zope-dev] Zope Server hanging :-(

2001-04-29 Thread Erik Enge
On Fri, 27 Apr 2001, Chris Withers wrote: > Well, I thought the upgrade to 2.3.2b2 would solve the problem but it > hasn't :-( I have a (very important :-S) Zope instance which hangs at > what seems like the slightest touch. Maybe I can help. I've seen similar behaviour, and by some chance I di

Re: [Zope-dev] Zope Server hanging :-(

2001-04-28 Thread Joachim Werner
> The symptoms are as follows: > 1. Go to a given URL, which doesn't respond (browser sits and spins) > 2. Doing a 'top' on the server shows python nowhere to be seen (so it's not > infinite-loop-processor-hogging) > 3. ps shows the python threads are all still there, but none of them will > respo

Re: [Zope-dev] Zope Server hanging :-(

2001-04-27 Thread Chris McDonough
e of day, etc.) Do you think you'd be willing to play around with it a little bit to try to discover a pattern? > > Tim > > -Original Message- > From: Tim McLaughlin > Sent: Friday, April 27, 2001 12:41 PM > To: '[EMAIL PROTECTED]'; '

RE: [Zope-dev] Zope Server hanging :-(

2001-04-27 Thread Tim McLaughlin
'; '[EMAIL PROTECTED]' Subject: [Zope-dev] Zope Server hanging :-( Chris (and all), We seem to be having similar crashing issues. And interestingly enough, they don't seem to show up on any of our servers except the 2.3.0 upgraded to 2.3.1. 1. Hangs on anything from Pythons

[Zope-dev] Zope Server hanging :-(

2001-04-27 Thread Tim McLaughlin
Chris (and all), We seem to be having similar crashing issues. And interestingly enough, they don't seem to show up on any of our servers except the 2.3.0 upgraded to 2.3.1. 1. Hangs on anything from Pythonscript or dtml 2. top shows no significant mem or cpu usage 3. threads are all unrespo

[Zope-dev] Zope Server hanging :-(

2001-04-27 Thread Chris Withers
Hi, Well, I thought the upgrade to 2.3.2b2 would solve the problem but it hasn't :-( I have a (very important :-S) Zope instance which hangs at what seems like the slightest touch. The symptoms are as follows: 1. Go to a given URL, which doesn't respond (browser sits and spins) 2. Doing a 'top'