Re: [Zope] Help! Zope Crashed! Production Server!

2006-10-05 Thread Marco Bizzarri

Since you're running it with runzope (i.e. in foregreound mode):

1) Can you confirm Zope provided the message Zope Ready to handle requests

2) What is the top command showing? Is python/zope process using CPU,
or is it simple unresponsive?

3) Can you check if there are different processes when you start and
when you do your first request? With some C extensions of python, you
can end with hanging python processes (at least on Linux; don't know
on FreeBSD).

4) Is the zope process able to write to Z2.log, event.log and (if
used) trace.log?

Hope this can help.

Regards
Marco

--
Marco Bizzarri
http://notenotturne.blogspot.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 )


Re: [Zope] Help! Zope Crashed! Production Server!

2006-10-05 Thread Stefan H. Holek

The most common issue on *BSD is this:
http://tomster.org/blog/archive/2006/09/27/size-does-matter

Stefan


On 4. Okt 2006, at 20:43, Javier Subervi wrote:

The person who ran this box previously didn't understand FreeBSD's  
port system, so he built Python in a different place.


--
It doesn't necessarily do it in chronological order,
though.  --Douglas Adams


___
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 )


[Zope] Help! Zope Crashed! Production Server!

2006-10-04 Thread Javier Subervi
Hi;I'll afford a server to experiment on before year's end, but that doesn't help me today. I was trying to get Python 2.3.5 to work with LDAP on FreeBSD. I built py-ldap2 from ports and directed it to install Python 2.3.5 (because I'm using Zope 2.7.8 because my software won't migrate yet). It built out okay. The person who ran this box previously didn't understand FreeBSD's port system, so he built Python in a different place. I moved all of that for safety's sake (at least, I thought I did), and then ended up moving it all back because I couldn't fire up Zope (I have 2 instances). Then I was able to fire up Zope *and* import LDAP (the latter indicating something from my new installation stuck). When I ps wax I see Zope is working. However, when I surf to sites, or even the IP address, it just hangs! I cleared out log/event.log and touched it and fired up in runzope mode, but there was nothing strange in the event.log! And I've been over that log many times lately, so
 I would recognize something different. I presume ZServer is hung. How do I trouble-shoot this?TIA,Javier2 
		Do you Yahoo!? 
Get on board. You're invited to try the new Yahoo! Mail.___
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 )


Re: [Zope] Help! Zope Crashed! Production Server!

2006-10-04 Thread Maciej Wisniowski


When I ps wax I see Zope is working. However, when I surf to sites, or even the IP address, it just hangs! 

Stop Zope and check whether you still have any Zope processes.
If so then kill'em and then try to run Zope again. I had similiar
problems with hanged Zope processes. Maybe that's your's
problem too.

You may use netstat to check whether your Zope is listening.

--
Maciej Wisniowski

___
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 )


Re: [Zope] Help! Zope Crashed! Production Server!

2006-10-04 Thread Paul Winkler
http://www.zettai.net/Support/Howto/deadlockDebuggerHowto

On Wed, Oct 04, 2006 at 11:43:25AM -0700, Javier Subervi wrote:
 Hi;
 I'll afford a server to experiment on before year's end, but that doesn't 
 help me today. I was trying to get Python 2.3.5 to work with LDAP on FreeBSD. 
 I built py-ldap2 from ports and directed it to install Python 2.3.5 (because 
 I'm using Zope 2.7.8 because my software won't migrate yet). It built out 
 okay. The person who ran this box previously didn't understand FreeBSD's port 
 system, so he built Python in a different place. I moved all of that for 
 safety's sake (at least, I thought I did), and then ended up moving it all 
 back because I couldn't fire up Zope (I have 2 instances). Then I was able to 
 fire up Zope *and* import LDAP (the latter indicating something from my new 
 installation stuck). When I ps wax I see Zope is working. However, when I 
 surf to sites, or even the IP address, it just hangs! I cleared out 
 log/event.log and touched it and fired up in runzope mode, but there was 
 nothing strange in the event.log! And I've been over that log many times 
 lately, so I
  would recognize something different. I presume ZServer is hung. How do I 
 trouble-shoot this?
 TIA,
 Javier2
   
 -
 Do you Yahoo!?
  Get on board. You're invited to try the new Yahoo! Mail.
 ___
 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 )


-- 

Paul Winkler
http://www.slinkp.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 )