LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-30-2011, 03:12 PM   #1
acanady
LQ Newbie
 
Registered: Jul 2003
Posts: 2

Rep: Reputation: 0
Core file created with wrong pid number


Running SuSE 10.3 on IBM z10.
For some core file names we notice the number that should correspond to the PID is not correct. In /etc/sysctl.conf
kernel.core_pattern = /temp/core/core.%p.%t.%e

For example, running a test using the command
sleep 60 &
and then running kill -11 I get
core.32363.1322665189.ksh
where 32363 is the correct PID.

However, for a java process running under WebSphere I get
core.7863.1322663364.java
where 7863 is NOT the correct PID.

Any idea why?
 
Old 11-30-2011, 03:40 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Is it possible what you killed was a thread rather than a process and that the PID you're seeing is the PID of the first thread rather than the one you killed?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
There is no core file created in radhat linux dina3e Linux - Newbie 2 03-30-2008 02:46 PM
an anyone tell me whats wrong with my created iconset? (attached file) zeltak Linux - Software 3 11-22-2006 03:42 PM
CentOS 4 (Fedora Core) init script - create PID file cejennings_cr Linux - Newbie 1 07-10-2006 08:22 AM
Get PID number xmdms Linux - Newbie 4 08-30-2004 01:35 PM
ERROR: Couldn't write pid to pid file lawrencegoodman Linux - Newbie 2 02-13-2004 08:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration