Large number of open files while running all tests in Akka project #937
Closed
Description
Hi,
I made a snapshot using lsof somewhere past the halfway mark during the Akka testsuite and this is what I found.
- 1862 open files
- 440 of them are jar files (that's our fault) 😉
- 598 of them with test output
.../out
- 762 of them are
.../export
files - The rest are some
.so
files and pipes
An example of the 17 .../export
files for akka-actor:
akka-actor/target/streams/compile/dependencyClasspath/$global/export
akka-actor/target/streams/compile/exportedProducts/$global/export
akka-actor/target/streams/compile/externalDependencyClasspath/$global/export
akka-actor/target/streams/compile/internalDependencyClasspath/$global/export
akka-actor/target/streams/compile/managedClasspath/$global/export
akka-actor/target/streams/compile/unmanagedClasspath/$global/export
akka-actor/target/streams/compile/unmanagedJars/$global/export
akka-actor/target/streams/runtime/exportedProducts/$global/export
akka-actor/target/streams/runtime/unmanagedJars/$global/export
akka-actor/target/streams/test/dependencyClasspath/$global/export
akka-actor/target/streams/test/exportedProducts/$global/export
akka-actor/target/streams/test/externalDependencyClasspath/$global/export
akka-actor/target/streams/test/fullClasspath/$global/export
akka-actor/target/streams/test/internalDependencyClasspath/$global/export
akka-actor/target/streams/test/managedClasspath/$global/export
akka-actor/target/streams/test/unmanagedClasspath/$global/export
akka-actor/target/streams/test/unmanagedJars/$global/export