How to kill CLOSE_WAIT without reboot

How to kill CLOSE_WAIT without reboot

am 20.09.2007 07:26:11 von gokhanaltinsoy

Hi,

How to kill CLOSE_WAIT without reboot system.
System is HP-UX


Thanks,


Gokhan Altinsoy ~= 13000-->
http://www.itinfomap.com/bilin/person.php?this=this&op=view& itemid=106

Re: How to kill CLOSE_WAIT without reboot

am 20.09.2007 15:49:23 von Lew Pitcher

On Sep 20, 1:26 am, Gökhan Alt nsoy wrote:
> Hi,
>
> How to kill CLOSE_WAIT without reboot system.
> System is HP-UX

Have the server application perform a close() on it's outbound socket.

Re: How to kill CLOSE_WAIT without reboot

am 20.09.2007 22:29:44 von gokhanaltinsoy

On Sep 20, 4:49 pm, Lew Pitcher wrote:
> On Sep 20, 1:26 am, Gökhan Alt nsoy wrote:
>
> > Hi,
>
> > How to kill CLOSE_WAIT without reboot system.
> > System is HP-UX
>
> Have the server application perform a close() on it's outbound socket.


Application is Apache with SSL and weblogic plugin.
This problem occurs in 2-3 week period.it seems leaking out.

Re: How to kill CLOSE_WAIT without reboot

am 21.09.2007 05:07:52 von Barry Margolin

In article <1190265971.188243.128020@n39g2000hsh.googlegroups.com>,
Gökhan Altınsoy wrote:

> Hi,
>
> How to kill CLOSE_WAIT without reboot system.
> System is HP-UX

Kill the process that has the connection open.

--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***

Re: How to kill CLOSE_WAIT without reboot

am 21.09.2007 15:00:23 von gokhanaltinsoy

On Sep 21, 6:07 am, Barry Margolin wrote:
> In article <1190265971.188243.128...@n39g2000hsh.googlegroups.com>,
> Gökhan Alt nsoy wrote:
>
> > Hi,
>
> > How to kill CLOSE_WAIT without reboot system.
> > System is HP-UX
>
> Kill the process that has the connection open.
>
> --
> Barry Margolin, bar...@alum.mit.edu
> Arlington, MA
> *** PLEASE post questions in newsgroups, not directly to me ***
> *** PLEASE don't copy me on replies, I'll read them in the group ***


"kill -9 PID " couldnt kill the process :)

Re: How to kill CLOSE_WAIT without reboot

am 22.09.2007 00:04:54 von Bill Marcum

On Fri, 21 Sep 2007 13:00:23 -0000, Gökhan Alt nsoy
wrote:
>
> "kill -9 PID " couldnt kill the process :)
>
That could mean one of three things:
1) Someone else owns the process. Only the owner or root can kill it.
2) The process is a zombie, existing only in the process table until its
parent calls "wait()".
3) The process is in an uninterruptible wait state due to a hardware problem,
and may require a reboot.


--
Interfere? Of course we should interfere! Always do what you're
best at, that's what I say.
-- Doctor Who

Re: How to kill CLOSE_WAIT without reboot

am 22.09.2007 14:30:44 von gokhanaltinsoy

>
> That could mean one of three things:
> 1) Someone else owns the process. Only the owner or root can kill it.
> 2) The process is a zombie, existing only in the process table until its
> parent calls "wait()".
> 3) The process is in an uninterruptible wait state due to a hardware problem,
> and may require a reboot.
>
> --
> Interfere? Of course we should interfere! Always do what you're
> best at, that's what I say.
> -- Doctor Who


In this case , It is "3" . Is there a way to understand which hardware
problem ?

Thanks

Re: How to kill CLOSE_WAIT without reboot

am 22.09.2007 20:35:05 von Maxwell Lol

Gökhan Alt nsoy writes:

> In this case , It is "3" . Is there a way to understand which hardware
> problem ?

It's probably a bug in the hardware device driver, caused by a problem
in the hardware.

Can you switch the hardware?

Re: How to kill CLOSE_WAIT without reboot

am 23.09.2007 11:09:35 von gokhanaltinsoy

On Sep 22, 9:35 pm, Maxwell Lol wrote:

>
> It's probably a bug in the hardware device driver, caused by a problem
> in the hardware.
>
> Can you switch the hardware?


You mean which hardware ?

whole system or only ethernet card ?

Thanks

Re: How to kill CLOSE_WAIT without reboot

am 23.09.2007 14:58:13 von Maxwell Lol

Gökhan Alt nsoy writes:

> On Sep 22, 9:35 pm, Maxwell Lol wrote:
>
> >
> > It's probably a bug in the hardware device driver, caused by a problem
> > in the hardware.
> >
> > Can you switch the hardware?
>
>
> You mean which hardware ?
>
> whole system or only ethernet card ?

In general, if you have a problem and are trying to determine the
cause, you switch components so that the same comoponent failes in two
different systems the same way. If this is true, the component is bad.


If you have another Ethernet card, try that. Personally, I'd also look
into using a different type of card.

I did not say it was a hardware problem, by the way. But if it is, a
different card might help determine if it's true.


It's more likely a bug in the driver, which is why changing to a
different Ethernet card by a different vendor might be useful.

Googling CLOSE_WaIT might offer some other ideas:

http://unix.derkeiler.com/Mailing-Lists/SunManagers/2006-01/ msg00367.html




http://www.sunmanagers.org/pipermail/summaries/2006-January/ 007068.html
http://www.sunmanagers.org/archives/1999/1208.html
http://www-1.ibm.com/support/docview.wss?rs=662&context=SSPR FJ&dc=DB550&uid=swg1IY66520&loc=en_US&cs=UTF-8&lang=en&rss=c t662tivoli
http://archive.linuxvirtualserver.org/html/lvs-users/2001-09 /msg00403.html

Re: How to kill CLOSE_WAIT without reboot

am 24.09.2007 03:51:15 von Barry Margolin

In article ,
Bill Marcum wrote:

> On Fri, 21 Sep 2007 13:00:23 -0000, Gökhan Alt nsoy
> wrote:
> >
> > "kill -9 PID " couldnt kill the process :)
> >
> That could mean one of three things:
> 1) Someone else owns the process. Only the owner or root can kill it.
> 2) The process is a zombie, existing only in the process table until its
> parent calls "wait()".

That's obviously not possible in this case. A zombie can't have open
sockets.

> 3) The process is in an uninterruptible wait state due to a hardware problem,
> and may require a reboot.

--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***

Re: How to kill CLOSE_WAIT without reboot

am 24.09.2007 07:19:59 von gokhanaltinsoy

Thanks everybody for useful knowledge.

I will monitor system under this new knowledge.

Re: How to kill CLOSE_WAIT without reboot

am 25.09.2007 17:17:03 von Juha Laiho

=?iso-8859-1?q?Gökhan_Alt_nsoy?= said:
>> That could mean one of three things:
>> 1) Someone else owns the process. Only the owner or root can kill it.
>> 2) The process is a zombie, existing only in the process table until its
>> parent calls "wait()".
>> 3) The process is in an uninterruptible wait state due to a hardware problem,
>> and may require a reboot.
>
>
>In this case , It is "3" . Is there a way to understand which hardware
>problem ?

It could also be a a bug in the operating system kernel code.

You might be able to gain some insight into the issue by looking at the
WCHAN field of 'ps' listing; that shows where the process is waiting.
Then map that data into what is in kernel at that address. Apologies,
it's a few years since I did this kind of work, so the details evade me;
anyway you should be able to find from kernel the point where your
application is waiting, and deduce from that at least some extra knowledge
as to what is going wrong.

If you have OS and hardware support contracts with HP for the machine
in question you might try filing a case for them.
--
Wolf a.k.a. Juha Laiho Espoo, Finland
(GC 3.0) GIT d- s+: a C++ ULSH++++$ P++@ L+++ E- W+$@ N++ !K w !O !M V
PS(+) PE Y+ PGP(+) t- 5 !X R !tv b+ !DI D G e+ h---- r+++ y++++
"...cancel my subscription to the resurrection!" (Jim Morrison)