JAZZ + WAS7 - Too many open files Exception
Helo,
After some time of running, i can see the following exception :
Has anybody seen this before? Does anybody know how to fix it ?
Thx in advance.
After some time of running, i can see the following exception :
[12.10.09 11:09:24:759 CEST] 00000017 servlet E com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0068E: Utworzono niewychwycony wyjątek w jednej z metod usług serwletu equinoxbridgeservlet w aplikacji jazz_war. Utworzony wyjątek: java.net.SocketException: Za dużo otwartych plikw (translation : too many open files)
at java.net.Socket.createImpl(Socket.java:399)
at java.net.Socket.connect(Socket.java:528)
at com.ibm.jsse2.sc.connect(sc.java:597)
at com.ibm.team.http.client.impl.NaiveSSLSocketFactory.connectSocket(NaiveSSLSocketFactory.java:110)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:129)
at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164)
at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:349)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
at com.ibm.team.jfs.app.http.cache.HttpCache.executeCacheMiss(HttpCache.java:176)
at com.ibm.team.jfs.app.http.cache.HttpCache.execute(HttpCache.java:108)
at com.ibm.team.jfs.app.http.cache.HttpCache.execute(HttpCache.java:89)
at com.ibm.team.http.client.impl.HttpClientService.send(HttpClientService.java:243)
at net.jazz.ajax.service.internal.http.ThemingHandler.sendLocalRequest(ThemingHandler.java:1246)
at net.jazz.ajax.service.internal.http.ThemingHandler.sendJfsRequest(ThemingHandler.java:1200)
at net.jazz.ajax.service.internal.http.ThemingHandler.getActiveThemeName(ThemingHandler.java:754)
at net.jazz.ajax.service.internal.http.ThemingHandler.getAllThemeCSS(ThemingHandler.java:612)
at net.jazz.ajax.service.internal.http.ThemingHandler.handleGet(ThemingHandler.java:268)
at net.jazz.ajax.service.internal.http.ThemingHandler.handle(ThemingHandler.java:231)
at com.ibm.team.server.httpcore.bridge.AbstractHandlerWrapperServlet.doWrappedService(AbstractHandlerWrapperServlet.java:136)
at net.jazz.ajax.service.internal.EndpointRegistrar$1.doWrappedService(EndpointRegistrar.java:81)
at com.ibm.team.server.httpcore.bridge.AbstractHandlerWrapperServlet.service(AbstractHandlerWrapperServlet.java:109)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
Has anybody seen this before? Does anybody know how to fix it ?
Thx in advance.
3 answers
On Mon, 12 Oct 2009 15:08:01 +0000, wagnerja wrote:
Some instructions for increasing the open file limit are available at the
top of this workitem:
28447: "too many open files" error on Linux
https://jazz.net/jazz/resource/itemName/
com.ibm.team.workitem.WorkItem/28447
--
Jared Burns
Jazz Process Team
I've seen this "too many open files" error before. It's usually an
operating system problem and you need to increase the open files limit
for your operating system. This happened to me in Linux and I'm not sure
if it can happen on other operating systems, too.
You can check to see what the limit for file descriptors is by running:
$ cat /proc/sys/fs/file-max
Mine is set to 303573. You might even need to increase it beyond this
depending on your server. To increase this limit, I would just do a
Google search for 'too many open files" error as there are many
tutorials out there.
If you increase the OS file descriptor limit and are still having
problems, please post back!
Some instructions for increasing the open file limit are available at the
top of this workitem:
28447: "too many open files" error on Linux
https://jazz.net/jazz/resource/itemName/
com.ibm.team.workitem.WorkItem/28447
--
Jared Burns
Jazz Process Team
I've seen this "too many open files" error before. It's usually an operating system problem and you need to increase the open files limit for your operating system. This happened to me in Linux and I'm not sure if it can happen on other operating systems, too.
You can check to see what the limit for file descriptors is by running:
$ cat /proc/sys/fs/file-max
Mine is set to 303573. You might even need to increase it beyond this depending on your server. To increase this limit, I would just do a Google search for 'too many open files" error as there are many tutorials out there.
If you increase the OS file descriptor limit and are still having problems, please post back!
You can check to see what the limit for file descriptors is by running:
$ cat /proc/sys/fs/file-max
Mine is set to 303573. You might even need to increase it beyond this depending on your server. To increase this limit, I would just do a Google search for 'too many open files" error as there are many tutorials out there.
If you increase the OS file descriptor limit and are still having problems, please post back!