Re: ports not releasing
- From: Hans-Dieter Kutz <hdkutz@xxxxxxxxx>
- Date: Mon, 31 Jul 2006 09:51:02 +0200
On Fri, Jul 28, 2006 at 01:48:52PM -0400, Vincent D'Antonio wrote:
What "Unix" are you using?
We are having a problem with our recharge_agent process. When it
terminates abnormally the ports that were in use by this process are
left open and listening, so when we attempt to restart the process it
dies almost imediately because the specified ports are already in use.
Apparently the UNIX Kernel is not releasing the ports once the process
dies, so my question to you would be . Can these ports be released
without rebooting the server???
Below are the ports that we use for this process.
sdp_rech_agent_port=18001
sdp_rech_agent_telnet_port=18002
sdp_query_agent_port=18003
sdp_query_agent_telnet_port=18004
Try lsof to bring out Information about what processes are on your open Ports.
# lsof -i:18001
Then try to kill the Processes that are using these Ports.
Example from my machine:
<snip>
# lsof -i:25
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
sendmail 155690 root 7u IPv4 0xf10000f300385b58 0t0 TCP *:smtp
(LISTEN)
<snip>
Cheers,
ku
--
Darth Vader:
I find your lack of faith disturbing.
_________________________________________________________________________
Dieses Mail/Fax ist ausschließlich für den genannten Empfänger bestimmt.
Es enthält persönliche oder vertrauliche Informationen. Jede unerlaubte
Verbreitung des Inhalts, auch teilweise, ist untersagt. Falls Sie dieses
Mail/Fax versehentlich erhielten, informieren Sie bitte unverzüglich den
Absender und löschen Sie dieses Mail/Fax endgültig von jedem Rechner, auch
Ihrem Mail-/Faxserver.
This mail/fax contains private or confidential information and is intended
only for the person to which it is addressed. Any unauthorized
dissemination, even partly, is prohibited. If you received this mail/fax
in error, please contact the sender and delete this mail/fax finally from
any computer, including your mail-/faxserver.
- References:
- ports not releasing
- From: Vincent D'Antonio
- ports not releasing
- Prev by Date: Re: Paging space defragmentation
- Next by Date: NTP and logging
- Previous by thread: ports not releasing
- Next by thread: NTP and logging
- Index(es):
Relevant Pages
|
|