RE: [Zope] HUGE Threads showing in Debug Information
Ah, I see. Well, what've found so far is: conn.setDebugInfo(REQUEST.environ, REQUEST.other) I have a hard time seeing how the HTML would end up in the envionment, so it's probably hiding somewhere in "other" ... The way I'd go abotu this is setup a little debugging script that dumps the request under controlled circumstances and try to see where in the request object t shows up (What dictionary, what key?). This *should* appear in the Debug page actually ... is the HTML contained inside a dictionary ({}) or something like that? J.F. -----Original Message----- From: Allen Schmidt [mailto:aschmidt@fredericksburg.com] Sent: March 8, 2005 5:11 PM To: Jean-Francois.Doyon@CCRS.NRCan.gc.ca Cc: zope@zope.org Subject: Re: [Zope] HUGE Threads showing in Debug Information By huge, I mean if I copy the text from that one thread to a file it is about 23K. It is basically showing all that would show up by doing a REQUEST display AND all the source text of the html page that is generated. It is not normal (at least not the normal way thread text shows up) and only shows up once in a while. Been happening more recently. Allen Jean-Francois.Doyon@CCRS.NRCan.gc.ca wrote:
Perfectly normal ... The request object currently being handled by a given thread is dumped to the screen, allowing you to debug which thread is doing what ...
J.F.
-----Original Message----- From: zope-bounces@zope.org [mailto:zope-bounces@zope.org]On Behalf Of Allen Schmidt Sent: March 8, 2005 4:25 PM To: zope@zope.org Subject: [Zope] HUGE Threads showing in Debug Information
On the Debug Information screen in Control Panel, we occasionally get huge gobs of text that looks like the entire REQUEST/RESPONSE objects showing up. I am assuming this is being seen as the page header and this is being registered in squid and is exceeding the request_header_max_size. I can increase this but would like to know where our process if breaking down to expose this mess.
Thanks _______________________________________________ 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 )
In a dictionary...here is a small piece where the html of the page actually starts showing up: 'PUBLISHED': <DTMLMethod instance at 4232bda0>, 'RESPONSE': ZServerHTTPResponse('\n\n\n<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">\n\n<html>\n<head>\n< yada yada yada Thanks for the tips. Allen Jean-Francois.Doyon@CCRS.NRCan.gc.ca wrote:
Ah, I see.
Well, what've found so far is: conn.setDebugInfo(REQUEST.environ, REQUEST.other)
I have a hard time seeing how the HTML would end up in the envionment, so it's probably hiding somewhere in "other" ...
The way I'd go abotu this is setup a little debugging script that dumps the request under controlled circumstances and try to see where in the request object t shows up (What dictionary, what key?).
This *should* appear in the Debug page actually ... is the HTML contained inside a dictionary ({}) or something like that?
J.F.
-----Original Message----- From: Allen Schmidt [mailto:aschmidt@fredericksburg.com] Sent: March 8, 2005 5:11 PM To: Jean-Francois.Doyon@CCRS.NRCan.gc.ca Cc: zope@zope.org Subject: Re: [Zope] HUGE Threads showing in Debug Information
By huge, I mean if I copy the text from that one thread to a file it is about 23K. It is basically showing all that would show up by doing a REQUEST display AND all the source text of the html page that is generated.
It is not normal (at least not the normal way thread text shows up) and only shows up once in a while. Been happening more recently.
Allen
Jean-Francois.Doyon@CCRS.NRCan.gc.ca wrote:
Perfectly normal ... The request object currently being handled by a given thread is dumped to the screen, allowing you to debug which thread is
doing
what ...
J.F.
-----Original Message----- From: zope-bounces@zope.org [mailto:zope-bounces@zope.org]On Behalf Of Allen Schmidt Sent: March 8, 2005 4:25 PM To: zope@zope.org Subject: [Zope] HUGE Threads showing in Debug Information
On the Debug Information screen in Control Panel, we occasionally get huge gobs of text that looks like the entire REQUEST/RESPONSE objects showing
up.
I am assuming this is being seen as the page header and this is being registered in squid and is exceeding the request_header_max_size. I can increase this but would like to know where our process if breaking down to expose this mess.
Thanks _______________________________________________ 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 )
Jean-Francois.Doyon@CCRS.NRCan.gc.ca wrote at 2005-3-8 17:30 -0500:
Well, what've found so far is: conn.setDebugInfo(REQUEST.environ, REQUEST.other)
I have a hard time seeing how the HTML would end up in the envionment, so it's probably hiding somewhere in "other" ...
It is the "RESPONSE" object in "other". Usually, "RESPONSE" is only filled at the end of the request. Therefore, you usually do not see text from it in the display. However, "RESPONSE" provides some methods to fill it earlier... -- Dieter
participants (3)
-
Allen Schmidt -
Dieter Maurer -
Jean-Francois.Doyon@CCRS.NRCan.gc.ca