>we have all had a program die for some reason or another and it hasnt
>released the port it was using. Ie squid shat it's self and didnt release
>port 8080, when you goto restart squid it tell u to stick it as that ports
>in use. Besides doing the old microsoft trick and giving it the 3 finger
>salute (for those of you lucky enuf not to know this it means to reboot it),
>is there another way to re-release a port??
>
>Hope i havnt confused you to much here.

What does "netstat -an | egrep 8080" tell you? Is the socket in
TIME_WAIT? If so, it should clear after about 30 seconds.

The other posibility is that squid fired off a sub-process without
first closing the open socket it had listening on port 8080. The
sub-process will be holding this socket open. "lsof | egrep 8080"
should give you some hints.

There's no way of actually killing the socket, short of finding what's
holding it open and terminating it. There is a remote chance it's the
kernel doing something odd - in which case you may have to exercise
three fingers.

---
Andrew McNamara (System Architect)

connect.com.au Pty Ltd
Lvl 3, 213 Miller St, North Sydney, NSW 2060, Australia
Phone: +61 2 9409 2117, Fax: +61 2 9409 2111
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text

Reply via email to