Quick Help with File Resource limits on snapshot build

Jake Janovetz janovetz at uiuc.edu
Thu Dec 7 16:58:37 UTC 2000


Yes, this is a funny little error that popped up at some point.
They reduced the default number of file descriptors from like
20 to 3.  That prevents the network from initializing.  So,
put this in your init.c:

#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS   30

    Cheers,
    Jake


On Thu, Dec 07, 2000 at 04:37:01PM -0000, bob wrote:
> Apologies to all for my ignorance. I have just about ported the latest
> snapshot to our 68360 BSP but now I get the following errors when RTEMS is
> starting up after building any net application (such as the Beta 3 netdemo
> example program):-
> 
> Can't bring scc1 up: Too many open files in system
> Can't set default route: No such process
> No routes!
> Create socket.
> RTEMS: Can't create socket: Too many open files in system
> RTEMS: fatal error, exiting
> 
> I guess I need to allocate some file descriptor resources - I have just
> downloaded the IMFS manual but not read it yet (that's homework for
> tonight).
> Any quick help much appreciated :)
> Bob Wisdom



More information about the users mailing list