Problems with PageTemplates on Zope 2.8
Hi, I have an application called the Issue Dealer which I'm porting to Zope 2.8. However, whenever I try to access a PageTemplate which makes use of a page template macro it just hangs and consumes all available CPU. Any ideas what could be wrong here, or how I could debug it? Thanks, Morten PS: CC me as I'm not on the list
Morten W. Petersen <morten@nidelven-it.no> wrote:
I have an application called the Issue Dealer which I'm porting to Zope 2.8. However, whenever I try to access a PageTemplate which makes use of a page template macro it just hangs and consumes all available CPU.
Any ideas what could be wrong here, or how I could debug it?
Use DeadlockDebugger. Florent -- Florent Guillaume, Nuxeo (Paris, France) CTO, Director of R&D +33 1 40 33 71 59 http://nuxeo.com fg@nuxeo.com
Morten W. Petersen wrote:
Hi,
I have an application called the Issue Dealer which I'm porting to Zope 2.8. However, whenever I try to access a PageTemplate which makes use of a page template macro it just hangs and consumes all available CPU.
Any ideas what could be wrong here, or how I could debug it?
Does the server or the client hang? -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science
I have an application called the Issue Dealer which I'm porting to Zope 2.8. However, whenever I try to access a PageTemplate which makes use of a page template macro it just hangs and consumes all available CPU.
Any ideas what could be wrong here, or how I could debug it?
Does the server or the client hang?
It's the client that's hanging. The first time I tested it, it was as a simple Zope instance. http://instance/manage worked fine, but accessing an Issue Dealer instance (http://instance/stuff) didn't work. Now when I try setting up a ZEO server/client version 2.8 with python 2.3.5 on FreeBSD 5.4, the server hangs even when I try to access http://instance/manage. http://instance/manage_copyright works fine however. -Morten
Did you bump up the thread stack size for the python you're running Zope with? This sounds like that problem. If you search zope.org for FreeBSD - I have a note on how I fix it. Andrew -- Zope Managed Hosting Software Engineer Zope Corporation (540) 361-1700
-----Original Message----- From: zope-dev-bounces@zope.org [mailto:zope-dev-bounces@zope.org] On Behalf Of Morten W. Petersen Sent: Thursday, June 30, 2005 7:37 PM To: Max M Cc: zope-dev@zope.org Subject: [Zope-dev] Problems with Zope 2.8 on FreeBSD (was Re: Problems with PageTemplates on Zope 2.8)
I have an application called the Issue Dealer which I'm porting to Zope 2.8. However, whenever I try to access a PageTemplate which makes use of a page template macro it just hangs and consumes all available CPU.
Any ideas what could be wrong here, or how I could debug it?
Does the server or the client hang?
It's the client that's hanging. The first time I tested it, it was as a simple Zope instance. http://instance/manage worked fine, but accessing an Issue Dealer instance (http://instance/stuff) didn't work.
Now when I try setting up a ZEO server/client version 2.8 with python 2.3.5 on FreeBSD 5.4, the server hangs even when I try to access http://instance/manage. http://instance/manage_copyright works fine however.
-Morten
I've heard of this earlier, but never experienced it until now. :) And yes, that was the issue! :) Thanks, Morten Andrew Sawyers wrote:
Did you bump up the thread stack size for the python you're running Zope with? This sounds like that problem. If you search zope.org for FreeBSD - I have a note on how I fix it.
Andrew
-- Zope Managed Hosting Software Engineer Zope Corporation (540) 361-1700
-----Original Message----- From: zope-dev-bounces@zope.org [mailto:zope-dev-bounces@zope.org] On Behalf Of Morten W. Petersen Sent: Thursday, June 30, 2005 7:37 PM To: Max M Cc: zope-dev@zope.org Subject: [Zope-dev] Problems with Zope 2.8 on FreeBSD (was Re: Problems with PageTemplates on Zope 2.8)
I have an application called the Issue Dealer which I'm porting to Zope 2.8. However, whenever I try to access a PageTemplate which makes use of a page template macro it just hangs and consumes all available CPU.
Any ideas what could be wrong here, or how I could debug it?
Does the server or the client hang?
It's the client that's hanging. The first time I tested it, it was as a simple Zope instance. http://instance/manage worked fine, but accessing an Issue Dealer instance (http://instance/stuff) didn't work.
Now when I try setting up a ZEO server/client version 2.8 with python 2.3.5 on FreeBSD 5.4, the server hangs even when I try to access http://instance/manage. http://instance/manage_copyright works fine however.
-Morten
-- Regards, Morten Tlf: +47 45 44 00 69 Blog: http://www.blogologue.com
participants (4)
-
Andrew Sawyers -
Florent Guillaume -
Max M -
Morten W. Petersen