PQ78479; 5.0.2: Process ID (PID) varies in admin console runtime view
 Downloadable files
 
Abstract
Process ID (PID) varies in admin console runtime view and when requested through scripting
 
Download Description
The issue seen is that the process ID for servers (on the runtime) panel will generally vary with each refresh. The same issue can be seen through wsadmin scripting, when a server mbean is looked up and the PID is requested.

The problem stems from the most common way Linux implements threading (the LinuxThreads model)in glibc. Basically, Linux uses the same kernel constructs for both threads and processes (fork() and pthread_create() are both implemented ontop of the kernel call clone(). The only difference is in the flags that get passed to indicate resource sharing). This causes some unusual side-effects, such as each Linux Thread also gets assigned a unique PID. This causes confusion and problems with many standard UNIX style system calls, such as getpid(), waitpid(), and so on. The problem seen is caused by getpid() always returning the PID of the thread, not the main process ID (The thread running the main() of the program).

A solution to identifying the main PID, regardless of which thread does the look has been implemented into the JNI process management code to correct the PID returns. With this fix, the PID will always be the main one, and will be consistant.
 
Prerequisites
Please download the UpdateInstaller below to install this fix.
 
URL LANGUAGE SIZE(Bytes)
UpdateInstaller US English 7000000
 
 
Installation instructions
Please review the readme.txt for detailed installation instructions.
 
URL LANGUAGE SIZE(Bytes)
Readme US English 4002
 
Download package
What is DD?
DOWNLOAD RELEASE DATE LANGUAGE SIZE(Bytes) Download Options
PQ78479 10/15/2003 US English 45922 FTP DD
 
Technical support
1-800-IBM-SERV (U.S. Only)
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
Problems (APARs) fixed
PQ78479
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Servlet Engine/Web Container
Operating system(s): Linux/390
Software version: 5.0.2
Software edition:
Reference #: 4005683
IBM Group: Software Group
Modified date: Oct 16, 2003