Operating System - HP-UX
1834499 Members
2875 Online
110068 Solutions
New Discussion

Re: Users process are not getting terminated.

 
kumar_choudhury
Occasional Advisor

Users process are not getting terminated.

This is Raj Kumar from ON Application which is
built in C language.we are currently on HP 11.0. Recently the users of the application are not getting terminated properly form the system. they are getting hanged up. The system is built in such a way that if the process is not terminated properly then the users can't enter second time.

As a fix we are planning to delete the ids in the /etc/utmp. Please let us know what might cause the problem and the problem fix for this.

You can contact Srinivas pasupulati from US at
703-961-5164 for further information. or you can contact Kishan at 9845907819.
3 REPLIES 3
Patrick Wallek
Honored Contributor

Re: Users process are not getting terminated.

The big question is: Are the users themselves exiting the application properly? Is there a specific way they are supposed to sign off and exit?
Peter Godron
Honored Contributor

Re: Users process are not getting terminated.

Raj,
when you say your users sessions are not being terminated properly, are you referring to the application sessions or Operating System sessions ?
Your users could be waiting to be become available, which are currently in use.
Are your processes generating core files ?
What are the parent process and process ids of the hung processes (ps -ef | grep )?
Anything in /var/adm/syslog/syslog.log ?

Also 11.0 support ended 31/12/06
Bill Hassell
Honored Contributor

Re: Users process are not getting terminated.

Have you disabled the SIGHUP trap for your users? The standard HP-UX /etc/profile file has two or three trap statements. If someone deleted the last one at the end of this file, you will get this exact behavior. The two trap statements look similar but they are very different settings. The last trap in /etc/profile must be:

trap 1 2 3


Bill Hassell, sysadmin