Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Sep 2001 13:46:18 +0100
From:      "Jamie Burns" <jamie.burns@dynamicexpression.co.uk>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   shared memory segments
Message-ID:  <00a501c133ad$42d6d9a0$0100a8c0@shaggy>

next in thread | raw e-mail | index | archive | help
please can someone help with a problem i know nothing about?!? ;o)

my box seems to be having trouble with shared memory...

i am trying to run some cache software with php but keep getting these
errors (they have always ran fine elsewhere) ...

APC Cache:

    apc_sem_create: semget(0,...) failed:dynamicexpression#  No space left
on device

PHP Cache:

    Unable to allocate shared memory segment of 2097152 bytes: Cannot
allocate memory (12)

i ran the ipcs command and it reports:

    dynamicexpression# ipcs -M
    shminfo:
        shmmax: 4194304 (max shared memory segment size)
        shmmin:       1 (min shared memory segment size)
        shmmni:      96 (max number of shared memory identifiers)
        shmseg:      64 (max shared memory segments per process)
        shmall:    1024 (max amount of shared memory in pages)

it seems that shmmax is enough?

please help obi wan, your my only hope...

;o)

jamie.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00a501c133ad$42d6d9a0$0100a8c0>