- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Dead Session can't be killed....
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
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
тАО07-23-2003 05:13 AM
тАО07-23-2003 05:13 AM
Dead Session can't be killed....
When this happens, all my active processes and sessions remain. I am able to clean out all my "dead" processes using the "kill" command. However, I do not know how to remove the dead sessions that appear in "whodo". Some of them are 1 month or older.
I have seen some scripts that people use to update the who source file....is the is the only wya to get rid of these sessions? Is there not a command like "kill" to use for these dead session.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2003 05:17 AM
тАО07-23-2003 05:17 AM
Re: Dead Session can't be killed....
Usually, an "un-killable" process is waiting on the completion of a request - like an I/O request, for example. Until the I/O request completes and the process wakes up, it is unable to receive and respond to the kill signal. As a general rule, the only way to get rid of these processes is to reboot the server.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2003 05:54 AM
тАО07-23-2003 05:54 AM
Re: Dead Session can't be killed....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2003 05:58 AM
тАО07-23-2003 05:58 AM
Re: Dead Session can't be killed....
You will have to reboot the machine to be able to kill them.
Regards,
Dario
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2003 06:02 AM
тАО07-23-2003 06:02 AM
Re: Dead Session can't be killed....
It won't search by user id root.
For obvious reasons.
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
тАО07-23-2003 07:09 AM
тАО07-23-2003 07:09 AM
Re: Dead Session can't be killed....
I don't know the command "whodo", but I think it bases at "who".
I think here is a similar thread about that, and I did what Frank mentioned. But after some days the same occures. So you should have to update 'the who source file' (/etc/umtp) every time you are kicked off the server. Or let the dead sessions till the next reboot ...
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x82ede822e739d711abdc0090277a778c,00.html
Regards
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2003 07:41 AM
тАО07-23-2003 07:41 AM
Re: Dead Session can't be killed....
You'll be able to find this process with a
ps -u
HTH.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2003 08:42 AM
тАО07-23-2003 08:42 AM
Re: Dead Session can't be killed....
It seems you have ghost users, you can see them with "whodo" but that users are not logged on.
Try this:
cd /usr/lib/acct
./fwtmp < /etc/utmp > /tmp/utmp
edit /tmp/utmp changing 5th column to 8 for ghost user
./fwtmp -ic < /tmp/utmp > /etc/utmp
Regards,
Zigor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2003 09:00 AM
тАО07-23-2003 09:00 AM
Re: Dead Session can't be killed....
looks to me like wtmp and utmp are corrupt, if it is possible try cleaning them. there is a document on the itrc.
Date: 12/10/01
Document description: How to clear corrupted utmp/utmpx files
Document id: KBRC00008608
http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062909383
otherwise remove them and reboot.
Hope it helps,
Robert-Jan.