Amanda-Users

Re: no space left on device during amflush

2005-10-05 19:58:27
Subject: Re: no space left on device during amflush
From: Paddy Sreenivasan <paddy.sreenivasan AT gmail DOT com>
To: Shang-Lin Chen <schen AT gps.caltech DOT edu>
Date: Wed, 5 Oct 2005 16:39:58 -0700
Maybe some other processes is using more shared memory or shared memory segments.
Check output of ipcs (ipcs equivalent in Solaris)

Paddy

On 10/5/05, Shang-Lin Chen <schen AT gps.caltech DOT edu> wrote:
The Amanda server is running Solaris, so it doesn't have /proc. But I
checked /etc/system and found this:
set shmsys:shminfo_shmmax=268435456
set shmsys:shminfo_shmmin=1
set shmsys:shminfo_shmmni=100
set shmsys:shminfo_shmseg=10
set semsys:seminfo_semmns=70
set semsys:seminfo_semmni=100
set semsys:seminfo_semmsl=70
set semsys:seminfo_semopm=100
set semsys:seminfo_semvmx=32767
forceload: sys/shmsys

If these settings worked before, how come amflush is failing now?

Thanks,
Shang-Lin

On Wed, 2005-10-05 at 14:54 -0700, Paddy Sreenivasan wrote:
> Can you check the number of shared memory segments and shared memory
> allocated in the system? You may have to adjust the values of
> shmall and shmmni (cat /proc/sys/kernel/shmmni)
>
> Paddy
>
> On 10/5/05, Shang-Lin Chen <schen AT gps.caltech DOT edu> wrote:
>         I added
>         tapebufs 50
>         to amanda.conf after the labelstr line, and this is the output
>         I'm
>         getting now:
>
>
>         FAILURE AND STRANGE DUMP SUMMARY:
>           taper: FATAL shmget: (1638600 tapebufs) No space left on
>         device
>           amflush: ERROR Cannot flush without tape.  Try again.
>
>         Shang-Lin
>
>         On Wed, 2005-10-05 at 17:02 -0400, Scott R. Burns wrote:
>         > Try
>         >
>         > tapebufs 50
>         >
>         > In your amanda.conf file
>         >
>         > Scott...
>         >
>         > Scott R. Burns
>         > NETCON Technologies Incorporated
>         > Suite 135 - 4474 Blakie Road
>         > London, Ontario, Canada
>         > N6L 1G7
>         > Voice: +1.519.652.0401
>         > Fax: +1.519.652.9275
>         > Web: www.netcontech.com
>         >
>         > -----Original Message-----
>         > From: Shang-Lin Chen [mailto: schen AT gps.caltech DOT edu]
>         > Sent: Wednesday, October 05, 2005 4:21 PM
>         > To: Paul Bijnens
>         > Subject: Re: no space left on device during amflush
>         >
>         >
>         > > Shang-Lin Chen wrote:
>         > > >   taper: FATAL shmget: (655440 tapebufs) No space left
>         on device
>         > >
>         > > The default value for tapebufs is 20 (buffers of 32K bytes
>         each).
>         > > You probably got some weird value in amanda.conf for that
>         parameter.
>         > >
>         > > The above value results if over 20 GByte of RAM.
>         > >
>         > My amanda.conf file doesn't set anything for tapebufs, and
>         I've never
>         > had this problem before. How do I change the tapebufs
>         setting?
>         >
>         > Thanks,
>         > Shang-Lin
>         > >
>         >
>
>