[ofa-general] ENOMEM
Dotan Barak
dotanb at dev.mellanox.co.il
Tue Feb 5 01:12:08 PST 2008
Ruben Niederhagen wrote:
> Jack Morgenstein wrote:
>
>> On Sunday 03 February 2008 11:09, Ruben Niederhagen wrote:
>>
>>> 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...
>>>
>>>
>> should be:
>>
>> * hard memlock 1024
>> * soft memlock 1024
>>
>> You used "locks", which refers to file locks, not memory locks.
>>
>
> Thanks a lot, setting the value to 1024 leads to
>
> $ ibv_srq_pingpong
> Couldn't create QP[13]
>
> with 2048 everything works fine!
>
Please pay attention: the amount of memory pages that you need to be
able to lock depends
on the amount of the objects (for example: number of QPs) and the size
of those objects
(to continue the previous example: in a QP, number of WRs and number of
S/Gs).
Dotan
More information about the general
mailing list