How to know about a hanged process


 
Thread Tools Search this Thread
Operating Systems Solaris How to know about a hanged process
# 1  
Old 03-14-2009
How to know about a hanged process

Hi,

My process is visible in 'ps' command but actually it is not working or it got hanged. This process is not generating any log. Now How can I know that my process got hanged.

Please help.
# 2  
Old 03-14-2009
Depends on the OS. If Solaris use truss -p <pid> -o /tmp/truss.out and see what the process is up to, if nothing then kill it.
# 3  
Old 03-15-2009
You can also check if its a zombie process.When a process dies, it becomes a zombie process. Normally, the parent performs a wait() and cleans up the PID. Sometimes, the parent receives too many SIGCHLD signals at once, but can only handle one at a time. It is possible to resend the signal on behalf of the child via kill -18 PPID. Killing the parent or rebooting will also clean up zombies. The correct answer is to fix the buggy parent code that failed to perform the wait() properly. Aside from their inherent sloppiness, the only problem with zombies is that they take up a place in the process table.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to detect Hanged process in shell script?

I have to check daily 20 processes each day. The names are like Network1 Network2 Network3 ....... Network20. There is built in utility for doing this. Following is the command to check a single network process. check_process_status 1 If we want to check the status of Network2 then the... (6 Replies)
Discussion started by: Nakul_sh
6 Replies

2. UNIX for Advanced & Expert Users

Solaris Server getting hanged

Hi, I have recently changed the port speed to 1000 Mbps, auto negotiation ON from 100 Mbps auto negotiation OFF. At a particular time in the night, various other nodes FTP few big file to this node. At that particular moment when the other node start FTPing, the server becomes slow and is kind... (1 Reply)
Discussion started by: brij123
1 Replies

3. Solaris

Multiple hanged FTP processes

Hello people, I got one problem with a script. I have a script which runs every five mins and in the script an ftp process is invoked which sends files to a particular location. The problem is that the ftp process hangs every now and then which causes the whole script to hang. As the... (4 Replies)
Discussion started by: m_usmanayub
4 Replies

4. Solaris

Unix solaris hanged, cannot get the application

Hi , I need your help on the my unix (solaris system was down) when i enter console login ans password could not opearte their application . i tried reboot many times but still same error was occurred. Please refer the attcahed file , how i need to solve this issue?:wall: I 'm not... (2 Replies)
Discussion started by: Thamil
2 Replies

5. UNIX for Dummies Questions & Answers

Server getting hanged becomming very slow

Hi guyes our linux server is very slow today and load average is more than 16 .I m new in linux request you to kindly help resolving the issue. Where can i find the log for the cause. # lsb_release -a LSB Version: ... (2 Replies)
Discussion started by: pinga123
2 Replies

6. UNIX and Linux Applications

Binary Get Hanged

Hi, In our product we have use binary that fork the child process to make proxy the connection to device.But recently when we try to connect new configured device several times it get handed and binary stop making further new connection to device.it required to RESTART the services to make binary... (1 Reply)
Discussion started by: Anand Prakash
1 Replies

7. Linux

Binary Get Hanged

Hi, In our product we have use binary that fork the child process to make proxy the connection to device.But recently when we try to connect new configured device several times it get handed and binary stop making further new connection to device.it required to RESTART the services to make... (1 Reply)
Discussion started by: Anand Prakash
1 Replies

8. Shell Programming and Scripting

While killing the process, Script gets hanged. Please help me on this.

Hi Everyone, I have written a script to automate the docbase cleanup process on every weekly basis. That is in this script i have to shutdown the docbase and then kill all the process that are hanged except one process(epic process) and need to delete some log files and then i have to start the... (8 Replies)
Discussion started by: Sheethal
8 Replies

9. UNIX for Advanced & Expert Users

System hanged. help required.

HI, I have a Fedora running box. I am not able to ping/login. I guess it got hanged. Can any one help me how to login to that box with out restart? (8 Replies)
Discussion started by: praveen_b744
8 Replies

10. Shell Programming and Scripting

Outlook is getting hanged - sendmail

Hi, Problem with Sendmail When I receive the mail in my outlook, (sent using sendmail ) , Outlook is not working properly( its getting hanged).I am using the script which is available in this forum. The following are the headers that are getting generated . Sendmail is running on SunOS... (5 Replies)
Discussion started by: Srini75
5 Replies
Login or Register to Ask a Question