OK now I think I can answer most of my own questions.

The best resource on explain ulimit I found from 1 hour google search:
http://answers.google.com/answers/threadview?id=311442

This article provided overview and PAM integration with ulimits
http://www.seifried.org/security/index.php/Linux_Limiting_and_Monitoring_Users

To control virtual memory size limit (one of the most practical limit),
PAM cannot do it. use ulimit package and edit /etc/sysconfig/ulimit to
control it.

On Tue, 2007-06-12 at 09:18 +0800, Zhang Weiwu wrote:
> Dear list
> 
> I am in the process of learning to manage ulimits. I feel I must have
> hit some limits in one of my boxes but as I am googling around most
> information about ulimits are very very brief. It's explained how to set
> soft or hard limits but not mentioned what's the current status. e.g. I
> know from RTFM that ulimit -n can control the maximum number of open
> file descriptors, but how do I know the exact number of open file
> descriptors on my system? Also -m control the maximum resident set size,
> well I yet didn't find a very clear explanation of resident set size, is
> it what shows up when I use 'free' or 'top'? And there is no 'resident
> set size' in /proc/meminfo too.
> 
> Most google results explain ulimits in less then 3 pages but I guess to
> get enough background knowledge of it I need at least a article much
> longer than that.
> 
> Now I am still googling around and would very appreciate if someone can
> recommend me some good article to read. Thanks a lot in advance!
> 
> -- 
> Zhang Weiwu
> Real Softservice
> http://www.realss.com
> +86 592 2091112
> 
-- 
Zhang Weiwu
Real Softservice
http://www.realss.com
+86 592 2091112

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to