From: timriker Date: Fri, 5 Sep 2003 19:50:57 +0000 (+0000) Subject: shm still not right X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=52fc78971903b08e186dad49a81e58afb8be78a1;p=infobot.git shm still not right git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@832 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/src/IRC/Schedulers.pl b/src/IRC/Schedulers.pl index 5519373..cfc87ba 100644 --- a/src/IRC/Schedulers.pl +++ b/src/IRC/Schedulers.pl @@ -773,8 +773,8 @@ sub miscCheck { # don't touch other bots, if they're running. next unless ($param{ircNick} =~ /^\Q$n\E$/); } else { -# &DEBUG("shm: $shmid is not ours or old blootbot => ($z)"); -# next; + &DEBUG("shm: $shmid is not ours or old blootbot => ($z)"); + next; } &status("SHM: nuking shmid $shmid"); diff --git a/src/Shm.pl b/src/Shm.pl index 4b142a4..0c3116b 100644 --- a/src/Shm.pl +++ b/src/Shm.pl @@ -143,9 +143,9 @@ sub addForked { if ($count > 3) { # 3 seconds. my $list = join(', ', keys %forked); if (defined $who) { - &msg($who, "exceeded allowed forked count: $list"); + &msg($who, "exceeded allowed forked count (shm $shm): $list"); } else { - &status("Fork: I ran too many forked processes :) Giving up $name."); + &status("Fork: I ran too many forked processes :) Giving up $name. Shm: $shm"); } return 0;