Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running this app fails with default OS config on Mac (Too many open files) #93

Open
timja opened this issue Sep 20, 2021 · 0 comments
Open
Labels

Comments

@timja
Copy link
Member

timja commented Sep 20, 2021

A huge number of stacktraces with:

java -verbose:gc -jar ../../pipeline-steps-doc-generator/target/pipeline-steps-doc-generator-1.0-SNAPSHOT-bin/pipeline-steps-doc-generator-1.0-SNAPSHOT.jar

I can try fiddle with open file count but ideally this should work out of the box

Unable to obtain resource from ./plugins/oracle-cloud-infrastructure-compute-classic/WEB-INF/lib/jersey-guava-2.25.1.jar: java.nio.file.FileSystemException: ./plugins/oracle-cloud-infrastructure-compute-classic/WEB-INF/lib/jersey-guava-2.25.1.jar: Too many open files
java.nio.file.FileSystemException: ./plugins/oracle-cloud-infrastructure-compute-classic/WEB-INF/lib/jersey-guava-2.25.1.jar: Too many open files
	at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:100)
	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)
	at java.base/sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:219)
	at java.base/java.nio.file.Files.newByteChannel(Files.java:371)
	at java.base/java.nio.file.Files.newByteChannel(Files.java:422)
	at java.base/java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:420)
	at java.base/java.nio.file.Files.newInputStream(Files.java:156)
	at jenkins.util.AntClassLoader.readFully(AntClassLoader.java:1642)
	at jenkins.util.AntClassLoader.isZip(AntClassLoader.java:1631)
	at jenkins.util.AntClassLoader.getResourceURL(AntClassLoader.java:1060)
	at jenkins.util.AntClassLoader$ResourceEnumeration.findNextResource(AntClassLoader.java:191)
	at jenkins.util.AntClassLoader$ResourceEnumeration.<init>(AntClassLoader.java:150)
	at jenkins.util.AntClassLoader.findResources(AntClassLoader.java:1007)
	at jenkins.util.AntClassLoader.findResources(AntClassLoader.java:989)
	at jenkins.ClassLoaderReflectionToolkit._findResources(ClassLoaderReflectionToolkit.java:165)
	at org.jenkinsci.pipeline_steps_doc_generator.HyperLocalPluginManger$UberPlusClassLoader.findResources(HyperLocalPluginManger.java:303)
	at java.base/java.lang.ClassLoader.getResources(ClassLoader.java:1467)
	at net.java.sezpoz.Index$LazyIndexIterator.peek(Index.java:143)
	at net.java.sezpoz.Index$LazyIndexIterator.hasNext(Index.java:186)
	at java.base/java.lang.Iterable.forEach(Iterable.java:74)
	at org.jenkinsci.pipeline_steps_doc_generator.HyperLocalPluginManger$SmallSezpoz.getIndices(HyperLocalPluginManger.java:414)
	at org.jenkinsci.pipeline_steps_doc_generator.HyperLocalPluginManger$SmallSezpoz.scout(HyperLocalPluginManger.java:488)
	at org.jenkinsci.pipeline_steps_doc_generator.HyperLocalPluginManger$ModClassicPluginStrategy.findComponents(HyperLocalPluginManger.java:364)
	at org.jenkinsci.pipeline_steps_doc_generator.PipelineStepExtractor.findSteps(PipelineStepExtractor.java:116)
	at org.jenkinsci.pipeline_steps_doc_generator.PipelineStepExtractor.main(PipelineStepExtractor.java:82)
@timja timja added the bug label Sep 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant