[RAS] Cron <aras at nebka> /home/aras/acis/bin/clean-up >> /home/aras/acis/clean-up.log (fwd)

Thomas Krichel krichel at openlib.org
Mon Apr 5 09:26:31 CDT 2010


  Christian Zimmermann writes

> Out of memory!

  It does appear that there are some a.cgi processes hanging, and
  there are two control daemons.

aras at nebka:~$ ps -afu aras
UID        PID  PPID  C STIME TTY          TIME CMD
aras     19140 18938 34 09:18 ?        00:21:44 /usr/bin/perl -w a.cgi
aras     19311 18810 29 09:30 ?        00:14:40 /usr/bin/perl -w a.cgi
aras     20939 20937  0 10:15 ?        00:00:00 sshd: aras at pts/1 
aras     20940 20939  0 10:15 pts/1    00:00:00 -bash
aras     21002 21001  0 10:16 ?        00:00:00 /bin/sh -c /home/aras/acis/bin/apu 7 >>/home/aras/apu-job.log 2>&1
aras     21003 21002  1 10:16 ?        00:00:03 /usr/bin/perl /home/aras/acis/bin/apu 7
aras     21161 27126  0 10:20 ?        00:00:00 /usr/bin/perl -I/home/aras/acis/lib /home/aras/acis/bin/control_daemon.pl -d -f /home/aras/a
aras     21168 20355  1 10:20 ?        00:00:00 /usr/bin/perl -w a.cgi
aras     21208 21012  7 10:20 ?        00:00:01 /usr/bin/perl -w a.cgi
aras     21212 20940  0 10:21 pts/1    00:00:00 ps -afu aras
aras     25123 25120  0 Apr01 ?        00:00:01 sshd: aras at pts/0 
aras     25124 25123  0 Apr01 pts/0    00:00:00 -bash
aras     27126     1  0 00:45 ?        00:00:00 /usr/bin/perl -I/home/aras/acis/lib /home/aras/acis/bin/control_daemon.pl -d -f /home/aras/a
aras     29977 27126 10 04:09 ?        00:40:54 /usr/bin/perl -I/home/aras/acis/lib /home/aras/acis/bin/control_daemon.pl -d -f /home/aras/a

  I don't think we should have the two daemons, but 

aras at nebka:~$ rid stop
Killing control_daemon with pid 27126
Wait for control_daemon to exit...... done

  seems to have killed both.

aras at nebka:~$ ps -afu aras
UID        PID  PPID  C STIME TTY          TIME CMD
aras     19140 18938 34 09:18 ?        00:22:12 /usr/bin/perl -w a.cgi
aras     19311 18810 29 09:30 ?        00:15:08 /usr/bin/perl -w a.cgi
aras     20939 20937  0 10:15 ?        00:00:00 sshd: aras at pts/1 
aras     20940 20939  0 10:15 pts/1    00:00:00 -bash
aras     21002 21001  0 10:16 ?        00:00:00 /bin/sh -c /home/aras/acis/bin/apu 7 >>/home/aras/apu-job.log 2>&1
aras     21003 21002  1 10:16 ?        00:00:05 /usr/bin/perl /home/aras/acis/bin/apu 7
aras     21208 21012  2 10:20 ?        00:00:02 /usr/bin/perl -w a.cgi
aras     21244 20968 17 10:22 ?        00:00:00 /usr/bin/perl -w a.cgi
aras     21245 21016 16 10:22 ?        00:00:00 /usr/bin/perl -w a.cgi
aras     21246 20940  0 10:22 pts/1    00:00:00 ps -afu aras
aras     25123 25120  0 Apr01 ?        00:00:01 sshd: aras at pts/0 
aras     25124 25123  0 Apr01 pts/0    00:00:00 -bash

  I killed the two longest running a.cgi processes

aras at nebka:~$ kill -9 19140

aras at nebka:~$ kill -9 19311

  I hope this helps.

  Cheers,

  Thomas Krichel                    http://openlib.org/home/krichel
                                http://authorclaim.org/profile/pkr1
                                               skype: thomaskrichel



More information about the RAS-run mailing list