Actions
Bug #2938
closedRudder 2.4.0 could crash about OutOfMemory while reading file
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
Rudder 2.4.0.beta5 was used on a SLES 11 64 bits with 1550 Mb of RAM and with these options in /etc/default/jetty:
-server -Xms1024m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=256m -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC -XX:+PrintGCDetails -Xloggc:/var/log/rudder/gc.log -Drudder.configFile=/opt/rudder/etc/rudder-web.properties -Drudder.authFile=/opt/rudder/etc/rudder-users.xml -Dinventoryweb.configFile=/opt/rudder/etc/inventory-web.properties -Dlogback.configurationFile=/opt/rudder/etc/logback.xml -Drun.mode=production"
The error messages in /var/log/rudder/webapp/XXXXX.log:
[...] 2012-09-24 17:32:13.439:WARN::Error for /rudder/javascript/jquery/ui/jquery-ui-1.8.13.custom.js java.lang.OutOfMemoryError at java.io.UnixFileSystem.getBooleanAttributes0(Native Method) at java.io.UnixFileSystem.getBooleanAttributes(Unknown Source) at java.io.File.isDirectory(Unknown Source) at org.eclipse.jetty.util.resource.FileResource.isDirectory(FileResource.java:232) at org.eclipse.jetty.util.resource.FileResource.addPath(FileResource.java:139) at org.eclipse.jetty.server.handler.ContextHandler.getResource(ContextHandler.java:1356) at org.eclipse.jetty.webapp.WebAppContext.getResource(WebAppContext.java:370) at org.eclipse.jetty.webapp.WebAppContext$Context.getResource(WebAppContext.java:1190) at net.liftweb.http.provider.servlet.HTTPServletContext.resource(HTTPServletContext.scala:34) at net.liftweb.http.provider.HTTPProvider$class.isLiftRequest_$qmark(HTTPProvider.scala:139) at net.liftweb.http.LiftFilter.isLiftRequest_$qmark(LiftServlet.scala:757) [...]
Rudder was not used when the error appeared.
Actions