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.
10 More Discussions You Might Find Interesting
1. AIX
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
2. UNIX for Advanced & Expert Users
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
3. AIX
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
4. AIX
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
5. AIX
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
6. AIX
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
7. Solaris
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
8. AIX
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
9. AIX
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
10. AIX
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
KILL(1) User Commands KILL(1)
NAME
kill - send a signal to a process
SYNOPSIS
kill [options] <pid> [...]
DESCRIPTION
The default signal for kill is TERM. Use -l or -L to list available signals. Particularly useful signals include HUP, INT, KILL, STOP,
CONT, and 0. Alternate signals may be specified in three ways: -9, -SIGKILL or -KILL. Negative PID values may be used to choose whole
process groups; see the PGID column in ps command output. A PID of -1 is special; it indicates all processes except the kill process
itself and init.
OPTIONS
<pid> [...]
Send signal to every <pid> listed.
-<signal>
-s <signal>
--signal <signal>
Specify the signal to be sent. The signal can be specified by using name or number. The behavior of signals is explained in sig-
nal(7) manual page.
-l, --list [signal]
List signal names. This option has optional argument, which will convert signal number to signal name, or other way round.
-L, --table
List signal names in a nice table.
NOTES Your shell (command line interpreter) may have a built-in kill command. You may need to run the command described here as /bin/kill
to solve the conflict.
EXAMPLES
kill -9 -1
Kill all processes you can kill.
kill -l 11
Translate number 11 into a signal name.
kill -L
List the available signal choices in a nice table.
kill 123 543 2341 3453
Send the default signal, SIGTERM, to all those processes.
SEE ALSO
kill(2), killall(1), nice(1), pkill(1), renice(1), signal(7), skill(1)
STANDARDS
This command meets appropriate standards. The -L flag is Linux-specific.
AUTHOR
Albert Cahalan <albert@users.sf.net> wrote kill in 1999 to replace a bsdutils one that was not standards compliant. The util-linux one
might also work correctly.
REPORTING BUGS
Please send bug reports to <procps@freelists.org>
procps-ng October 2011 KILL(1)