Amanda-Users

Re: Amanda's dumper going amok

2004-11-05 09:28:51
Subject: Re: Amanda's dumper going amok
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: Flynn <tech AT vtech DOT fr>
Date: Fri, 05 Nov 2004 15:21:37 +0100
Flynn wrote:

Here is what I got from last night's run - it didn't fail, but there is
somehow a clue right there :

    09:16:04  up 23:18,  1 user,  load average: 4.34, 4.45, 4.29
    59 processes: 57 sleeping, 2 running, 0 zombie, 0 stopped
    CPU states:   0.9% user  29.8% system   0.0% nice   0.0% iowait  69.1% idle
    Mem:   513792k av,  507424k used,    6368k free,       0k shrd,    1120k  
buff
                        487696k actv,    1076k in_d,       8k in_c
    Swap:  530136k av,  530136k used,       0k free                     240k 
cached

      PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME CPU COMMAND
     2454 amanda    15   0  985M 475M    52 D     0.5 94.6  33:18   0 dumper
     2441 amanda    15   0   120    4     0 S     0.0  0.0   0:00   0 amdump
     2451 amanda    15   0   200    4     0 S     0.0  0.0   0:01   0 driver
     2452 amanda    15   0   148    0     0 SW    0.0  0.0  28:36   0 taper
     2455 amanda    15   0   244    4     0 S     0.0  0.0   0:00   0 dumper
     2457 amanda    15   0   244    4     0 S     0.0  0.0   0:01   0 dumper
     2458 amanda    25   0   144    4     0 S     0.0  0.0   0:00   0 dumper
     3238 amanda    23   0   124    4     0 S     0.0  0.0   1:27   0 sendbackup
     3240 amanda    15   0   340    4     0 S     0.0  0.0   0:00   0 gzip
     3242 amanda    25   0   128    4     0 S     0.0  0.0   0:00   0 sh
     3243 amanda    15   0    64    4     0 S     0.0  0.0   0:27   0 tar
     3244 amanda    15   0  1572    4     0 S     0.0  0.0   2:43   0 smbclient
     3245 amanda    15   0    80    4     0 S     0.0  0.0   0:02   0 sed

It seems like "dumper" (2454) eats up all the memory I have, including the
swap area up to 1Gb.
Once there, either it fails with a "not enough memory", or something goes
wrong and the
system locks itself up probably due to another bug...

So the question is : why does "dumper" eat so much memory ?

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?

--
Paul Bijnens, Xplanation                            Tel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM    Fax  +32 16 397.512
http://www.xplanation.com/          email:  Paul.Bijnens AT xplanation DOT com
***********************************************************************
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, F6, *
* quit,  ZZ, :q, :q!,  M-Z, ^X^C,  logoff, logout, close, bye,  /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* kill -9 1,  Alt-F4,  Ctrl-Alt-Del,  AltGr-NumLock,  Stop-A,  ...    *
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out          *
***********************************************************************