- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: process killing
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
05-24-2007 09:38 PM
05-24-2007 09:38 PM
process killing
In general what is the impact of process killing on unix system whether the load on the system will increase or decrese.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2007 09:54 PM
05-24-2007 09:54 PM
Re: process killing
and welcome to the ITRCforums.
General speaking when you kill a process load system could decrease.
my 2 cent
best regards
pg
ps :And as Peter Godron says
Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33
on how to reward any useful answers given to your questions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2007 09:55 PM
05-24-2007 09:55 PM
Re: process killing
First off, is the process that is being killed actually doing something to consume resources? If so, then, obviously, the system's load will decrease.
If you're asking if the actual killing consumes resources, the answer is minimal.
The thing you want to be careful of is using kill -9, which is an immediate kill. This does not allow the process to clean up after itself and can therefore end up consuming memory and other resources that do not get returned to the system.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2007 10:04 PM
05-24-2007 10:04 PM
Re: process killing
Was there a reason you are asking this question?
If you have a runaway process, you could at least renice it, if you don't know if it safe to kill.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2007 11:10 PM
05-24-2007 11:10 PM
Re: process killing
I am working as junior administrator (new in the unix world).the problem is that i am using oracle 8i on unix platform. when i am killing the processes regarding oracle .what will be its result on system average load.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2007 11:42 PM
05-24-2007 11:42 PM
Re: process killing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2007 11:47 PM
05-24-2007 11:47 PM
Re: process killing
As I thought when process gets killed OS frees resources occupied by this process.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2007 11:49 PM
05-24-2007 11:49 PM
Re: process killing
pay attention that if you kill pmon unix process you can cause Oracle shutdown.
If you kill unix process that are similar to this:
oracleSID (DESCRIPTION=(LOCAL=no)(ADDRESS=(PROTOCOL=BEQ)))
and that is call "spid or shadow process id" you can decrease load of your box (BUT you have to kill also relative session IN oracle db).
hth
regards
pg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2007 02:46 AM
05-25-2007 02:46 AM
Re: process killing
> when i am killing the processes regarding
> oracle .what will be its result on system
> average load.
Typically, the system load will decrease, but you need to be careful what you kill. In general, processes whose arguments include "LOCAL=NO" are safe. But the preferred method of terminating an Oracle session (and therefore server processes) is through the Oracle RDBMS itself:
SQL> SELECT s.sid,
p.spid,
s.osuser,
s.program
FROM v$process p,
v$session s
WHERE p.addr = s.paddr;
SQL> ALTER SYSTEM KILL SESSION 'sid,serial#' IMMEDIATE;
PCS