Is anyone out there using Monitor.py yet have their server hang in
responding to GET and POST requests (via mod_webkit), but Monitor.py
still think the server is okay?
Monitor.py just happily checks the server (via sending the marshalled
data through a socket connection) and the AppServer responds with the
appropriate information, but then any request that comes through
mod_webkit does nothing.
I currently have a separate script that is periodically run to see if
it can get a web page. It fires off an urllib.urlopen(URL) command in
a separate thread and waits 10 seconds to see if it succeeds. If it
doesn't it sends off an email to my beeper.
I'm pretty sure it's hanging of because of a bad database connection,
but it would be nice to have Monitor.py know about, too.
Thanks for any info on this...
Webware 8.0 / Python2.2.3 / MySQLdb 0.9.2