- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Memory/Processes
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
07-15-2003 03:27 AM
07-15-2003 03:27 AM
CPU TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND
2 ? 6663 oracle 241 20 1482M 583M run 666:49 65.71 65.59 oraclefsprd
0 ? 4813 oracle 241 20 1485M 591M run 671:31 58.66 58.56 oraclefsprd
6 ? 7408 oracle 241 20 1495M 600M run 713:00 58.18 58.08 oraclefsprd
The processes have a parent ID of '1'. Plus they have been running a long time. Would it be safe to kill these processes that have a pid=1?
Will it give me back some memory, or is there something else I can try, besides shutting down unneeded processes.
10x
RPM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2003 03:29 AM
07-15-2003 03:29 AM
Re: Memory/Processes
[ihshp8:/var/mail]# ps -ef | grep 7408 | grep -v grep
oracle 7408 1 239 10:28:37 ? 917:45 oraclefsprd (DESCRIPTION=(LOCAL=no)(ADDRESS=(PROTOCOL=BEQ)))
[ihshp8:/var/mail]# ps -ef | grep 6663 | grep -v grep
oracle 6663 1 255 16:17:15 ? 871:27 oraclefsprd (DESCRIPTION=(LOCAL=no)(ADDRESS=(PROTOCOL=BEQ)))
[ihshp8:/var/mail]# ps -ef | grep 4813 | grep -v grep
oracle 4813 1 255 16:11:11 ? 877:09 oraclefsprd (DESCRIPTION=(LOCAL=no)(ADDRESS=(PROTOCOL=BEQ)))
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2003 03:34 AM
07-15-2003 03:34 AM
Re: Memory/Processes
The processes are oracle sessions connected to the Oracle Listener. Even if they have a PPID of 1, they can still be active, so be very careful!
I'd check around to see if anyone is running long reports or huge queries. The timestamps indicate that the processes are not that old.
Ollie.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2003 03:35 AM
07-15-2003 03:35 AM
Re: Memory/Processes
I assume this is production system so
just to be on the safe side I'd suggest you
- arrange a downtime,
- shutdown this database (see it goes down cleanly)
- check for leftover processes
- reboot
- restart db
Regards,
Bernhard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2003 03:37 AM
07-15-2003 03:37 AM
Re: Memory/Processes
You may also want to think about any possible ill-effects to your database, as I see these are Oracle processes.
Probably the safest thing to do is to re-boot.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2003 04:03 AM
07-15-2003 04:03 AM
Re: Memory/Processes
This sometimes happens when someone runs a big query or report and then realising that its taking time, disconnect their sessions and the process are zombie as identified before.
But they should still not be eating memory in real terms. What do you see from swapinfo?
And to get rid of this the safe thing is to take a downtime, bring down the instance, normally that will remove these zombie process and if not just reboot the server.
Rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2003 04:23 AM
07-15-2003 04:23 AM
Re: Memory/Processes
The fact that the parent process is "1" tells me it is an old process in this case. I don't think you would have any processes that connect to the Oracle listener by init.
Also, you may want to abort the old sessions internal to oracle.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2003 04:30 AM
07-15-2003 04:30 AM
Solutionsignum signame Name Description
___________________________________________________________________________
0 SIGNULL Null Check access to pid
1 SIGHUP Hangup Terminate; can be trapped
2 SIGINT Interrupt Terminate; can be trapped
3 SIGQUIT Quit Terminate with core dump; can be trapped
9 SIGKILL Kill Forced termination; cannot be trapped
15 SIGTERM Terminate Terminate; can be trapped
24 SIGSTOP Stop Pause the process; cannot be trapped
25 SIGTSTP Terminal stop Pause the process; can be trapped
26 SIGCONT Continue Run a stopped process
Try kill -25 PPID
If you get complaints you can -26 it and if after a while noone has moaned then remove it
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2003 04:33 AM
07-15-2003 04:33 AM
Re: Memory/Processes
This forum helped :-)
Ciao
Claudio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2003 05:01 AM
07-15-2003 05:01 AM
Re: Memory/Processes
You need to identify what remote processes have started these Oracle shadows. Log on to sqlplus as the system user and execute the following SQL. This should show you the culprits. You can then ask them what they are up to.
select
a.terminal "Name",
substr(a.program,1,38) "Program",
substr(a.username,1,8) "SQL User",
substr(a.osuser,1,9) "UNIX User",
substr(b.spid,1,6) "Shadow",
substr(a.status,1,2) "St"
from
v$session a,
v$process b
where
a.osuser not in ('codaadm', 'troplive') and
a.type not in 'BACKGROUND' and
a.paddr = b.addr
order by
a.program;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2003 05:09 AM
07-15-2003 05:09 AM
Re: Memory/Processes
The question is, is that work meaningful. The query at right before this post should tell you who did this.
These processes will resist a kill -9 because the parent is process 1. This happens sometimes, though database trouble is possible.
To directly answer your question, its probably not safe to kill these guys, they look bullet proof. Someone may have already tried to kill them.
I am thinking you have some poorly tuned sql out there and or some huge reports that should not be run by daylight. Time to talk to the application folks.
You do need to schedule a database shutdown. As a backup you should be prepared to reboot.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com