<br>Is there an explicit limit on the number of ports that can be listening using rdma_cm?<br><br>If so, can you point me to where I can go to adjust this?<br><br>Here is how I found the limit:<br><br>for (( pn=19000 ; pn < 19894 ; pn++ )) ; do ./ib_rdma_bw -c -p $pn & done<br>
<br>That works just fine. However, do one more:<br><br>./ib_rdma_bw -c -p 19894<br><br>It prints out CMA: unable to open RDMA device<br><br>It then doesn't gracefully handle that problem, ending in<br><br>Program received signal SIGSEGV, Segmentation fault.<br>
[Switching to Thread 47695401269920 (LWP 30003)]<br>__ibv_close_device (context=0x0) at src/device.c:154<br>154 int async_fd = context->async_fd;<br>(gdb) where<br>#0 __ibv_close_device (context=0x0) at src/device.c:154<br>
#1 0x00000034e360184f in ucma_cleanup () at src/cma.c:165<br>#2 0x00000034e3601a13 in ucma_init () at src/cma.c:257<br>#3 0x00000034e3602080 in rdma_create_event_channel () at src/cma.c:299<br>#4 0x0000000000403077 in main (argc=4, argv=0x7fffb739fcc8) at rdma_bw.c:1057<br>
<br><br>Thanks,<br> Dave<br><br>