You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Pete Nelson <pe...@ci.stpaul.mn.us> on 2002/02/20 16:00:30 UTC

piped log not terminating on Win32

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


RE: piped log not terminating on Win32

Posted by Andrew Kunz <ku...@tdbank.ca>.
doesn't help the entire problem but the kill.exe program from the resource
kit should take care of the stray processes.


-----Original Message-----
From: Pete Nelson [mailto:pete.nelson@ci.stpaul.mn.us]
Sent: Wednesday, February 20, 2002 10:01 AM
To: users@httpd.apache.org
Subject: piped log not terminating on Win32


  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.



---------------------------------------------------------------------
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