How to kill defunct process… ???

Hari ini saya nemuin defunct proses di mesin mail server saya (Qmail + Centos 4.4), sempet bingung juga, setelah tanya kiri kanan, dapet kesimpulan bahwa “defunct process like zombie”, please kill :p

Nah disini saya akan menuliskan cara kill defunct proses tersebut :), karena jika kita langsung kill proses ID nya, maka defunct proses tersebut takkan bisa mati :), so… musti kill PPID (Parent Process ID) untuk bisa mematikan defunct proses ini.

# ps aux | grep defunct
vpopmail 19601 0.0 0.0 0 0 ? Z Nov09 0:00 [nama-proses] <defunct>

# ps -ef | grep defunct | more
vpopmail 19601 19576 0 Nov09 ? 00:00:00 [nama-proses] <defunct>

Keterangan:
vpopmail = UID = User ID
19601 = PID = Process ID
19576 = PPID = Parent Process ID

# kill -9 19576

and defunct proses is dead… 🙂

Share it now...
Share on Facebook0Tweet about this on TwitterEmail this to someoneShare on Google+0
The following two tabs change content below.
Unix/Linux enthusiasts, good working experience with SAN, NAS, Linux, Solaris, AIX, VMWare & Graphic Design. Certified for Solaris Admin, EMC & HDS Storage.

3 thoughts on “How to kill defunct process… ???

  1. anak1lang says:

    Punya gw ga bisa di kill nih om. Dan parahnya, ketika mau jalanin firefox lagi, si firefoxnya nda mau buka. Dia bilang “Firefox already running”.

    Masalahnya ini adalah client ltsp, jadi semua proses berjalan di server. Kalau servernya di restart, ya mo ga mau clientnya pada restart semua dong.

    dev10 4650 0.5 0.0 0 0 ? ZNl 13:11 0:45 [firefox-bin]

    Ada cara yang lebih ampuh om ?

Leave a Reply

Your email address will not be published. Required fields are marked *