cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to Free scokets

Dayanand Naik
Frequent Advisor

Unable to Free scokets

Hi Folks,

This could be a silly qts, but i faced a problem. I am using Reflection as a X window client, and when i connect to the server the 6000 port is established, but when i logged of, still in the netstat -an output it shows the connectivity as estabilished.

eg:
tcp 0 0 172.16.0.131.60081 172.16.0.22.6000 ESTABLISHED
tcp 0 0 172.16.0.131.60073 172.16.0.22.6000 ESTABLISHED
with some more lines......

so my qts is how can i released or free the sockets, i had restarted the PC, but to no avail. shall i restart the server or should i issue net stop & net start command.

Regards.
Dayanand Naik
4 REPLIES
Ravi_8
Honored Contributor

Re: Unable to Free scokets

Hi,

Some of the process hangs even after killing. after reboot such process will not be in existence.
never give up
Herve BRANGIER
Respected Contributor

Re: Unable to Free scokets

Hi

I think processes are already running. To know
which processes you can use lsof. Use "lsof -i"
command.

Download lsof at : http://hpux.cict.fr/hppd/hpux/Sysadmin/lsof-4.55/

HTH

Herv?


Vincenzo Restuccia
Honored Contributor

Re: Unable to Free scokets

#/sbin/init.d/net stop|start
Bill McNAMARA_1
Honored Contributor

Re: Unable to Free scokets

try to ps -ef | grep dt
ps -ef | grep sh
to see who's logged in.
You can try to stop and start dtlogin from /sbin/init.d
which is kindov drastic..
in either case try to log out correctly ( not the windows close x in the corner of reflection )
I believe however there was a unix fix mentioned on the forums recently for this kind of problem, but whether its related is not sure. I'll try to root out the post.. but search for syslog and telnet error from the itrc search, it'll point you to a patch.

Later,
Bill
It works for me (tm)