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 Sat, 13 Dec 2008, Andrew Doran wrote:
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

shmmaxpgs appears to be the issue here, not shmmax..

Cheers,
Jared


Home | Main Index | Thread Index | Old Index