12-14-2006
Locked TCP port in Solaris 10
Hi all
I haven't had much experience with Solaris 10 but we've started running into a problem where a process hangs, it is killed and leaves a zombie process. The sysadmins are saying this zombie process is locking a tcp port and not allowing the process to start up.
The process is a usually a weblogic java app.
This is happening across multiple servers but one that it is happening on is:
SunOS sedm3239 5.10 Generic_118833-17 sun4v sparc SUNW,Sun-Fire-T200
Is there any way to kill this process or free the port? The sysadmins are just rebooting the server, which seems a little extreme and I'm sure there is something else available.
Any information would be good.
Thanks
10 More Discussions You Might Find Interesting
1. IP Networking
I am trying to connect via DBACCESS and Informix server to a server on a different computer. When I execute the connect command from dbaccess I get the following message,
Exec format error cannot bind a name to the port.
As far as I know the port is not being used by another client.
How... (1 Reply)
Discussion started by: lopez
1 Replies
2. UNIX for Dummies Questions & Answers
Hi All, I suspect this is simple but I cannot find any info on it.
I have a logfile on a solaris box (EMS) that I want to tail -f but I want the output of this to be redirected to a TCP port.
I have a second solaris box (PEM) running patrol enterprise manager that I am using as an alarm... (1 Reply)
Discussion started by: mscomms
1 Replies
3. SCO
sco unix 5.0.x, several weeks ago, I add a telnet-like service in inetd.conf, it runs well for 100 network terminals.
But nowdays, the terminals can connect to server successfully after booting machine, but several hours later, can not connect. "netstat -p tcp -a" can NOT find the port in... (1 Reply)
Discussion started by: shark_gao
1 Replies
4. UNIX for Dummies Questions & Answers
Hello, I have a service running (ODBC) and every now and then it will hang and I will have to stop and restart the service. The problem is when I stop the service, it indeed stops the service, but netstat reports a tcp port still open with the fin_wait_2 status. Then I must close the client... (1 Reply)
Discussion started by: raidzero
1 Replies
5. Programming
Hi,
I am working with sun solaris sparc 5.9 and I want to use the serial port in my application..when I am trying to use it.it is throwing the message--
So how can I check the serial port is locked or not and how can I unlock the port??
Thanks in advance. (1 Reply)
Discussion started by: smartgupta
1 Replies
6. Shell Programming and Scripting
I have multiple processes running the same program on my linux machine. For each process I want to be able to use a unique (available) TCP port. I have thought of using netstat to check which ports are available for use however, the time-window between checking and selecting might expose some race... (1 Reply)
Discussion started by: timmylita
1 Replies
7. Programming
Does anyone know if there is a C API call to get the status of a TCP port? As opposed to running netstat and parsing the results. At the moment I have to attempt to bind() and pick up on the address in use error which isn't very elegant
Thanks
---------- Post updated at 10:42 AM ----------... (0 Replies)
Discussion started by: janra
0 Replies
8. IP Networking
Hello all,
I am loosing the diameter connection between two servers and when the connection is trying to comes up again i see the following message in the tracer.
and after 1 second the connection resets.
As far i know the connection stay in state TIME_WAIT for a while(60 seconds in my... (1 Reply)
Discussion started by: @dagio
1 Replies
9. IP Networking
i want to kill a tcp connection by killing its pid
with netstat -an i got the tcp ip connection on port 5914
but when i type ps -a or ps-e there is not such process running on port 5914
is it possible that because i do not log on with proper user account i can not see that process running? (30 Replies)
Discussion started by: alinamadchian
30 Replies
10. Solaris
I have problem with oracle solaris 10 running on oracle sparc T4-2 server.
Os information: 5.10 Generic_150400-03 sun4v sparc sun4v
Output from tcpstat.d script
TCP bytes: out outRetrans in inDup inUnorder
6833763 7300 98884 0... (2 Replies)
Discussion started by: insatiable1610
2 Replies
GONG(1) General Commands Manual GONG(1)
NAME
gong - evaluate process performance
SYNOPSIS
gong [-f] [-a] process-id
DESCRIPTION
Gong is used to evaluate the performance of a process that is in execution.
The process-id is the process number of the process whose performance is to be evaluated. The evaluation is performed by a set of three
``panelist'' routines, each of which analyzes one aspect (time, space, and tonality) of the performance of the process. If any of these
routines is not amused by the performance, the process being analyzed is sent the gong(2) signal. In addition, the process-id of the eval-
uated process is written on the standard gong, for possible future corrective action. (It is suggested that the standard gong be an audi-
ble alarm for proper effect.) It is expected that after being gong(2)ed, the process will promptly commit suicide.
The -f keyletter argument indicates that gong is to invoke flog(1) with the unmerciful argument if the process does not respond to
gong(2)ing. In the absence of this argument, the process is continuously gong(2)ed, which may lead to the process becoming a deaf zombie.
The -a keyletter argument indicates that if all three of the panelist routines gong(2) a process, the process should be unmercifully
flog(1)ged whether or not the -f keyletter is supplied.
FILES
/dev/ding.dong is the standard gong.
SEE ALSO
On the Applicability of Gonging to the Performance and Merit Review Process, Journal of Irreproducible Results, vol. 263, issue 19, pp.
253-307.
BUGS
If the named process does not exist, it is possible that gong will attempt an evaluation of itself, which may lead to a condition known as
compounded double ringing (see echo(1)). Therefore, it is recommended that gong be used with extreme care.
GONG(1)