Operating System - HP-UX
1753436 Members
4703 Online
108794 Solutions
New Discussion юеВ

X-windows leaving OPEN connections on HPUX 11.11

 
SOLVED
Go to solution
patrick coutinho
Frequent Advisor

X-windows leaving OPEN connections on HPUX 11.11

Hi,

Have come accross something really interesting today.

When i open a x-windows session on my server and then say for example this session terminates abnormally because of a lan disconnect, the session on the server never closes. it remains OPEN and ESTABLISHED.

In my current project we have several clients connecting via x-windows and i can see that many of their sessions show ESTABLISHED well after they have supossedly closed them. Now these may be uninitiated users who did not gracefully close their sessions.

But this is a major problem for me. Using lsof i could see that their sessions were in some cases zombies using the PPID 1.

How do i overcome this problem. If i have such sessions that still remain OPEN and show ESTABLISHED even after they have been terminated by the users, this may cause a resource problem eventually.

Any advice will help me a lot. How do i get rid of such conections.

Need all the help i can get.

Thanks in advance.

Rgds

Patrick
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: X-windows leaving OPEN connections on HPUX 11.11

Post up some sample lsof output.

I beleive I can put together a simple script that will kill the process id's of sessions that are not in a zombie state.

Once its a zombie there is little to do. To deal with that you may need motif patches and other patches. A first step down that road would be the June 2004 quarterly update.

After that look at the X application vendors. They may also have patches to their applicatons that might alleviate the problem.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Sanjay_6
Honored Contributor
Solution

Re: X-windows leaving OPEN connections on HPUX 11.11

Hi Patrick,

Take a look at patch PHSS_30262,

http://www2.itrc.hp.com/service/patch/patchDetail.do?BC=patch.breadcrumb.main|patch.breadcrumb.search|&patchid=PHSS_30262&context=hpux:800:11:11

The latest patch in this category is PHSS_31000, hp recommended patch is PHSS_30787.

Hope this helps.

Regds
patrick coutinho
Frequent Advisor

Re: X-windows leaving OPEN connections on HPUX 11.11

Thanks everyone,

Sanjay i will try out that patch. great help. Thanks

rgds

Patrick