Hi,

I think you are running ur SM under Linux environment. The default
configurations are set in ur linux to 1024, u can see this value using
'ulimit -n" in the shell.
If you increase this value, you can normally run your configuration as
above.

Thanks,
Uday Garikapati


On 10/6/06, Hélène JOANIN <[EMAIL PROTECTED]> wrote:

Hi,

I did an example of using the component servicemix-http and the LW
component XSLT.
This example causes a "java.io.IOException: Too many open files" error
when I execute it quite often to exceed the limit of the number of file
descriptors a process may have on my system.
Did I miss something or is there a bug in a servicemix component which
forget to close a stream or a socket ?

You can find in attachment a very simple example to reproduce the problem.
To run this example:
- the SERVICEMIX_HOME variable must be setting,
- then under the *sm-http-xslt *directory do:
  $ ant setup
  $ servicemix ./servicemix.xml
  $ ant run
"ant run" will execute 1024 times the client. Just do it quite often to
exceed the limit of the number of file descriptors a process may have on
your system.

Note that I can't reproduce this problem with the example "bridge"
delivery with servicemix.

Regards.
Hélène.





--
Thanks,
Udaya Bhaskar Garikapati

Reply via email to