• Vxworks Simulator limits ?

    From basile.bernier@isen-lille.fr@21:1/5 to All on Wed Jul 6 04:46:56 2016
    Hi all,

    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From eric_lp56@yahoo.fr@21:1/5 to All on Thu Jul 7 00:24:27 2016
    Le mercredi 6 juillet 2016 13:46:59 UTC+2, basile....@isen-lille.fr a écrit :

    Do you know if this is the simulator that limits the number of files descriptors opened simultaneously ?

    Hi

    I don't think so. I would look for PIPE_MAX_OPEN_FDS parameter instead.
    HIH

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From basile.bernier@isen-lille.fr@21:1/5 to All on Thu Jul 7 01:34:04 2016
    Le jeudi 7 juillet 2016 09:24:29 UTC+2, eric...@yahoo.fr a écrit :
    Le mercredi 6 juillet 2016 13:46:59 UTC+2, basile....@isen-lille.fr a écrit :

    Do you know if this is the simulator that limits the number of files descriptors opened simultaneously ?

    Hi

    I don't think so. I would look for PIPE_MAX_OPEN_FDS parameter instead.
    HIH

    Hi,

    thank you for your answer
    description for is PIPE_MAX_OPEN_FDS "maximum open fds for each pipe device"
    so how many fds could be opened for one pipe, which is not my problem

    I try anyway to change this value, but it had no effect.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From basile.bernier@isen-lille.fr@21:1/5 to All on Mon Jul 11 06:31:35 2016
    Le jeudi 7 juillet 2016 10:34:05 UTC+2, basile....@isen-lille.fr a écrit :
    Le jeudi 7 juillet 2016 09:24:29 UTC+2, eric...@yahoo.fr a écrit :
    Le mercredi 6 juillet 2016 13:46:59 UTC+2, basile....@isen-lille.fr a écrit :

    Do you know if this is the simulator that limits the number of files descriptors opened simultaneously ?

    Hi

    I don't think so. I would look for PIPE_MAX_OPEN_FDS parameter instead.
    HIH

    Hi,

    thank you for your answer
    description for is PIPE_MAX_OPEN_FDS "maximum open fds for each pipe device" so how many fds could be opened for one pipe, which is not my problem

    I try anyway to change this value, but it had no effect.


    I found the problem

    i had to modify RTP_FD_NUM_MAX ity was a specific RTP value

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)