Re: Amanda's dumper going amok
2004-11-08 06:47:28
>----- Original Message -----
>From: "Paul Bijnens" <paul.bijnens AT xplanation DOT com>
>
> Good question. Never seen such behaviour before.
> In ~amanda/CONFIG/ there is a file named "amdump.1".
> Maybe that contains some information.
> Can you find out which DLE that dumper is dumping? (the above file
> can help maybe.)
>
> Also notice that the last stable version is 2.4.4p4, while you're
> running 2.4.3-something. Maybe upgrade?
>
I'm still waiting for the next failure.
Meanwhile, I run this from the crontab every 5 minutes :
#!/usr/bin/perl -w
#
@A=`/usr/bin/top bcn1 ` ;
for my $a (@A)
{
if ($a =~ /^\s*(\d+)\s+.+?\s+\d+\s+\d+\s+(\d+)M\s+(\d+)M\s.*dumper/)
{
if (($2>400) || ($3>400))
{
print "Found a memory-eating dumper process\n$a" ;
`kill $1` ;
sleep(10) ;
`kill -9 $1` ;
}
}
}
Rgds,
Jean Flinois <tech AT vtech DOT fr>
V-Technologies, Savennières
|
|
|