Search code examples
c++file-iovxworks

VXWORKS simulator limits?


I am currently working on porting a code under VxWorks. so I use the simulator to validate changes. This code requires the opening of many pipes and sockets. I have a problem with the opening of these files descriptors. Indeed, I can open 17 files descriptors (sockets or pipes cause the same error) but the following return the error "EMFILE: too many opened files". After some research on the net, I modified the global variable NUM_FILES, but this change had no effect. Do you know if this is the simulator that limits the number of files descriptors opened simultaneously ?

Thank you for your help


Solution

  • I found the problem

    i had to modify RTP_FD_NUM_MAX it was a specific RTP value