Date: Fri, 23 Jan 1998 04:36:55 +0100 From: Palle Girgensohn <girgen@partitur.se> To: freebsd-questions@FreeBSD.ORG Subject: shared memory problem, SHMAX kernel setting? Message-ID: <34C81057.CA0B571B@partitur.se>
next in thread | raw e-mail | index | archive | help
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); This call requires approx 32*20 KB = 640 KB of shared memory. The system maxlevel is set to 4 Mb, *I think* (?), but I'm not sure if this is for all shared memory or per share id? Do I need to boost this in the kernel? How do I do this best? I use postgres and some other stuff that uses shared memory on the computer, so it could have ran out of it, perhaps? The machine has plenty of memory (128 MB RAM) so that's not the problem. (This is from top: > CPU states: 0.4% user, 0.0% nice, 0.0% system, 0.0% interrupt, 99.6% idle > Mem: 70M Active, 7496K Inact, 21M Wired, 23M Cache, 8351K Buf, 4320K Free > Swap: 424M Total, 2568K Used, 421M Free, 1% Inuse ) The system is a FreeBSD 2.2.5 w/ SCSI tape. Shared memory (SYSVSHM) is on in the kernel config. If somone could give me a helping hand, I'd be much obliged.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?34C81057.CA0B571B>