Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] Running Perl Process



On 13 Dec, Kerri Phillips wrote:
> Is this the same problem as the "hammered PID 31017 running 302 seconds" error?
> 
> I get the above error randomly sometimes twice a day sometimes not for months. I am planning an update to 4.0 soon so if this intermittant problem is likely to go away, then I won't bother hacking the Session.pm.
> 
> Thanks,
> 
>      Kerri

No! Because

...../lib/Vend[mvend]# grep Hammered * /dev/null
Session.pm:                             logError("Hammered session lock %s left by PID %s" , $lockname, $pid );
...../lib/Vend[mvend]# grep hammered * /dev/null
Server.pm:                ::logGlobal({}, "hammered PID %s running %s seconds", $_, $runtime);

--------snip---------
            next if $runtime < $Global::PIDcheck;
            s/^pid\.//;
            if(kill 9, $_) {
                unlink $fn and $Vend::Server::Num_servers--;
                ::logGlobal({}, "hammered PID %s running %s seconds", $_, $runtime);
            }
--------snip---------

Maybe you have to increase "PIDcheck     300"?
If I see this message in my error.log too, I grap the session id of
this message and search for this session id in my apache.log. The
result is, that a BAD ROBOT has visited my site without 30 sec. pause.

Joachim

-- 
Hans-Joachim Leidinger
buch online                 jojo@buchonline.net
Munscheidstr. 14            FAX: +49 209 1671441
45886 Gelsenkirchen         FAX: 0209 1671441


_______________________________________________
Minivend-users mailing list
Minivend-users@minivend.com
http://lists.akopia.com/mailman/listinfo/minivend-users


Search for: Match: Format: Sort by: