Re: bad shmget()?? Out of shared memory?

From: Richard B. Johnson (root@chaos.analogic.com)
Date: Tue Mar 07 2000 - 17:05:49 EST


On Tue, 7 Mar 2000, Admin Mailing Lists wrote:

>
> Running kernel 2.2.14 with NR_TASKS set to 1024, dual PPro 200s, libc
> 5.4.38, binutils-2.9.1.0.15, gcc version 2.7.2.1, procps version 1.2.7
>
> On trying to start a new apache 1.3.9/ssl-1.3.7 web process I get:
> [Tue Mar 7 15:03:13 2000] [emerg] (28)No space left on device: could not
> call shmget
>
> /proc/meminfo outputs:
> total: used: free: shared: buffers: cached:
> Mem: 330436608 326524928 3911680 567758848 23367680 140308480
> Swap: 133885952 9543680 124342272

Sombody has allocated a lot of shared memory. `man ipcs`. When shared
memory segments are created, they are not deleted when access is closed.
Probably some program is failing to delete shared memory segments when it
exits.

Cheers,
Dick Johnson

Penguin : Linux version 2.3.41 on an i686 machine (800.63 BogoMips).

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Mar 07 2000 - 21:00:23 EST