List Info

Thread: unrecoverable error




unrecoverable error
user name
2006-02-15 21:47:32
dimitri pater wrote:
> every two or three days my CherryPy powered site
> (serpia.org) crashes :-( . Please see the traceback
> ...
> File
"/usr/lib/python2.3/site-packages/cherrypy/_cputil.py
",
>     line 143, in _cpLogMessage
>     print s
> IOError: [Errno 5] Input/output error

I can't address the first error, but the second is probbaly
due to you
using a wrapper over your HTTP server that doesn't allow
printing to
stdout. You should probably set server.log_to_screen = False
(and
server.log_file to some physical file location if you
haven't already).


Robert Brewer
System Architect
Amor Ministries
fumanchuamor.org

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at http://
groups.google.com/group/cherrypy-users
-~----------~----~----~----~------~----~------~--~---

unrecoverable error
user name
2006-02-15 22:21:32
Robert Brewer wrote:
> You should probably set server.log_to_screen = False
(and
> server.log_file to some physical file location if you
haven't already).

A story:

A couple months ago, I couldn't for the life of me figure
out why Google 
wasn't indexing my site.  I had submitted it to be crawled,
emailed 
Google to beg for mercy, blah blah blah... Nothing.  I was
digging 
around in my logs one day when I noticed I wasn't really
getting any 
404s, but a *bunch* of 500s.  This struck me as odd.  Then I
noticed 
that even requests for robots.txt were returning a 500!  I
tried 
browsing to robots.txt an got the "Unrecoverable error
in the server" 
message.

I finally figured out that it was due to running the CP
server detached 
from a terminal with logToScreen=True.  Doh!  The Googlebot
is now 
frequenting my site regularly.

Just-so-you-don't-feel-lonely yr's,

Christian
http://www.dowski.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at http://
groups.google.com/group/cherrypy-users
-~----------~----~----~----~------~----~------~--~---

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )