Forum Moderators: phranque

Message Too Old, No Replies

win apache orphans processes listening on ports?

         

freemanindia

1:12 pm on Apr 30, 2007 (gmt 0)

10+ Year Member




Hi Everyone,

I've been looking at a number of other problems
people have been having with restarting apache and
getting an address bind - already in use error.

I haven't seen anyone comment on the behavior I'm
seeing however:

I installed apache as part of the devside.net package
which includes wordpress, drupal and some other packages.
Its set up to run automatically as a service.

When I restart my computer everything works great and
if I do a netstat -nao I see (among other stuff)
(note I moved httpd to run on port 8000)

TCP 0.0.0.0:8000 0.0.0.0:0 LISTENING 1700
TCP 127.0.0.1:8000 127.0.0.1:1046 TIME_WAIT 0
TCP 127.0.0.1:8000 127.0.0.1:1047 TIME_WAIT 0
TCP 127.0.0.1:8000 127.0.0.1:1048 TIME_WAIT 0
TCP 127.0.0.1:8000 127.0.0.1:1056 TIME_WAIT 0
TCP 0.0.0.0:8000 0.0.0.0:0 LISTENING 1700
TCP 127.0.0.1:8000 127.0.0.1:1046 TIME_WAIT 0
TCP 127.0.0.1:8000 127.0.0.1:1047 TIME_WAIT 0
TCP 127.0.0.1:8000 127.0.0.1:1048 TIME_WAIT 0
TCP 127.0.0.1:8000 127.0.0.1:1056 TIME_WAIT 0

when I go into the services tab and click stop on the apache service or if i run httpd -k stop from the command line these guys are still there

TCP 127.0.0.1:8000 127.0.0.1:1048 TIME_WAIT 0
TCP 127.0.0.1:8000 127.0.0.1:1056 TIME_WAIT 0

I have no idea how to kill these processes, and so long as they are there appache won't restart.

Has anyone else seen this?
Any suggestions?

thanks in advance.

Freeman