removing hang processes (AIX)


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users removing hang processes (AIX)
# 1  
Old 08-06-2008
removing hang processes (AIX)

Hi Guys,

Just wondering if I have a child process which is basically hanging and I can see that is on sleep or wait mode if I want to remove/terminate this process , the signal has to come from its parent I assume. The reason I'm asking this is because I'm facing a db2 hang situation and we can see that most processes are showing:
Waiting on latch type: (SQLO_LT_SQLE_DBCB__dblatch) - Address: (78000000029ef20), Line: 351, File: sqlmutil.C

I have raised this with IBM but no luck and to the hangs doesn't ends here because we can't remove those processes issueing :
-db2stop
-db2stop force
-db2_kill
-kill ppid
-ipcrm (remove s,m,q) AIX
-kill -9 -1
-kill using root access
therefore the only way to restore the sevices is rebooting the server and this is a big shared server. I would like to know how can I remove a process in this sort of state. Can I send I signal to exit .Please any ideas or suggestions would be highly appreciated.

Harby.
# 2  
Old 08-06-2008
If you can't kill a process even with -9 or you have IPCs listed with ipcs, that you can't remove with ipcrm, then there is nothing left than a reboot.

Maybe check if your AIX and DB2 are at reasonable ML/fixpacks. What did IBM say? "Sorry, we are just selling this software." Smilie Smilie
# 3  
Old 08-06-2008
When you stop or kill the parent process, does it go away?
# 4  
Old 08-06-2008
It looks as though the proc was in a non-signalable state.
This often happens when e.g. you have a lingering stale NFS mount because the server disappeared, or when a disk drive passed away and needs replacement or because a filesystem became corrupt.
Usually the hanging procs terminate as soon as the resource they have been waiting for becomes available again.
Of course, as someone mentioned, you can always reboot to flush your proc table. But I guess this isn't really an option?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

AIX 5.3 NFS export not mounting, rpcinfo hang/timeout on server

Been trying to get a directory NFS-mounted with no success. I've tried both NFS v3 and v4, but currently trying v4. I can't figure out what's going on here. server: sbkovwadmd01 sbkovwadmd01# chnfsdom Current local domain: edw.dev sbkovwadmd01# lssrc -a | grep nfs | grep active nfsd ... (3 Replies)
Discussion started by: eckertd
3 Replies

2. AIX

AIX memory usage by processes

Hi, i have 2 identical web servers using AIX. I use nmon analyser to check their performance. The server A exceeds 20% memory usage for system, 5% for cache and the rest 75% for processes. While, it uses 4% of Paging Space. The server B exceeds 20% for system, 45% for cache and 35% for processes.... (24 Replies)
Discussion started by: dim
24 Replies

3. AIX

AIX runqueue- length and processes

AIX5.3: Can you please let me know how to find out What is the runqueue length What are the processes in the runqueue I would like to know the information on 5 min intervals. Please let me know if there is a command to do this. (2 Replies)
Discussion started by: ucbus
2 Replies

4. Solaris

removing associated processes from a SMF service

I'm running Tibco Hawk (hawkhma and agent) on a number of solaris 10 boxes (both x86 and Sparc). Tibco Hawk is a monitoring system, that can monitor processs and logs on the OS and applications. It also have the ability to start a process, if it for some reason, have died. I have implemented... (2 Replies)
Discussion started by: u_paludan
2 Replies

5. AIX

Need Help Urgent AIX Hang

hello all, I'm newbie on AIX. Can any one tell why this happen ? I have expectation this error came because paging memory. This is my error : ( I cann;t read this log and need your help) --------------------------------------------------------------------------- LABEL: ... (7 Replies)
Discussion started by: Fandikurnia
7 Replies

6. AIX

DNS is hang in AIX 6.1

Guy's I have configured DNS like the below but I faced another issue ! nameserver 172.18.14.7 nameserver 172.18.14.8 domain domain.com When I ping any Host from the server itself its replaying me the IP of that hosts that's mean DNS is working fain but when I try to ftp or telnet... (8 Replies)
Discussion started by: Mr.AIX
8 Replies

7. AIX

Port hang issue in AIX Version 5.3

On AIX platform we are having Weblogic 8.1 as the middleware for an application. The application is deployed in Weblogic on AIX platform and the server is having 2 dedicated listening ports for any incoming requests. Output for netstat -an command for the port 30001 is as follows:- tcp4... (7 Replies)
Discussion started by: subharai
7 Replies

8. AIX

how to up the aix machine when the desktop was hang

Hi all, My AIX machine desktop was hanged. What to do. please help me. It's very urgent. Thank's & regards, Balaraju. (7 Replies)
Discussion started by: balarajum
7 Replies

9. UNIX for Advanced & Expert Users

running processes with no hang up

Can we run a script in nohup which calls another script in nohup. eg Script1.sh #Script1 start nohup script2.sh . . . #end script1.sh Now can I do this nohup script1.sh Also is all scheduled processes (crontab entries) will run as nohup? Would appreciate if any one can... (3 Replies)
Discussion started by: yakyaj
3 Replies

10. AIX

AIX 4.1.5/RS6000 boot hang, help requested

Hello there! I have a RS-6000 7043-140 machine with AIX version 4.1.5, that is working for almost 8 years now. It has a tty monitor. My problem started when I upgraded my machine to install a gxt250 graphics adapter card together with a 15" AOC VGA Monitor, logitech keyboard and mouse, ... (2 Replies)
Discussion started by: bright_genius
2 Replies
Login or Register to Ask a Question