Subject: Re: [vserver] Shared Memory
From: Holger Amann <keeney@fehu.org>
Date: Tue, 27 Oct 2009 01:08:12 +0100


Am 27.10.2009 um 00:50 schrieb Timothee Besset:

> I'm probably not familiar enough with how PostgreSQL works to help  
> you,
> just going from my experience with Oracle here. I don't suppose  
> pgsql's
> 'shared memory' could mean OS shared memory (as in, a tmpfs mount),
> because you have none. Oracle won't run if you're not giving it a
> /dev/shm tmpfs mount, but it's possible to do that for a guest (I do
> that). So all I can think of is that pgsql wants one and you haven't
> given any.
>
> TTimo

Thank you for your help!

I tried it (if the following is ok) and restarted Postgres, but it  
made no difference in memory usage

guest1:/var/log/postgresql# mount
/dev/hdv1 on / type ufs (defaults)
none on /proc type proc (defaults)
none on /tmp type tmpfs (size=16m,mode=1777)
none on /dev/pts type devpts (gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw,size=4000M)

Holger