[ofa-general] ENOMEM

Ruben Niederhagen ruben at lfbs.rwth-aachen.de
Sun Feb 3 01:09:50 PST 2008


Hi!

Thanks for your reply!

Kilian CAVALOTTI wrote:
> On Friday 01 February 2008 09:12:28 am Ruben Niederhagen wrote:
>> When I try to run ibv_srq_pingpong as non-root-user, I get the error
>> "Couldn't create QP[5]".
> 
>> 0\0\0@"..., 48) = -1 ENOMEM (Cannot allocate memory)
> 
>> As root-user everything is working fine...
> 
> You can try to check the non-root user's max-locked memory limits, 
> with "ulimit -l" in a bash shell (those limits are usually set 
> in /etc/security/limits.conf).

For 'ulimit -l' I get 512 - as root as well as usual user; souldn't that 
be enough?

How do I enlarge this limit? The line
#<domain>      <type>  <item>         <value>
*               hard    locks           1024
in /etc/security/limits.conf (+reboot) didn't do the trick...

Thank you!
   Ruben



More information about the general mailing list