[ofa-general] Running more than 894 processes doing rdma_listen

David McMillen davem at systemfabricworks.com
Wed Jul 22 10:59:52 PDT 2009


Is there an explicit limit on the number of ports that can be listening
using rdma_cm?

If so, can you point me to where I can go to adjust this?

Here is how I found the limit:

for (( pn=19000 ; pn < 19894 ; pn++ )) ; do ./ib_rdma_bw -c -p $pn & done

That works just fine.  However, do one more:

./ib_rdma_bw -c -p 19894

It prints out CMA: unable to open RDMA device

It then doesn't gracefully handle that problem, ending in

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 47695401269920 (LWP 30003)]
__ibv_close_device (context=0x0) at src/device.c:154
154             int async_fd = context->async_fd;
(gdb) where
#0  __ibv_close_device (context=0x0) at src/device.c:154
#1  0x00000034e360184f in ucma_cleanup () at src/cma.c:165
#2  0x00000034e3601a13 in ucma_init () at src/cma.c:257
#3  0x00000034e3602080 in rdma_create_event_channel () at src/cma.c:299
#4  0x0000000000403077 in main (argc=4, argv=0x7fffb739fcc8) at
rdma_bw.c:1057


Thanks,
    Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20090722/9be7ea12/attachment.html>


More information about the general mailing list