- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- killing tcp connections
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
тАО02-09-2012 08:58 AM
тАО02-09-2012 08:58 AM
killing tcp connections
How do you kill a tcp connection that shows up in netstat -a
- Tags:
- socket
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-09-2012 11:48 AM
тАО02-09-2012 11:48 AM
Re: killing tcp connections
Kill the process (at either end) which is using the connection?
Is there some actual problem which you are trying to solve?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-09-2012 11:53 AM
тАО02-09-2012 11:53 AM
Re: killing tcp connections
The DBA were attempting a restore and there were connections to the Database from users computer that were still there and the users are not reachable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2012 01:20 AM
тАО02-10-2012 01:20 AM
Re: killing tcp connections
With most database types, there should be a DBA command that prevents the database from accepting new connections from regular users, and another command for killing existing connections.
Since some applications automatically re-establish a database connection if it's broken, it may be useless to try and kill the existing connections before the database is set to not accept new connections, as computers can set up new connections at least as fast as you can type commands to kill them.
With Oracle, the commands would be "alter system enable restricted session" to block new connections (other than by the DBA), and "alter system kill session" to kill the existing sessions. Other database types will have other commands for the same purpose. Your DBA really should know these commands and use them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2012 08:49 AM
тАО02-14-2012 08:49 AM
Re: killing tcp connections
Check this threath:
http://h30499.www3.hp.com/t5/System-Administration/killing-tcp-ip-connections-on-hpux-11i/td-p/3686216
Regards.