in reply to Out of memory error when using IPC::Shareable

My first inclination is to key off your use of the phrase "shared memory". I've dealt with this before for the PostgreSQL database and I pulled up it's documentation on the issue at http://www.postgresql.org/idocs/index.php?kernel-resources.html. The net result is that if you're on a UNIX-alike then you'll need to configure your kernel to provide more resources for System V IPC (shared memory / semaphores). On a Win32 computer I use an IPC daemon from cygwin and haven't ever bothered to figure out how to tweak it. Anyhow - just follow the link and it's fully laid out there.


Fun Fun Fun in the Fluffy Chair

  • Comment on Re: Out of memory error when using IPC::Shareable

Replies are listed 'Best First'.
Re: Re: Out of memory error when using IPC::Shareable
by msergeant (Novice) on Jan 09, 2003 at 06:55 UTC
    The OS I am using is FreeBSD, I've gone a bit overboard and given it 128MB of shared memory to play with yet it still bombs out memory wise. The following are my current settings pertaining to shared memory.

    kern.ipc.shmmax: 134217728
    kern.ipc.shmmin: 1
    kern.ipc.shmmni: 192
    kern.ipc.shmseg: 128
    kern.ipc.shmall: 32768
    kern.ipc.shm_use_phys: 1

    I was going to have a look at the site you posted but unfortunately it seems postgres can't connect to it's own DB ;)
    Cheers,

    Mark

      It appears someone is doing maintenance. It was up an hour ago. Either that or the site is being hacked. Try tomorrow. Or wait for other monks to get back with other suggestions. That was my best thought.


      Fun Fun Fun in the Fluffy Chair