- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Improper logout from telnet session pegs cpu u...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-22-2009 07:49 AM
тАО10-22-2009 07:49 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-22-2009 08:34 AM
тАО10-22-2009 08:34 AM
Re: Improper logout from telnet session pegs cpu utilization
You can use a UNIX95 ps feature to identify such processes and kill them.
This is really an application problem.
For safety, see that a recent system QPK is installed or telnet patch is available from http://itrc.hp.com Patch HP-UX
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-22-2009 08:41 AM
тАО10-22-2009 08:41 AM
Re: Improper logout from telnet session pegs cpu utilization
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-22-2009 07:36 PM
тАО10-22-2009 07:36 PM
Solutiontrap "" 1 2 3
This command disables QUIT INT and HUP signals. This prevents a login session from aborting in the middle of the profile script. HOWEVER, it is imperative that the following line is also in /etc/profile at the end of the file:
trap 1 2 3
They look almost identical but are VERY different. The first has "" as the action to take for the listed signal numbers -- which is: do nothing (ignore).
The second form restores normal operation. When your scanner guns do not logout but simply disconnect from the network (like power off) then a Hang-UP event has occurred. Normally, HP-UX will then terminate the session. But if the HUP signal has been trapped and assigned "" (which means do nothing) then the session will hang and consume CPU cycles as the shell tries to talk to the non-existent device.
To see if traps are enabled, put this line into the scanner login files (ie, .profile):
logger "Active traps: \"$(trap)\""
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-23-2009 05:19 AM
тАО10-23-2009 05:19 AM
Re: Improper logout from telnet session pegs cpu utilization
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-23-2009 04:37 PM
тАО10-23-2009 04:37 PM
Re: Improper logout from telnet session pegs cpu utilization
Does this login use a special shell?
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-23-2009 07:35 PM
тАО10-23-2009 07:35 PM
Re: Improper logout from telnet session pegs cpu utilization
So there are no child processes? If none, it doesn't seem to be an application problem, since there is none at this time. (Unless you consider a shell script or the scanner software to be an application?)
Can you use tusc to see what is going on in the looping shell?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2010 05:50 AM
тАО07-07-2010 05:50 AM