]> git.donarmstrong.com Git - infobot.git/commitdiff
shm still not right
authortimriker <timriker@c11ca15a-4712-0410-83d8-924469b57eb5>
Fri, 5 Sep 2003 19:50:57 +0000 (19:50 +0000)
committertimriker <timriker@c11ca15a-4712-0410-83d8-924469b57eb5>
Fri, 5 Sep 2003 19:50:57 +0000 (19:50 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@832 c11ca15a-4712-0410-83d8-924469b57eb5

src/IRC/Schedulers.pl
src/Shm.pl

index 5519373245efa79b2140a67dc4bd946f7e765490..cfc87ba7b43a3e97d4abfaa1a0dccd93f984fffc 100644 (file)
@@ -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");
index 4b142a46526b15173301527f13a389259cc52d9b..0c3116bedd9c065e7d13a071a08d586d3e00496e 100644 (file)
@@ -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;