Need functionality similar to Memory Overcommit (aka Lazy Swap)
Due to heavy load at peak times my web server and other processes often runs out of memory and system starting swapping and became unresponsive.
Other os kernels (like Linux, FreeBSD) OOM (out-of-memory) process killer just kills such processes and system can handle such peak times.
As shown in this article http://developers.sun.com/solaris/articles/subprocess/subprocess.html#overcom Solaris do not have memory overcommit mode.
I'd like to have similar functionality on my Solaris 10. Can I somehow tell Solaris to not allow swap usage for particular user or processes (or the best - system wide)?
For instance, restrict apache from using swap and kill any child process which demands more memory than available. In dilemma between dead server and dead child process I'd prefer the second one.

