List Info

Thread: cherrypy process dies




cherrypy process dies
user name
2006-12-07 00:24:46
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
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-beta.google.com/group/cherrypy-users?hl=en

-~----------~----~----~----~------~----~------~--~---

cherrypy process dies
user name
2006-12-07 07:46:39
> 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).

Thanks Robert,

But this line is from autostart.cgi that I dont use - I
start CP
process in the terminal, independant from Apache...

Ksenia.


--~--~---------~--~----~------------~-------~--~----~
 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-beta.google.com/group/cherrypy-users?hl=en

-~----------~----~----~----~------~----~------~--~---

[1-2]

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