Date: Tue, 24 Mar 1998 11:43:37 -0800 From: "David Shanes" <dshanes@personalogic.com> To: "David Smith" <dvsmith@bigpanda.com>, <freebsd-questions@FreeBSD.ORG> Cc: <dvsmith@bigpanda.com> Subject: Re: Sockets stuck in CLOSE_WAIT Message-ID: <016801bd575d$2373f960$1d43a8c0@shanes.personalogic.com>
next in thread | raw e-mail | index | archive | help
Are you aborting the Server? You should use the shutdown(int skt, int flag) command to ensure it gracefully shuts down the server. David _____________________________________________________ David Shanes 7535 Metropolitan Drive dshanes@personalogic.com San Diego, CA 92108 Database Developer (619) 220-5800 x228 PersonaLogic, Inc. (619) 220-5899 (fax) http://www.PersonaLogic.com -----Original Message----- From: David Smith <dvsmith@bigpanda.com> To: freebsd-questions@FreeBSD.ORG <freebsd-questions@FreeBSD.ORG> Cc: dvsmith@bigpanda.com <dvsmith@bigpanda.com> Date: Tuesday, March 24, 1998 11:28 AM Subject: Sockets stuck in CLOSE_WAIT >I am writing a server on a FreeBSD machine., and am having problems with >sockets which are stuck in the CLOSE_WAIT state. > >I usually notice this error when I kill the server, and try to start it >again, it gives an "Address in use" error, because there is a socket on >the port,. in the CLOSE_WAIT state. But the program that had that >socket open is no longer running. So, why isn't the socket being closed >when the process terminates? > >Any ideas would be appreciated. > >David Smith > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?016801bd575d$2373f960$1d43a8c0>