[
https://issues.jboss.org/browse/FURNACE-106?page=com.atlassian.jira.plugi...
]
Ondrej Zizka edited comment on FURNACE-106 at 2/19/16 9:22 AM:
---------------------------------------------------------------
{code}
windup-quickstarts/maven-plugin-usage$ strace -o strace2.log -f -ff -e open mvn clean
package -DskipTests
...
10312
open("/home/ondra/.m2/repository/org/jboss/forge/furnace/furnace-bom/2.22.7.Final/furnace-bom-2.22.7.Final.pom",
O_RDONLY) = 451
10312 open("/home/ondra/.m2/settings.xml", O_RDONLY) = 451
10312 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0} ---
10312 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0} ---
10312 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0} ---
...
{code}
That's the biggest output (the forked process that opened the most files)
See the attachment for more
was (Author: ozizka):
{code}
windup-quickstarts/maven-plugin-usage$ strace -o strace2.log -f -e open mvn clean package
-DskipTests
...
10312
open("/home/ondra/.m2/repository/org/jboss/forge/furnace/furnace-bom/2.22.7.Final/furnace-bom-2.22.7.Final.pom",
O_RDONLY) = 451
10312 open("/home/ondra/.m2/settings.xml", O_RDONLY) = 451
10312 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0} ---
10312 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0} ---
10312 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0} ---
...
{code}
See the attachment for more
LinuxWatchService: "Too many open files"
----------------------------------------
Key: FURNACE-106
URL:
https://issues.jboss.org/browse/FURNACE-106
Project: Forge: Furnace
Issue Type: Bug
Components: Runtime
Affects Versions: 2.22.10.Final
Reporter: Ondrej Zizka
Attachments: strace.log.9838
When running Windup in a Maven plugin, I get the exception below.
I have increased all linux limits to 1 000 000.
STR:
git clone
https://github.com/OndraZizka/windup
cd windup
git co
mvn clean install -DskipTests
cd ..
git clone
https://github.com/OndraZizka/windup-maven-plugin.git
cd windup-maven-plugin
git co bfaa7b6
mvn clean install
cd ..
git clone
https://github.com/OndraZizka/windup-quickstarts.git
cd windup-quickstarts
git co 9b991fc8db1
mvn clean install
git clone
https://github.com/OndraZizka/windup.git
{code}
2016-01-28 17:46:52 WARNING org.jboss.forge.furnace.impl.FurnaceImpl <init>() File
monitoring could not be started.
java.io.IOException: Too many open files
at sun.nio.fs.LinuxWatchService.<init>(LinuxWatchService.java:61)
at sun.nio.fs.LinuxFileSystem.newWatchService(LinuxFileSystem.java:47)
at org.jboss.forge.furnace.impl.FurnaceImpl.<init>(FurnaceImpl.java:152)
at
org.jboss.forge.furnace.impl.FurnaceImpl_$$_javassist_9290627c-c1d3-4961-b1cd-6bd226307dc3.<init>(FurnaceImpl_$$_javassist_9290627c-c1d3-4961-b1cd-6bd226307dc3.java)
at sun.reflect.GeneratedConstructorAccessor65.newInstance(Unknown Source)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at java.lang.Class.newInstance(Class.java:383)
at
org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback$3.call(ClassLoaderAdapterCallback.java:992)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
at
org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.enhance(ClassLoaderAdapterCallback.java:900)
at
org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.enhance(ClassLoaderAdapterCallback.java:880)
at
org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.enhanceSingleParameterValue(ClassLoaderAdapterCallback.java:776)
at
org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.enhanceParameterValues(ClassLoaderAdapterCallback.java:648)
at
org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.access$000(ClassLoaderAdapterCallback.java:37)
at
org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback$2.call(ClassLoaderAdapterCallback.java:117)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
at
org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.invoke(ClassLoaderAdapterCallback.java:96)
at
org.jboss.forge.furnace.spi.ContainerLifecycleListener_$$_javassist_ad6baef1-d99b-4e97-8f1e-324f98eb5edf.afterConfigurationScan(ContainerLifecycleListener_$$_javassist_ad6baef1-d99b-4e97-8f1e-324f98eb5edf.java)
at
org.jboss.forge.furnace.impl.FurnaceImpl.fireAfterConfigurationScanEvent(FurnaceImpl.java:657)
at org.jboss.forge.furnace.impl.FurnaceImpl.reloadConfiguration(FurnaceImpl.java:606)
at org.jboss.forge.furnace.impl.FurnaceImpl.access$500(FurnaceImpl.java:59)
at org.jboss.forge.furnace.impl.FurnaceImpl$2.call(FurnaceImpl.java:276)
at org.jboss.forge.furnace.impl.FurnaceImpl$2.call(FurnaceImpl.java:241)
at
org.jboss.forge.furnace.impl.lock.LockManagerImpl.performLocked(LockManagerImpl.java:55)
at org.jboss.forge.furnace.impl.FurnaceImpl.start(FurnaceImpl.java:240)
at org.jboss.forge.furnace.impl.FurnaceImpl$1$1.run(FurnaceImpl.java:199)
{code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)