java.io.IOException: The requested operation could not be completed due to a file system limitation

0
We're getting a large amount of exceptions in our production environment while handling webservice calls. We published a webservice and one of the child entities has a base64 encoded string which is mapped to system.FileDocument. This one is causing trouble. We're running the app on premise and the [project-directory]/data/files/ directory contains a huge amount of files, but the disk is not full yet. Restarting the app didn't help. Any help would be appreciated. Edit after solution: It was caused by too many files in the /tmp/ directory. More than 2.1 million. We changed the /tmp/ directory to another directory and that solved the problem. It seems that Mendix doesn't remove the temp files in that directory. com.mendix.core.CoreRuntimeException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: java.security.PrivilegedActionException: java.io.IOException: The requested operation could not be completed due to a file system limitation at oh.a(SourceFile:115) Caused by: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: java.security.PrivilegedActionException: java.io.IOException: The requested operation could not be completed due to a file system limitation at hG.a(SourceFile:183) Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: java.security.PrivilegedActionException: java.io.IOException: The requested operation could not be completed due to a file system limitation at hG.b(SourceFile:217) Caused by: java.security.PrivilegedActionException: java.io.IOException: The requested operation could not be completed due to a file system limitation at if.a(SourceFile:163) Caused by: null at java.security.AccessController.doPrivileged(Native Method) at if.a(SourceFile:201) at if.a(SourceFile:159) at com.mendix.core.objectmanagement.member.MendixBinary.commitValueAsFileDocument(SourceFile:168) at hh.a(SourceFile:92) at hh$f.a(SourceFile:75) at hh$f.apply(SourceFile:75) at scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:59) at scala.collection.immutable.List.foreach(List.scala:76) at hh.f(SourceFile:75) at hh.e(SourceFile:55) at hh.d(SourceFile:41) at hh.executeAction(SourceFile:22) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:57) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:457) at hG.b(SourceFile:206) at hG.a(SourceFile:174) at com.mendix.core.Core.commitWithoutEvents(SourceFile:642) at com.mendix.core.Core.commitWithoutEvents(SourceFile:621) at ok.a(SourceFile:27) at ok$c.a(SourceFile:23) at ok$c.apply(SourceFile:23) at scala.collection.mutable.HashMap$$anon$2$$anonfun$foreach$3.apply(HashMap.scala:104) at scala.collection.mutable.HashMap$$anon$2$$anonfun$foreach$3.apply(HashMap.scala:104) at scala.collection.Iterator$class.foreach(Iterator.scala:772) at scala.collection.mutable.HashTable$$anon$1.foreach(HashTable.scala:157) at scala.collection.mutable.HashTable$class.foreachEntry(HashTable.scala:190) at scala.collection.mutable.HashMap.foreachEntry(HashMap.scala:45) at scala.collection.mutable.HashMap$$anon$2.foreach(HashMap.scala:104) at ok.d(SourceFile:23) at oi.c(SourceFile:413) at og.endDocument(SourceFile:239) at org.apache.xerces.parsers.AbstractSAXParser.endDocument(Unknown Source) at org.apache.xerces.impl.xs.XMLSchemaValidator.endDocument(Unknown Source) at org.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.endEntity(Unknown Source) at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source) at org.apache.xerces.impl.XMLEntityScanner.skipSpaces(Unknown Source) at org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at oh.a(SourceFile:91) at oh.a(SourceFile:54) at lz.a(SourceFile:41) at mz.a(SourceFile:77) at my.a(SourceFile:155) at my.executeAction(SourceFile:98) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:57) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:457) at hG.b(SourceFile:206) at com.mendix.core.Core.execute(SourceFile:304) at nY.a(SourceFile:93) at nY.a(SourceFile:67) at oa.b(SourceFile:97) at oa.a(SourceFile:60) at com.mendix.modules.webservices.WebserviceModule.handleWebserviceCall(SourceFile:357) at jl.processRequest(SourceFile:27) at ji.a(SourceFile:74) at com.mendix.core.MxRuntime.processRequest(SourceFile:908) at com.mendix.m2ee.server.handler.RuntimeHandler.handle(RuntimeHandler.java:45) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111) at org.eclipse.jetty.server.Server.handle(Server.java:351) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:454) at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:900) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:954) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:857) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:77) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:609) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:45) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:599) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:534) at java.lang.Thread.run(Unknown Source) Caused by: The requested operation could not be completed due to a file system limitation at java.io.WinNTFileSystem.createFileExclusively(Native Method) at java.io.File.createTempFile(Unknown Source) at if$9.a(SourceFile:552) at if$9.run(SourceFile:548) at java.security.AccessController.doPrivileged(Native Method) at if.a(SourceFile:201) at if.a(SourceFile:159) at com.mendix.core.objectmanagement.member.MendixBinary.commitValueAsFileDocument(SourceFile:168) at hh.a(SourceFile:92) at hh$f.a(SourceFile:75) at hh$f.apply(SourceFile:75) at scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:59) at scala.collection.immutable.List.foreach(List.scala:76) at hh.f(SourceFile:75) at hh.e(SourceFile:55) at hh.d(SourceFile:41) at hh.executeAction(SourceFile:22) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:57) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:457) at hG.b(SourceFile:206) at hG.a(SourceFile:174) at com.mendix.core.Core.commitWithoutEvents(SourceFile:642) at com.mendix.core.Core.commitWithoutEvents(SourceFile:621) at ok.a(SourceFile:27) at ok$c.a(SourceFile:23) at ok$c.apply(SourceFile:23) at scala.collection.mutable.HashMap$$anon$2$$anonfun$foreach$3.apply(HashMap.scala:104) at scala.collection.mutable.HashMap$$anon$2$$anonfun$foreach$3.apply(HashMap.scala:104) at scala.collection.Iterator$class.foreach(Iterator.scala:772) at scala.collection.mutable.HashTable$$anon$1.foreach(HashTable.scala:157) at scala.collection.mutable.HashTable$class.foreachEntry(HashTable.scala:190) at scala.collection.mutable.HashMap.foreachEntry(HashMap.scala:45) at scala.collection.mutable.HashMap$$anon$2.foreach(HashMap.scala:104) at ok.d(SourceFile:23) at oi.c(SourceFile:413) at og.endDocument(SourceFile:239) at org.apache.xerces.parsers.AbstractSAXParser.endDocument(Unknown Source) at org.apache.xerces.impl.xs.XMLSchemaValidator.endDocument(Unknown Source) at org.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.endEntity(Unknown Source) at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source) at org.apache.xerces.impl.XMLEntityScanner.skipSpaces(Unknown Source) at org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at oh.a(SourceFile:91) at oh.a(SourceFile:54) at lz.a(SourceFile:41) at mz.a(SourceFile:77) at my.a(SourceFile:155) at my.executeAction(SourceFile:98) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:57) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:457) at hG.b(SourceFile:206) at com.mendix.core.Core.execute(SourceFile:304) at nY.a(SourceFile:93) at nY.a(SourceFile:67) at oa.b(SourceFile:97) at oa.a(SourceFile:60) at com.mendix.modules.webservices.WebserviceModule.handleWebserviceCall(SourceFile:357) at jl.processRequest(SourceFile:27) at ji.a(SourceFile:74) at com.mendix.core.MxRuntime.processRequest(SourceFile:908) at com.mendix.m2ee.server.handler.RuntimeHandler.handle(RuntimeHandler.java:45) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111) at org.eclipse.jetty.server.Server.handle(Server.java:351) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:454) at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:900) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:954) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:857) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:77) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:609) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:45) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:599) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:534) at java.lang.Thread.run(Unknown Source)
asked
0 answers