RE: [Zope] Zope Dies with FastCGI

2000-10-02 Thread Ronald L. Roeber



 
  Two types of messages:
 
  First in its death throws:
  [Wed Sep 27 16:54:08 2000] [error] [client 192.168.2.52] FastCGI: comm
  with server "apache_server_path/htdocs/zope" aborted: idle timeout (30
  sec)
 
  And later when its all over:
  [Thu Sep 28 08:07:11 2000] [error] [client 192.168.2.52] (111)Connection
  refused
 
  : FastCGI: failed to connect to server "apache_server_path/htdocs/zope":
 
  connect() failed
 
  It will run fine for quite some time but then it dies.
  There are no other refereces to zope in the error logs.
  I am looking into possible network issues.
  I will likely try daemontools this weekend.
 
 i've seen this problem only when there's a lot of connection;s
 usually more
 than 100 connections at any one time.  to test this out, maybe
 you can use
 apache ab and step up until something breaks.

I can't seem to break it...

ab -n 1500 -c 300

I get the same errors as in my original posting but Zope doesn't die. I left
it alone after these tests and it died about 25 minutes later with noone
using it. (its behind a firewall)

This weekend I installed daemontools and can keep it running or at least
restart it.

The problem is most definitely not with load. I probably has to do with the
way I have (mis)configured it. But for the life of me I can't see what it
would be.

Another odd thing with this set up is that some page requests from Netscape
4.x clients are very slow for what they are doing. IE and the new Mozilla
engine are lightening fast...same page. Doesn't matter what platform of
Netscape(*nix, Windows,Mac). The EventFolder product is the most obvious
case. It locks Netscape for minutes while IE and Moz browsers
load the page just fine.

I will try some other things. Thanks for the ideas.

 also, try setting fastcgiexternalserver with  -appConnTimeout 0


Did this, doesn't seem to make a difference...


 tell us how it goes.
  Thanks for your help.
 
  Ron...
 
___
 
  ___
  Zope maillist  -  [EMAIL PROTECTED]
  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 )

 --

 http://www.kedai.com.my/kk
 http://www.kedai.com.my/eZine

 if you SMELLL ... what the Rock is cookin



___
Zope maillist  -  [EMAIL PROTECTED]
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 )




Re: [Zope] Zope Dies with FastCGI

2000-09-28 Thread Bak @ kedai

On Wed, 27 Sep 2000, Ronald L. Roeber wrote:
 I have the following set-up under which Zope occasionally dies.

 Zope 2.2.2 (same happened with 2.2.0 and 2.2.1)
 RedHat Linux 6.2
 Apache 1.3.12 - with fastcgi/2.2.8 and OpenSSL/0.95a


what about apache error log?  anything there?



 ___
 Zope maillist  -  [EMAIL PROTECTED]
 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 )

-- 

http://www.kedai.com.my/kk 
http://www.kedai.com.my/eZine 

as you woke this morning, and open up your eyes, did you notice the tear 
stains lining your face were mine..


___
Zope maillist  -  [EMAIL PROTECTED]
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 )




Re: [Zope] Zope Dies with FastCGI

2000-09-28 Thread Bak @ kedai

On Fri, 29 Sep 2000, [EMAIL PROTECTED] wrote:
  Two types of messages:
 
  First in its death throws:
  [Wed Sep 27 16:54:08 2000] [error] [client 192.168.2.52] FastCGI: comm
  with server "apache_server_path/htdocs/zope" aborted: idle timeout (30
  sec)
 
  And later when its all over:
  [Thu Sep 28 08:07:11 2000] [error] [client 192.168.2.52] (111)Connection
  refused
 
  : FastCGI: failed to connect to server "apache_server_path/htdocs/zope":
 
  connect() failed
 
  It will run fine for quite some time but then it dies.
  There are no other refereces to zope in the error logs.
  I am looking into possible network issues.
  I will likely try daemontools this weekend.

 i've seen this problem only when there's a lot of connection;s usually more
 than 100 connections at any one time.  to test this out, maybe you can use
 apache ab and step up until something breaks.

 also, try setting fastcgiexternalserver with  -appConnTimeout 0

 tell us how it goes.


follow up on my own mail:
i did an ab test, on  Apache/1.3.12 (Unix)  (Red Hat/Linux) mod_fastcgi/2.2.4 
and  it seems that zserver restarted after awhile.  it restarted a few times 
during ab.

ab -n 200 -c 50 

these messages in stupid.log
--- a few iteration snipped
2000-09-29T04:01:27 INFO(0) ZServer FastCGI Server (V1.0) started at Fri Sep 
29 12:01:27 2000
IP  :
Port: 8999
Socket path : None
 
--
2000-09-29T04:01:57 ERROR(200) zdaemon zdaemon: Fri Sep 29 12:01:57 2000: 
Aiieee! 29643 exited with error code: 13
--
2000-09-29T04:01:57 INFO(0) zdaemon zdaemon: Fri Sep 29 12:01:57 2000: 
Houston, we have forked
--
2000-09-29T04:01:57 INFO(0) zdaemon zdaemon: Fri Sep 29 12:01:57 2000: 
Houston, we have forked
--
2000-09-29T04:01:57 INFO(0) zdaemon zdaemon: Fri Sep 29 12:01:57 2000: Hi, I 
just forked off a kid: 29656
---

anybody can point out to me what's happening?  
  Thanks for your help.
 
  Ron...
 
___
 
  ___
  Zope maillist  -  [EMAIL PROTECTED]
  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 )

-- 

http://www.kedai.com.my/kk 
http://www.kedai.com.my/eZine 

Just bring it!


___
Zope maillist  -  [EMAIL PROTECTED]
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 )




Re: [Zope] Zope Dies with FastCGI

2000-09-27 Thread John Hayward-Warburton (Programming account)

"Ronald L. Roeber" wrote:

 Zope 2.2.2 (same happened with 2.2.0 and 2.2.1)
 RedHat Linux 6.2
 Apache 1.3.12 - with fastcgi/2.2.8 and OpenSSL/0.95a

 "ZServer uncaptured python exception, closing channel FCGIChannel
 connected 127.0.0.1:2198 at 87195b (socket.error:(32, 'Broken pipe')
 [path_to_Zope/Zserver/medusa/asynchat.py|initiate_send||211]
 [path_to_Zope/Zserver/medusa/asynchat.py|send|274])

I know this won't be much help, but this Apache:

Server: Apache/1.3.12 (Unix) mod_ssl/2.6.2 OpenSSL/0.9.5 PHP/4.0.0
mod_fastcgi/2.2.3 mod_perl/1.22

Running with Zope 2.2.1, FastCGI has run reliably since the program was
first started. There were problems around Zope 2.1, but they were cured by
stealing the latest FastCGI stuff from CVS. Now, it runs without any
difficulty. I wish I knew more.

...jhw



___
Zope maillist  -  [EMAIL PROTECTED]
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 )




[Zope] Zope Dies with FastCGI

2000-09-26 Thread Ronald L. Roeber

I have the following set-up under which Zope occasionally dies.

Zope 2.2.2 (same happened with 2.2.0 and 2.2.1)
RedHat Linux 6.2
Apache 1.3.12 - with fastcgi/2.2.8 and OpenSSL/0.95a 

I'm running Zope with Fastcgi and using Apache rewrite rules to redirect
all URLs that 
contain "manage" to https. 

It seems to work fine except on occasion Zope will die with the
following error:

"ZServer uncaptured python exception, closing channel FCGIChannel
connected 127.0.0.1:2198 at 87195b (socket.error:(32, 'Broken pipe')
[path_to_Zope/Zserver/medusa/asynchat.py|initiate_send||211]
[path_to_Zope/Zserver/medusa/asynchat.py|send|274])

This doesn't always mean the server is dead but it is the only error I
can trap with 
debug turned on. I am starting the Zope server with the -Z option. 

Ideas. I'm about ready to start making the server more widely available
but cannot if
the server is unreliable.

Ideas, strategies, options? 

TIA

Ron Roeber





___
Zope maillist  -  [EMAIL PROTECTED]
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 )