Re: Locking shared memory



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



Relevant Pages

  • RE: Locking shared memory
    ... Subject: Locking shared memory ... Allen, Jack wrote: ... Is there a kernel or vm parameter that controls how much memory a ... lock the second 256MB shared memory segment address it still fails the ...
    (RedHat)
  • Re: Fanuc evolution
    ... doesn't use bubble memory and therefore its memory is pretty limited - ... I think both 10 and 11 controls used bubble for the execs. ... I don't recall that I ever even looked at the tape reader interface. ...
    (alt.machines.cnc)
  • Re: Programatically design a form
    ... Is the limit on the number of controls based upon EACH ... > form in a VBA app? ... load into memory, which would occur if you copy controls from one form to ... Peter T ...
    (microsoft.public.vb.general.discussion)
  • Re: Allow textbox to go past 32K characters?
    ... Windows NT 4.0, Windows 2000, Windows Server 2003 family Platform Note: For single line text box controls, if the MaxLength ... property is set to 0, the maximum number of characters the user can enter is 2147483646 or an amount based on available memory, ... amount based on available memory, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: RS232 for Ge 1050MCCM
    ... GE made a serial card to plug into the tape reader driver slot that was used in some big shops that had dnc links installed. ... I run a 1050MMC and two 1050HL's and they all are very stable controls. ... There are two Tulip boards available, one with a single memory and another with a dual memory setup with an A/B switch. ...
    (alt.machines.cnc)