Ksenia wrote:
> I am running Turbogears app (CP 2) on Debian in
> production, behind Apache with mod_rewrite,
> and have a nasty problem: sometimes CherryPy
> process dies.
http://www.
cherrypy.org/wiki/BehindApache says:
Note: The "os.setpgid(os.getpid(), 0)" line
seems
to prevent Apache from killing the CP process after
a period of inactivity (many thanks to Matt Lewis
for this trick).
Robert Brewer
System Architect
Amor Ministries
fumanchu amor.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-users googlegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribe googlegroups.com
For more options, visit this group at http://groups-beta.google.com/group/cherrypy-users?hl=en
-~----------~----~----~----~------~----~------~--~---
|