From owner-freebsd-questions Tue Jan 27 10:28:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA06460 for questions-outgoing; Tue, 27 Jan 1998 10:28:33 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA06362 for ; Tue, 27 Jan 1998 10:27:46 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id KAA16547; Tue, 27 Jan 1998 10:27:32 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Date: Tue, 27 Jan 1998 10:27:32 -0800 (PST) From: Doug White Reply-To: Doug White To: Palle Girgensohn cc: freebsd-questions@FreeBSD.ORG Subject: Re: shared memory problem, SHMAX kernel setting? In-Reply-To: <34C81057.CA0B571B@partitur.se> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk On Fri, 23 Jan 1998, Palle Girgensohn wrote: > Hi! > > I'm trying to get the backup software Amanda up and running. Instead of > using the port, I tried the new beta, 2.4.0b6 (last beta, they hope). > > When running amanda 2.4.0b6, I get: > > ... > START driver date 19980123 > FATAL taper shmget: Cannot allocate memory > ... > > in the /var/amanda/log file. (Apart from the tape not working, amanda > seems to be doing just fine...) > > it seems to happen in this call: > > shmid = shmget(IPC_PRIVATE, sizeof(buffer_t)*NBUFS, IPC_CREAT|0700); You might be running into some per-process limits, depending on how big amanda balloons. Try running `unlimit' before amands. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major