|ericmoritz\0||ok, everything is maxed out with long running requests|
|thebanana||ericmoritz\0: are you using SCGIServerTimeout?|
|ericmoritz\0||yeah but that only applies to trying to make the connection to the scgi server|
besides, even when httpd severs the socket with SCGI, flup still allows the child to continue to execute
|thebanana||yes but does it reconnect to mod_scgi?|
|thebanana||rather, what does it do after the view finishes and it no longer has a connection to apache?|
|ericmoritz\0||ok, all the request show be timing out now, let's see if flup starts reaping children|
yep, so far so good, the number of children is decreasing
back to normal
still seems like a problem with a view
|HowDoI||finaly antena came in|
im so happy yay
now i can further my progress in learning python
|vaclav||Hey, can any Mac users help me use py2app?|
|evolvlng||vaclav there's #macpython|
|at0miku||How would I make my python script restart itself?|
Exit the script, then run itself
I was thinking something like os.run("python /dir/to/script/script.py") or something
|arubin-||I believe that is typically accomplished by a secondary script that just runs the real script and restarts it when necessary|
secondary script or program
Perhaps I could have a script called delayrun.py
and the main script calls delayrun.py, then exits itself
delayrun would wait a second then run the mainscript then kill itself... sounds good to me
How do I get the directory the script is currently running from?
|at0miku||arubin-: thanks :)|
brb in a few minutes, trying this out.
arubin-, is there a way to get the directory and the name of the python script?
what would a linux equivalent of this code be?