- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Kill not working Red Hat linux - 9 Enterprise ...
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
тАО06-02-2004 05:17 AM
тАО06-02-2004 05:17 AM
I have a red hat linux - 9 enterprise edition machine installed on Intel platform , our software development team has written a program which is used for establish socket connecion to the users , when this process hungs , we try to kill it by kill -9 and its PID , but the process is not getting killed , in top and in ps , the process is still running & the only solution left for us to reboot the system, kindly provide me the solution / suggestion for the same.
thanks in advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2004 05:35 AM
тАО06-02-2004 05:35 AM
SolutionIf the process is hanging, you need to get your development team to find out why. It may be that connecting to the port it listens on may be enough to wake it up, probably not though. However, a well written process should not get itself in this state and an audit of the code may be in order.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2004 01:55 AM
тАО06-04-2004 01:55 AM
Re: Kill not working Red Hat linux - 9 Enterprise Edition
our software team are analyzing the code , is there any solution for it, apart from reboot , which we are doing right now , after ever two or three days time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2004 10:36 PM
тАО06-05-2004 10:36 PM
Re: Kill not working Red Hat linux - 9 Enterprise Edition
I agree with Mark and I have following experience - if process can't be killed by kill
I use the killall -9 NAMEOFPID and sometimes it helps. If it possible in your case, you can try it
br Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2004 11:41 PM
тАО06-05-2004 11:41 PM
Re: Kill not working Red Hat linux - 9 Enterprise Edition
I've seen this happen when programmers write code that disables interrupts while receiving or sending packets. Good code will always time out and re-enable interrupts when the expected doesn't happen.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2004 09:53 PM
тАО06-06-2004 09:53 PM
Re: Kill not working Red Hat linux - 9 Enterprise Edition
if you are mounting an area from the fallen machine
192.168.13.45:/home/nfs/share
you can kill the process [resuming the blocking I/O] configuring a virtual loop interface with the ipaddress of the broken machine
eg
#ifconfig lo:0 inet 192.168.13.45/16 up
and bring it down
#ifconfig lo:0 down
it will close correctly the I/O
NB. thin way you may experience problems due to the updated routing table which enroutes packets to 192.168 on the lo:0 ; maybe you may work on broadcast to correct this.
Peace, R.