-
1. Re: Too many open files when routing files
ffang Mar 10, 2013 10:43 PM (in response to mari_yaguchi)Hi,
I think this error is caused by somehow you reach the file handler number limitation on your OS. You can adjust it on your OS platform, or post your camel router here so our expert can take a look why so many files not get closed in time.
Freeman
-
2. Re: Too many open files when routing files
mari_yaguchi Mar 10, 2013 11:23 PM (in response to ffang)Hi,
My camel route looks like this :
I running this on Centos 6 32bit with 8GB RAM Intel Xeon 3,1GHz
-
3. Re: Too many open files when routing files
davsclaus Mar 11, 2013 4:01 AM (in response to mari_yaguchi)Yes you run out of file descriptors on your OSS
Though you also have too high thread pool settings in Camel.
And each thread pool is NOT shared, so you have 128 routes x their own thread pool.
So in theory you can have at most open
(500 + 1000) x 128 files.
You may consider sharing the same thread pool with all the 128 routes instead.
For that use a instead of a profile.
If you have Camel in Action book, then I suggest to check out chapter 10, section 10.1 and 10.2.
-
4. Re: Too many open files when routing files
mari_yaguchi Mar 13, 2013 6:33 AM (in response to davsclaus)Thanks for the reply,
The problem is the OS limits the number of open files per user. So i just need to change the limit. But the maximum number is based on your memory. Thanks.