Re: Locking shared memory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Allen, Jack wrote:

> I do not think the error is because of the first explanation of ENOMEM
> So my question is based on the second one. 
> 
> Is there a kernel or vm parameter that controls how much memory a
> process can utilize? 
> 
> I am running RH AS 4.4 32 bit with 2GB of physical memory. 
> 
> Thanks in advance: 
> Jack Allen 
> 

G'day Jack,

There is memlock limit in shell, changed using the ulimit command from
bash. See ulimit -l:

$ ulimit -l
32


The actual hard and soft limits are controlled on a Red Hat system using
the pam_limits pam module, using the config file /etc/security/limits.conf

Check the doc's from RHEL4 for the pam module for details :

/usr/share/doc/pam-0.77/txts/README.pam_limits

This may well be where the ENOMEM came from, as the default limit that a
user may lock memory is 32kB.

Cheers,
Michael

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux