FreeBSD login.conf optimizition? (CPU/Memory limits, etc)
Hi folks,I am running a FreeBSD 5.2.1 system on an AMD XP2800 with 1024M RAMbox. (using WHM/cPanel)
I know that the only way to limit the CPU and momory usage for users is to edit the /etc/login.conf file.
However, since I've searched on google and looked up the FreeBSD handbook (http://www.freebsd.org/doc/en_US.ISO...-limiting.html), I still don't have a clue. So could anyone help me out?
In the login.conf file, there's settings for "default" and "standard" and some other. What is the difference between default and standard?
And also, according to my server spec, how do I set those values?
# :cputime=1h30m:\
# :datasize=8M:\
# :vmemoryuse=100M:\
# :stacksize=2M:\
# :memorylocked=4M:\
# :memoryuse=8M:\
# :filesize=8M:\
# :coredumpsize=8M:\
# :openfiles=24:\
# :maxproc=32:\
# :priority=0:\
# :requirehome:\
# :passwordtime=90d:\
# :umask=002:\
# :ignoretime@:\
# :tc=default:
I am not sure some of the settings. Like, what is memorylocked? vmemoryuse? stacksize? datasize? ... and so on... Could anyone kindly explain what do those settings actually about? (one by one explainations please if you can?)
And please if you can, suggest the values for these settings. :-)
Thanks in advance!