I've been playing with logging to a pipe (a perl program that talks to
MySQL) on Win2k. It works great, except that when I restart apache, I
get a new perl process running every time, while the old one continues
to run.
I've tried adding a interupt handler to my perl code (see
http://www.serversolved.com/logger.pl.txt ), but that doesn't seem to
help. If I check my MySQL processlist, I can see all my former loggers
connected - the only way to get rid of them is to restart MySQL. And
even then, the perl process is still running - just not connected to
MySQL anymore. If I try killing them through the task manager(as
Administrator), I get an 'Access Denied' message. The only way to clean
these processes up is to restart my machine.
I guess the big question is - Is this a perl problem, apache problem, or
windows problem? Is there a way around it on Windows?
I'm sure it'd work great on a production unix machine.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
MySQL) on Win2k. It works great, except that when I restart apache, I
get a new perl process running every time, while the old one continues
to run.
I've tried adding a interupt handler to my perl code (see
http://www.serversolved.com/logger.pl.txt ), but that doesn't seem to
help. If I check my MySQL processlist, I can see all my former loggers
connected - the only way to get rid of them is to restart MySQL. And
even then, the perl process is still running - just not connected to
MySQL anymore. If I try killing them through the task manager(as
Administrator), I get an 'Access Denied' message. The only way to clean
these processes up is to restart my machine.
I guess the big question is - Is this a perl problem, apache problem, or
windows problem? Is there a way around it on Windows?
I'm sure it'd work great on a production unix machine.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org