Core Dump of a process in Red Hat Linux 5.9

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Core Dump of a process in Red Hat Linux 5.9
# 8  
Old 08-25-2015
Have you tried it?
# 9  
Old 08-25-2015
Yes.It is dumping memory.But in normal running condition.Not in stalled condition.
# 10  
Old 08-25-2015
What happens when you try and do that in stalled condition?
# 11  
Old 08-25-2015
I was not able to make the core dump in stalled condition and the stalled condition of the process for which I need core dump can not be predicted or determined or simulated.So It was not able to hit

kill -s SIGSEGV 10008.
And thus I was not able to make any core dump at the time when the process stalls.
Which I actually in need.
# 12  
Old 08-25-2015
Why not?

What prevented you from doing so?

What, exactly, did you do, what exactly happened, and what exactly did you want to happen?
# 13  
Old 08-25-2015
Actually the process running in Production System on 24/7 basis.I have another customized process which monitors whether other process are in stalled stae or not?It actually send some request to other process and if it gets the response from other process with in a configured time period(in seconds) then it declares the other process as alive.If not then it declares the other process is stalled and it restart the process.In this way before I type the earlier mentioned commands, to grab the dump, the process restarts and also it is unpredictable when the process stalls.That is the difficulty.So I need so tool to monitor the status of the periodically and if it did not get any response then it will assume that the process is stalled and triggers the GCORE dump.
# 14  
Old 08-25-2015
Quote:
I have another customized process which monitors whether other process are in stalled stae or not? It actually send some request to other process and if it gets the response from other process with in a configured time period(in seconds) then it declares the other process as alive.If not then it declares the other process is stalled and it restart the process.
And this customized process can't do the coredump?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Fedora

Which is the better platform to learn UNIX/Linux (Kali Linux Vs. Red Hat or other)?

I just started a new semester and I started my UNIX class yesterday. I've already decided to use python along with my learning process but what I really want to use with it is Kali as my UNIX/Linux platform to learn off of since I already wanted to learn Cyber Sec. anyways. I just wanted to know if... (12 Replies)
Discussion started by: ApacheOmega
12 Replies

2. UNIX for Dummies Questions & Answers

Learn Linux Core Dump Analysis

Can any body provide me some good link to learn to create and analyze linux user mode application / kernel module core dumps? (1 Reply)
Discussion started by: rupeshkp728
1 Replies

3. Linux

Thread specific data from linux core dump

How do i get pointer to thread's local storage or thread specific data while analyzing core dump for linux ? i use pthread_setspecific to store some data in the pthread's local stoare. my multi threaded program on linux crashed, and i want to see what is stored in current running thread's... (2 Replies)
Discussion started by: vishwasungal
2 Replies

4. UNIX for Dummies Questions & Answers

how to know if i use "Red Hat Enterprise Linux" or "Red Hat Desktop" ?

how to know if i use "Red Hat Enterprise Linux" or "Red Hat Desktop" ? (2 Replies)
Discussion started by: ahmedamer12
2 Replies

5. Emergency UNIX and Linux Support

How to open the core dump file in linux?

Hi, I have got core dump stating "core.bash.29846" so i am unable to open. How to open the core dump file for further analysis? Reagards Vanitha (7 Replies)
Discussion started by: vanitham
7 Replies

6. Red Hat

Process does not dump any core files when crashed even if coredumpsize is unlimited

Hello Im using redhat and try to debug my application , its crashes and in strace I also see it has problems , but I can't see any core dump I configured all the limit ( im using .cshrc ) and it looks like this : cputime unlimited filesize unlimited datasize unlimited... (8 Replies)
Discussion started by: umen
8 Replies

7. Red Hat

red hat 4 core off or on

Hi All, I have this IBM 8872-1RU/X460 I need to know if the cpu core is off or on. Is there a query to do that without checking the BIOS? Here's the cpuinfo ~~~~~~~~~~~~~~~~~~~~ # cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 15 model ... (1 Reply)
Discussion started by: itik
1 Replies

8. Linux

crash dump server for red hat ent 4

Is it true that you can't have the crash dump server/client on the same server? I know I've installed Nagios open source before, I though it's only for that kind of thing. I never though that Red hat ent 4 would be like client/server on the crash dump. if someone is having problem with high... (0 Replies)
Discussion started by: itik
0 Replies

9. UNIX for Dummies Questions & Answers

How to force core dump of a process

We have an application that terminates with segmentation violation errors in the logs. No source code is available since this is a third party software that is way past its maintenance life cycle. Under these circumstances is there a way to force a core dump of the process for further analysis?? ... (3 Replies)
Discussion started by: Un1xNewb1e
3 Replies

10. UNIX for Dummies Questions & Answers

Red Hat Linux 6.0

Ok here is my problem i do not know the command to load a driver for my network card in Ted hat linux 6.0 could sombody give me a hand. and if there is anyone that has a list of commands for red hat that would be great also (2 Replies)
Discussion started by: bbutler3295
2 Replies
Login or Register to Ask a Question