You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Markus P <ve...@gmail.com> on 2016/08/09 07:43:49 UTC

spark-rest fails with too many files open

hi, we are triggering REST api exposed by spark-rest multiple times
sequentially and at some point we get this exception:


How to fix java.net.SocketException: Too many files open
<https://javarevisited.blogspot.com/2013/08/how-to-fix-javanetsocketexception-too-many-open-files-java-tomcat-weblogic.html>

our rest config

 restConfiguration().component("spark-rest").bindingMode(RestBindingMode.json).port(8090);


is it related to the spark bugs?

thanks,