Limiting Processes

Shane Hale merlyn at dreaming.org
Mon Apr 28 14:02:22 PDT 2003


Hello,

I'm trying to limit the amount of time a process will run in userland.
Some of the users on my the network decide to keep BitchX and IRC
processes running for eons and I'm wondering if there is a way to stop
this.

We're running: FreeBSD castle.dreaming.org 4.8-RC FreeBSD 4.8-RC

An example of the problem is a such:

root     5001  0.0  0.4  1072  544  p4  S+    8:24PM   0:00.00 grep
BitchX
root    29500  0.0  0.2  2228  284  ??  Ss   11Apr03   0:32.63 screen
BitchX -n BeAsTaH irc.gamesnet.net
beastah 29501  0.0  1.2  3324 1460  p3  Ss+  11Apr03   2:37.11 BitchX -n
BeAsTaH irc.gamesnet.net (BitchX-1.0c19)
root    35420  0.0  0.0  1940    0  ??  SNs  12Apr03   0:28.47 screen
BitchX
digital 35421  0.0  0.0  3128    0  p2  SNs+ 12Apr03   1:30.91 BitchX
(BitchX-1.0c19)
root    17992  0.0  0.0  2536    0  ??  Ss   14Apr03   1:28.73 screen
BitchX -n BeAsTaH irc.he.net
beastah 17993  0.0  0.0  3848    0  p6  Ss+  14Apr03   5:29.90 BitchX -n
BeAsTaH irc.he.net (BitchX-1.0c19)
root    75055  0.0  0.0  1648    0  ??  Ss   15Apr03   0:09.31 screen
BitchX -H dreaming.org grandpa irc.daxnet.no
geekboi 75056  0.0  0.0  2764    0  pf  Ss+  15Apr03   0:24.65 BitchX -H
dreaming.org grandpa irc.daxnet.no (BitchX-1.0c19)
root    82001  0.0  0.2  1680  268  ??  Ss   Sun10PM   0:21.80 screen
BitchX -H dreaming.org grandpa irc.daxnet.no
geekboi 82002  0.0  1.2  3192 1472  p5  Ss+  Sun10PM   1:33.40 BitchX -H
dreaming.org grandpa irc.daxnet.no (BitchX-1.0c19)
shadow  87232  0.0  0.0  4400    0  ??  S    Mon01AM   1:47.02 BitchX
(BitchX-1.0c19)
surreal 59199  0.0  0.0  2896    0  p8- S    Tue04PM   0:09.57 BitchX
irc.secsup.org (BitchX-1.0c19)
creator 89130  0.0  0.0  5168    0  ??  S    12:53PM   0:00.86 BitchX
(BitchX-1.0c19)

Any suggestions??

Shane Hale
The Dreaming Electronic Community Network



More information about the freebsd-questions mailing list