Port-i386 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: default kern.ipc.shmmaxpgs is too low



On Thu, Dec 11, 2008 at 09:20:19PM -0500, Jared D. McNeill wrote:

> Any chance of bumping the default to something a bit more reasonable? 
> gtk apps and mplayer both complain about not being able to allocate shm 
> with the default configuration, bumping it to 8192 makes everything happy.

I suggested this before in private:

- param.c: ifndef SHMMAX then define SHMMAX 0
- shminit: if (shmmax == 0) shmmax = 5% of physical RAM
- shminit: if (shmmax < SHMMAXPGS) shmmax = SHMMAXPGS

Andrew


Home | Main Index | Thread Index | Old Index