- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- can't kill process
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
Forums
Discussions
Discussions
Discussions
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
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
04-24-2006 05:39 AM
04-24-2006 05:39 AM
can't kill process
Every couple of weeks a process gets into a state that consumes 99% of CPU and cannot be stopped or killed with kill -9. Rebooting seems to be the only solution.
The process is always different.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2006 06:20 AM
04-24-2006 06:20 AM
Re: can't kill process
sysctl output might be helpful here
Try killing the process without the -9
If its PPID is 1, then using kill -9 says kill the system. The results can't be good.
Check top for zombie proceses.
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
04-24-2006 06:24 AM
04-24-2006 06:24 AM
Re: can't kill process
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2006 11:43 AM
04-24-2006 11:43 AM
Re: can't kill process
A bit more info would be useful.
Is the process always different, or do you mean the process ID? Typically what type of process is involved? Is there any correlation betweem processes that perform this?
Some examples of processes you've seen get into this state would help.
When the process takes 99% CPU, are there other processes competing for CPU time?
Regards,
Andy Bruce
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2006 12:30 AM
04-25-2006 12:30 AM
Re: can't kill process
smbd, vsftpd and su have been the culprits.
In the case of su, I was the person who issued this command. When I did a "Control D" to exit root it hung the putty session and then su got stuck in this weird state. Also, at the same time there was a "System error" message logged in the cron log.
Yes there are other jobs competing for cpu time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2006 02:30 AM
04-25-2006 02:30 AM
Re: can't kill process
able to drop its priority using renice.
Take a look at the process with lsof and
see what files it has open. Does it have
any files or network connections open that
shouldn't be.
Connect with a tracing tool and see what
services it is calling.
You may want to reinstall any libraries
that the service has open. At least verify
checksums (preferably more that one checksum
per file).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2006 02:40 AM
04-25-2006 02:40 AM
Re: can't kill process
strace wouldn't do a thing on the PID.
I'll try lsof the next time, forgot about that one... thanks.
For what it's worth, I was given this possible explanation from elsewhere...
"Process 1575 is spinning in user code and has signals blocked. A process in Linux SHOULD NOT be able to get into this problematic state, but apparently the operating system is not yet 100% foolproof concerning spinning processes. Unfortunately, the only way to exit process 1575 will be with a reboot at your convenience".