[
https://issues.jboss.org/browse/WFLY-2862?page=com.atlassian.jira.plugin....
]
Jakob Munih updated WFLY-2862:
------------------------------
Attachment: dump-9406-514
I was forced to set the ulimit up to more than 10k to be able to deploy LR. The file
dump-9406-514 captured the 514 iteration of calling lsof after server start up that logs
9406 open files. As soon as LR deploys the number of openfiles fails down to 1.2k. Issue
not present in AS7, where the number of open files can rest on the linux default (1024).
{code}
#!/bin/sh
PID=`ps -ef | awk '/[j]boss/{print $2}'`
echo $PID
N=1
while true;
do
content=`lsof -p $PID`;
lines=`echo "$content" | wc -l`
file="lsof_logs/dump-$lines-$N"
echo "$content" > $file;
echo $file
N=$((N+1))
done
{code}
Liferay too many open files during deployment
---------------------------------------------
Key: WFLY-2862
URL:
https://issues.jboss.org/browse/WFLY-2862
Project: WildFly
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Web (Undertow)
Affects Versions: 8.0.0.CR1
Environment: linux 3.11.0-15-generic
Reporter: Jakob Munih
Assignee: Tomaz Cerar
Priority: Blocker
Fix For: 8.0.0.Final
Attachments: dump-9406-514, dump-fail-deply-lr.txt, dump-nothingtodeploy.txt,
server-fail-deploy-liferay.log
Liferay 6.2 deploys as an exploded war. Normally after deployment it builds a theme
(css/js boundles). Even if only Liferay is deployed a Too many open files exception is
thrown. When /proc/sys/fs/file-max is 6815744. While trying to configure it or deploy
other portlets (exploded wars too) the too many open files exception is encountered even
at the deployment time (server start up).
13:57:48,110 ERROR [MSC service thread 1-12][MainServlet:262]
java.io.FileNotFoundException:
/home/munih/development/tools/wildfly-8.0.0.Final-SNAPSHOT/standalone/deployments/ROOT.war/WEB-INF/liferay-layout-templates.xml
(Too many open files)
--
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