Quick Help with File Resource limits on snapshot build

Joel Sherrill joel.sherrill at OARcorp.com
Thu Dec 7 16:45:29 UTC 2000



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 :)

How about...

#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 20

I don't think you need the full IMFS filesystem which requires

#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM

> Bob Wisdom

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel at OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985



More information about the users mailing list