Mystery error: "The resource you requested is temporarily unavailable"
Hi all, I'm quite desperate. Code that worked fine on local server fails miserably on a production server. The error message does not contain a traceback. This is the error message: ! Temporarily Unavailable The resource you requested is temporarily unavailable - please try again later. (116) unable to connect, fd=3 I'm not posting the source code at this stage because it is quite long. I just need to know what this error message means. -- Milos Prudek
This looks like an error that comes out of the PCGI process when Zope dies.... On Wed, 2002-06-12 at 15:28, Milos Prudek wrote:
Hi all,
I'm quite desperate. Code that worked fine on local server fails miserably on a production server. The error message does not contain a traceback. This is the error message:
! Temporarily Unavailable
The resource you requested is temporarily unavailable - please try again later. (116) unable to connect, fd=3
I'm not posting the source code at this stage because it is quite long. I just need to know what this error message means.
-- Milos Prudek
_______________________________________________ Zope maillist - Zope@zope.org 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 )
Chris McDonough wrote:
This looks like an error that comes out of the PCGI process when Zope dies....
Zope did not die after that error message. The site is still accessible, the only problem is that it does not display that single page. -- Milos Prudek
Are you sure Zope isn't dying on that particular request and restarting itself? ----- Original Message ----- From: "Milos Prudek" <milos.prudek@tiscali.cz> To: "Chris McDonough" <chrism@zope.com>; <zope@zope.org> Sent: Wednesday, June 12, 2002 3:40 PM Subject: Re: [Zope] Mystery error: "The resource you requested is temporarily unavailable"
Chris McDonough wrote:
This looks like an error that comes out of the PCGI process when Zope dies....
Zope did not die after that error message. The site is still accessible, the only problem is that it does not display that single page.
-- Milos Prudek
_______________________________________________ Zope maillist - Zope@zope.org 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 )
Chris McDonough wrote:
Are you sure Zope isn't dying on that particular request and restarting itself?
No, I'm not sure. Is there a way to find out more precisely the error cause, other than selectively commenting out parts of my source code? Could it be caused by an External method quoted below? *** def filetype(File=''): import os cmd='file -b -' w,r=os.popen2(cmd) w.write(File) w.close() return r.read().strip() *** Thanks for any hints. -- Milos Prudek
One way to find out whether Zope is restarting is to start Zope with the event log enabled, e.g.: ./start STUPID_LOG_FILE=/some/log/file/name You will see startup messages in the log. I dont know whether your external method could cause it or not... Milos Prudek wrote:
Chris McDonough wrote:
Are you sure Zope isn't dying on that particular request and restarting itself?
No, I'm not sure.
Is there a way to find out more precisely the error cause, other than selectively commenting out parts of my source code?
Could it be caused by an External method quoted below?
*** def filetype(File=''): import os cmd='file -b -' w,r=os.popen2(cmd) w.write(File) w.close() return r.read().strip() ***
Thanks for any hints.
-- Chris McDonough Zope Corporation http://www.zope.org http://www.zope.com "Killing hundreds of birds with thousands of stones"
participants (2)
-
Chris McDonough -
Milos Prudek