- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Hidden PIDs
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
09-27-2007 11:23 PM
09-27-2007 11:23 PM
I have attached output of top. The output of top displays PIDs 19533,21416,1594,1595 and 1595.
For some reason ps is not displaying the above PIDs.
Can anyone shed some light on this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2007 11:44 PM
09-27-2007 11:44 PM
Solutionjava is a well known resource hog and its using a ton of resources on your system.
java launches individual processes in response to certain application requests and the discrepancy may be due to the fact that the process you are monitoring is closed by the time you get to the ps command.
I suppose the process table is corrupted but your system would not last long in that condition. I don't see anything on the process list that sticks out other than java using a lot of resources and dominating your whole system.
Perhaps you can attach your ps command and output.
Could be you formulated the ps command incorrectly.
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
09-28-2007 12:10 AM
09-28-2007 12:10 AM
Re: Hidden PIDs
If it's a redhat based system, an 'rpm -V procps' should do that for you, assuming that a 'which ps' returns '/bin/ps'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2007 02:01 AM
09-28-2007 02:01 AM
Re: Hidden PIDs
The HP DL380 G4 server is running RedHat Linux As 3 update 4.
The output of rpm -V procps give me nothing
[root#]
The output which ps see below
[root]# which ps
/bin/ps
[root]#
I have attached a file containing the output of top and the ps -ef.
You will notice the java processes show up in top but not is ps -ef.
I was wondering if this is expected behaviour of RedHat Linux As 3 that processes are hidden from ps but not top.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2007 02:02 AM
09-28-2007 02:02 AM
Re: Hidden PIDs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2007 03:00 AM
09-28-2007 03:00 AM
Re: Hidden PIDs
root 1593 1561 3 Sep27 ? 01:06:14 /local/bea92/jdk150_08/bin/java -ms1536m -mx1536m -XX:MaxPermSize=192m -XX:NewSize=128m -XX:Ma
You can also try:
ps auxw |grep java
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2007 03:22 AM
09-28-2007 03:22 AM
Re: Hidden PIDs
See output of ps auwx | grep -i java
[root]# ps auxw | grep -i java
root 1593 3.5 52.3 2496840 2109584 ? S Sep27 70:14 /local/bea92/jdk150_08/bin/java -ms1536m -mx1536m -XX:a
root 10252 0.1 5.4 1529816 218108 ? S Sep27 3:20 /local/bea92/jdk150_08/bin/java -ms128m -mx1024m -XX:N.
root 20427 0.0 0.0 3700 668 pts/3 S 16:14 0:00 grep -i java
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2007 03:41 AM
09-28-2007 03:41 AM
Re: Hidden PIDs
rpm -qi procps
Checking the procps changelog here:
http://procps.sourceforge.net/changelog.html
In Version 3.1.5
serious hidden-process problem (3.1.3+) fixed
Maybe you need to update your procps package.
Also, check if you can find in /proc a directory that corresponds with the hidden processes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2007 04:36 AM
09-28-2007 04:36 AM
Re: Hidden PIDs
rpm -qi procps
I have cd to /proc directory
The interesting thing is when I use ls -l I cannot see those PIDs but when I ls -la I can those PIDs which are also in top.
I have appended the output
of ls -l and ls -la in the attached file to see what I am seeing.
What are your thoughts now?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2007 08:00 AM
09-28-2007 08:00 AM
Re: Hidden PIDs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2007 08:09 AM
09-28-2007 08:09 AM
Re: Hidden PIDs
http://uwsg.indiana.edu/hypermail/linux/kernel/0612.1/1851.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2007 02:10 AM
10-01-2007 02:10 AM
Re: Hidden PIDs
When I type "ps auxm" it lists a lot of output.
See attached file which contains output of "ps auxm".
So what are these threads in Linux and do I need to worry about them. I have noticed that these hidden processes take up a lot of memory. See output of hidden PIDs using large amount of memory. Why is that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2007 08:54 AM
10-01-2007 08:54 AM
Re: Hidden PIDs
Threads are a way for a program to fork (or split) itself into two or more simultaneously (or pseudo-simultaneously) running tasks. I don't know what is, maybe your developers? What does the Java application on your system? They key thing is to identify if the application should fork too many threads, or the threads are not ending.
Until you understand the function of these programs, you should be worried.
I have noticed that these hidden processes take up a lot of memory. See output of hidden PIDs using large amount of memory. Why is that?
Java programs are know to use a lot of memmory. But Linux handles the memory so most part of the memory used by process are shared, and a small part "private".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2007 03:08 AM
10-02-2007 03:08 AM
Re: Hidden PIDs
Should you worry about the threads? Are you the application developer? Are you the application admin? Are you getting complaints about performance or seeing resource issues on the system? If not, then you probably don't need worry. Threads are a normal part of a running system, especially if you're hosting Java apps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2007 04:41 AM
10-03-2007 04:41 AM