The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 01-25-2002
auswipe's Avatar
auswipe auswipe is offline
Registered User
 

Join Date: Nov 2001
Location: Wide Awake Wylie, Texas
Posts: 536
Question Killing a stubborn process...

I have a stubborn process on my OpenBSD box that just refuses to die. It is taking up about half a meg of memory and refuses to die. It appears to be an errant gzip process that was executed from the console on 06 Jan 2002.

Here is a snippet of my attempts to kill the gzip process

Code:
/home/joeuser $ ps -aux | grep "gzip"
root     13647  0.0  0.1   452   408 C0- DL     6Jan02    4:41.24 gzip -c
/home/joeuser $ kill 13647
/home/joeuser $ ps -aux | grep "gzip"
root     13647  0.0  0.1   452   408 C0- DL     6Jan02    4:41.24 gzip -c
/home/joeuser $ kill -HUP 13647
/home/joeuser $ ps -aux | grep "gzip"
root     13647  0.0  0.1   452   408 C0- DL     6Jan02    4:41.24 gzip -c
/home/joeuser $ kill -9 13647
/home/joeuser $ ps -aux | grep "gzip"
root     13647  0.0  0.1   452   408 C0- DL     6Jan02    4:41.24 gzip -c
/home/joeuser $ kill -9 13647
/home/joeuser $ kill -9 13647
/home/joeuser $ kill -9 13647
/home/joeuser $ ps -aux | grep "gzip"
root     13647  0.0  0.1   452   408 C0- DL     6Jan02    4:41.24 gzip -c
It just refuses to die. According the ps, it has core memory pages locked and some disk access. According to top, the it isn't doing too much and not taking up any CPU time:

Code:
13647 root      -5    0  452K  408K idle  physio   4:42  0.00% gzip
Any suggestions on killing this process other than reboot? I really want to keep the uptime high (yeah, cheap bragging rights... )

Code:
/home/joeuser $ uptime
 5:16PM  up 62 days, 23:17, 1 user, load averages: 1.13, 1.12, 1.09
__________________
Not quite as cool as all the other Kids...
Remove advertisements
!!
!! Forum Sponsor