Re: [Zope-dev] Communication between Zserver and ZPublisher

2003-09-15 Thread Chris Withers
Alexander Schad wrote:
Hi all,
I'd like to understand how the communication between the ZServer and the 
ZODB
works. As far as i know the ZServer (Web server) talks to the ZPublisher 
(ORB)
to get the Requested Object. But do they communicate via tcpip sockets 
or unix sockets?
Neither, AFAIK.

I have a problem with hanging connections (for more than 1s) on the 
debug
screen in zopes control panel and when all connections are jammed zope 
freezes.
You using relational databases at all?

What do the hung threads say they're doing on the debug info panel?

cheers,

Chris

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Communication between Zserver and ZPublisher

2003-09-15 Thread Alexander Schad


At 13:17 15.09.2003 +0100, Chris Withers wrote:
Alexander Schad wrote:
Hi all,
I'd like to understand how the communication between the ZServer and the
ZODB
works. As far as i know the ZServer (Web server) talks to the ZPublisher
(ORB)
to get the Requested Object. But do they communicate via tcpip sockets or
unix sockets?
Neither, AFAIK.
I have a problem with hanging
connections (for more than 1s) on the debug
screen in zopes control panel and when all connections are jammed zope
freezes.
You using relational databases at all?

Yes an oracle DB and i'm using an external session service to store and
retrieve 
session data using the httplib.
What do the hung threads say
they're doing on the debug info panel?

for example:

Connections: 
Fri Sep 12 10:28:09 2003 (11650.65s) ({'HTTP_ACCEPT_ENCODING':
'gzip,deflate,compress;q=0.9', 'SERVER_PORT': '', 'PATH_TRANSLATED':
...

thanx,
Alex
cheers,
Chris




Alexander G. Schad (Project
Manager) beehive
KG

mailto:
[EMAIL PROTECTED]
http://www.beehive-eu.com


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Communication between Zserver and ZPublisher

2003-09-15 Thread Chris Withers
Alexander Schad wrote:
Yes an oracle DB and i'm using an external session service to store and 
retrieve
session data using the httplib.
I think using httplib to return session data is risk to put it mildly. I'd put 
money on the fact that it's either that or your ORacle query that's hanging...

What do the hung threads say they're doing on the debug info panel?


for example:

* Connections:
* Fri Sep 12 10:28:09 2003 (11650.65s) ({'HTTP_ACCEPT_ENCODING':
  'gzip,deflate,compress;q=0.9', 'SERVER_PORT': '',
'PATH_TRANSLATED': ...
Well, yeah, the result of that would be helpful...

Chris

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Communication between Zserver and ZPublisher

2003-09-15 Thread andreas
On Mon, Sep 15, 2003 at 01:49:50PM +0200, Alexander Schad wrote:
 Hi all,
 I'd like to understand how the communication between the ZServer and the 
 ZODB
 works. As far as i know the ZServer (Web server) talks to the ZPublisher 
 (ORB)
 to get the Requested Object. But do they communicate via tcpip sockets or 
 unix sockets?
They communicate by Python Method call :)

From 100km overhead it looks like that:
ZServer gets a request, handles all the protocol specific stuff, and
gives it to ZPublisher. ZPublisher than gets the application object it
publishes and traverses the tree to find the right method to call.
The application object is usually (in the Zope case) fetched from the
ZODB.

Andreas Kostyrka

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )