[jboss-jira] [JBoss JIRA] (AS7-5516) Too many Open files in JBoss AS7
Darran Lofthouse (JIRA)
jira-events at lists.jboss.org
Mon Sep 10 05:34:32 EDT 2012
[ https://issues.jboss.org/browse/AS7-5516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12716903#comment-12716903 ]
Darran Lofthouse commented on AS7-5516:
---------------------------------------
For any report like this we really need to see what files are currently open, this error either indicates that your limits are set too low for JBoss or it indicates a lean in open files either way the list will help - to list the open files: -
lsof -p <pid> - where <pid> is replaced with the process ID of the JBoss instance.
Also the command 'ulimit -a' will display your current limits.
Whilst you are analysing your set up it would be better to make use of the user forums to discuss this and then return to Jira if a leak is actually identified.
> Too many Open files in JBoss AS7
> --------------------------------
>
> Key: AS7-5516
> URL: https://issues.jboss.org/browse/AS7-5516
> Project: Application Server 7
> Issue Type: Bug
> Reporter: Suman Alapati
>
> Hi,
> I am Using Jboss As-7 as my application server in Linux box at the time of deployment i am getting below stack trace. Can one let me the reason behind of the below Stack Trace :
> =========================================================================
> Caused by: java.io.FileNotFoundException: /home/appuser/dpc/jbossas7/standalone/tmp/vfs/deploymentca2dd52bc934385/xbean-2.1.0.jar-972256156c28c093/xbean-2.1.0.jar (Too many open files)
> at java.io.FileOutputStream.open(Native Method) [rt.jar:1.6.0_22]
> at java.io.FileOutputStream.<init>(FileOutputStream.java:209) [rt.jar:1.6.0_22]
> at java.io.FileOutputStream.<init>(FileOutputStream.java:160) [rt.jar:1.6.0_22]
> at org.jboss.vfs.TempDir.createFile(TempDir.java:93)
> at org.jboss.vfs.spi.JavaZipFileSystem.<init>(JavaZipFileSystem.java:83)
> at org.jboss.vfs.VFS.mountZip(VFS.java:408)
> at org.jboss.vfs.VFS.mountZip(VFS.java:434)
> at org.jboss.as.web.deployment.WarStructureDeploymentProcessor.createWebInfLibResources(WarStructureDeploymentProcessor.java:170)
> ... 8 more
> 13:48:02,874 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "uisearch.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"uisearch.war\".STRUCTURE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"uisearch.war\".STRUCTURE: Failed to process phase STRUCTURE of deployment \"uisearch.war\""}}
> 13:48:02,915 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877: Stopped deployment uisearch.war in 41ms
> 13:48:02,917 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report
> JBAS014777: Services which failed to start: service jboss.deployment.unit."uisearch.war".STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit."uisearch.war".STRUCTURE: Failed to process phase STRUCTURE of deployment "uisearch.war"
> =======================================================================
> I am Still Confusing where i am doing wrong . And i would like to know is it because of Jboss or Linux box.
> Thanks in Advance,
> Suman Alapati.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list