PostgreSQL uses more memory on 6.1?

Chad Leigh -- Shire.Net LLC chad at shire.net
Tue May 23 13:48:04 PDT 2006


On May 23, 2006, at 2:37 PM, Kirk Strauser wrote:

> I just upgraded from 6-STABLE as of 2006-02-18 to 6-STABLE as of  
> 2006-05-21,
> and was surprised to find that PostgreSQL wouldn't start because it
> couldn't allocate enough shared memory.  Thing is, I didn't make a  
> single
> hardware change during the reboot and didn't upgrade any ports on the
> machine.
>
> My emergency fix was to edit postgresql.conf to change  
> shared_buffers from
> 8192 to 2048.  Unfortunately, that seems to be hurting performance  
> - I'm
> getting annoying deadlocks at 4AM whenever multiple daemons start  
> their
> overnight batch runs.
>
> Has anyone else seen this behavior when upgrading from 6.0 to 6.1?   
> Any
> ideas for a fix?


Just a guess -- did some kernel default for shared memory change or  
did you change your kernel config? Can you rebuild your kernel with  
explicit shared memory values?   Look  in the NOTES in /usr/src/sys/ 
conf at the various SHM values


not an expert
Chad

---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
chad at shire.net





More information about the freebsd-questions mailing list