linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* Migrating SYSV Limits to rlimit ?
@ 2009-03-31 20:44 Francois - kml
  0 siblings, 0 replies; only message in thread
From: Francois - kml @ 2009-03-31 20:44 UTC (permalink / raw)
  To: linux-mm

Hi,

Most distros sets their own shmmax/shmall values.
DB admins wants and usually sets large values for their processes.
Global limits means there's no guarantee, except the upper limit.

So I'm currently working on a patch moving sysv shm limits to rlimit, which 
would allow a finer grained tuning. Currently:
- Lower by default shmmax/shmall values (at least the mainline ones)
- Allow raising those limits through sysctl, privilegied /proc access or 
setrlimit w/CAP_SYS_RESOURCE
- Limit resources by user with the user accounting struct
- Set the initial values through Kconfig
- Bind of sysctl modifications to init's rlimit hard values

I'm looking for comments.
Is that something that could interest a specific branch ?

Refs: Bugzilla Bug 11381
Some discussion about it:
http://marc.info/?t=112315565600001&r=1&w=2

Francois

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-03-31 20:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-31 20:44 Migrating SYSV Limits to rlimit ? Francois - kml

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox