[jira] [Commented] (DAEMON-365) Jsvc "Service killed by signal 11"
[ https://issues.apache.org/jira/browse/DAEMON-365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16060531#comment-16060531 ] Andrea commented on DAEMON-365: --- The '-Xss1280k' workaround works for me. > Jsvc "Service killed by signal 11" > -- > > Key: DAEMON-365 > URL: https://issues.apache.org/jira/browse/DAEMON-365 > Project: Commons Daemon > Issue Type: Bug > Environment: $ cat /etc/lsb-release > DISTRIB_ID=Ubuntu > DISTRIB_RELEASE=16.04 > DISTRIB_CODENAME=xenial > DISTRIB_DESCRIPTION="Ubuntu 16.04 LTS" > $ uname -a > Linux server 4.4.0-81-generic #104-Ubuntu SMP Wed Jun 14 08:17:06 UTC 2017 > x86_64 x86_64 x86_64 GNU/Linux > $ jsvc --help > [...] > jsvc (Apache Commons Daemon) 1.0.15-dev >Reporter: Andrea > > Jsvc is working fine on my machine and on other machines, however on a > particular one, it is not working. > In the logs I get "Service killed by signal 11". > I am using a simple daemon for tests[1]. I compiled it > with javac -cp /usr/share/java/commons-daemon.jar MyDaemon.java. Jsvc > is installed on Ubuntu 16.04 LTS with apt-get and it is version > 1.0.15-dev. > [1] > http://mail-archives.apache.org/mod_mbox/commons-user/201706.mbox/raw/%3CCABxFBzGfNVFOzySFT1CTTwb56GXr1gLsdmU4vnJYKUUrexBzxQ%40mail.gmail.com%3E/3 > When I run it in the logs I only get "Service killed by signal 11". I am using > /usr/bin/jsvc -home /usr/lib/jvm/java-8-oracle/ -cp > /usr/share/java/commons-daemon.jar:$PWD/ -user myuser -pidfile > /tmp/mydaemon.pid -outfile /tmp/test.out.log -errfile '&1' MyDaemon > -one -two > Starting it with -debug, I get no much more[2]. > [2] > http://mail-archives.apache.org/mod_mbox/commons-user/201706.mbox/raw/%3CCABxFBzGfNVFOzySFT1CTTwb56GXr1gLsdmU4vnJYKUUrexBzxQ%40mail.gmail.com%3E/2 > I cannot stop it with -stop and I have to kill -9 it. > What should I do? > Do you have any idea? > Thanks! -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (DAEMON-365) Jsvc "Service killed by signal 11"
[ https://issues.apache.org/jira/browse/DAEMON-365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16059670#comment-16059670 ] Nicholas A Hunter commented on DAEMON-365: -- Found this workaround: changing the stack size by passing in option: '-Xss1280k' https://community.ubnt.com/t5/UniFi-Wireless/Unifi-Controller-and-Debian-8-kernel-upgrade/td-p/1967647 > Jsvc "Service killed by signal 11" > -- > > Key: DAEMON-365 > URL: https://issues.apache.org/jira/browse/DAEMON-365 > Project: Commons Daemon > Issue Type: Bug > Environment: $ cat /etc/lsb-release > DISTRIB_ID=Ubuntu > DISTRIB_RELEASE=16.04 > DISTRIB_CODENAME=xenial > DISTRIB_DESCRIPTION="Ubuntu 16.04 LTS" > $ uname -a > Linux server 4.4.0-81-generic #104-Ubuntu SMP Wed Jun 14 08:17:06 UTC 2017 > x86_64 x86_64 x86_64 GNU/Linux > $ jsvc --help > [...] > jsvc (Apache Commons Daemon) 1.0.15-dev >Reporter: Andrea > > Jsvc is working fine on my machine and on other machines, however on a > particular one, it is not working. > In the logs I get "Service killed by signal 11". > I am using a simple daemon for tests[1]. I compiled it > with javac -cp /usr/share/java/commons-daemon.jar MyDaemon.java. Jsvc > is installed on Ubuntu 16.04 LTS with apt-get and it is version > 1.0.15-dev. > [1] > http://mail-archives.apache.org/mod_mbox/commons-user/201706.mbox/raw/%3CCABxFBzGfNVFOzySFT1CTTwb56GXr1gLsdmU4vnJYKUUrexBzxQ%40mail.gmail.com%3E/3 > When I run it in the logs I only get "Service killed by signal 11". I am using > /usr/bin/jsvc -home /usr/lib/jvm/java-8-oracle/ -cp > /usr/share/java/commons-daemon.jar:$PWD/ -user myuser -pidfile > /tmp/mydaemon.pid -outfile /tmp/test.out.log -errfile '&1' MyDaemon > -one -two > Starting it with -debug, I get no much more[2]. > [2] > http://mail-archives.apache.org/mod_mbox/commons-user/201706.mbox/raw/%3CCABxFBzGfNVFOzySFT1CTTwb56GXr1gLsdmU4vnJYKUUrexBzxQ%40mail.gmail.com%3E/2 > I cannot stop it with -stop and I have to kill -9 it. > What should I do? > Do you have any idea? > Thanks! -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (DAEMON-365) Jsvc "Service killed by signal 11"
[ https://issues.apache.org/jira/browse/DAEMON-365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16059562#comment-16059562 ] Nicholas A Hunter commented on DAEMON-365: -- Also having this problem as of very recently on new Ubuntu cloud server builds. Getting signal 11 and service never successfully starts, but has a process running that I have to kill. uname -a : Linux ip-<...>-generic #170-Ubuntu SMP Wed Jun 14 09:04:33 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux java -version java version "1.8.0_60" Java(TM) SE Runtime Environment (build 1.8.0_60-b27) Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode) +--- | Internal options: 4 | "-Dcommons.daemon.process.id=2406" (0x) | "-Dcommons.daemon.process.parent=2185" (0x) | "-Dcommons.daemon.version=1.0.15-dev" (0x) | "abort" (0x004056f0) +--- Service killed by signal 11 Waiting 60 s to prevent looping > Jsvc "Service killed by signal 11" > -- > > Key: DAEMON-365 > URL: https://issues.apache.org/jira/browse/DAEMON-365 > Project: Commons Daemon > Issue Type: Bug > Environment: $ cat /etc/lsb-release > DISTRIB_ID=Ubuntu > DISTRIB_RELEASE=16.04 > DISTRIB_CODENAME=xenial > DISTRIB_DESCRIPTION="Ubuntu 16.04 LTS" > $ uname -a > Linux server 4.4.0-81-generic #104-Ubuntu SMP Wed Jun 14 08:17:06 UTC 2017 > x86_64 x86_64 x86_64 GNU/Linux > $ jsvc --help > [...] > jsvc (Apache Commons Daemon) 1.0.15-dev >Reporter: Andrea > > Jsvc is working fine on my machine and on other machines, however on a > particular one, it is not working. > In the logs I get "Service killed by signal 11". > I am using a simple daemon for tests[1]. I compiled it > with javac -cp /usr/share/java/commons-daemon.jar MyDaemon.java. Jsvc > is installed on Ubuntu 16.04 LTS with apt-get and it is version > 1.0.15-dev. > [1] > http://mail-archives.apache.org/mod_mbox/commons-user/201706.mbox/raw/%3CCABxFBzGfNVFOzySFT1CTTwb56GXr1gLsdmU4vnJYKUUrexBzxQ%40mail.gmail.com%3E/3 > When I run it in the logs I only get "Service killed by signal 11". I am using > /usr/bin/jsvc -home /usr/lib/jvm/java-8-oracle/ -cp > /usr/share/java/commons-daemon.jar:$PWD/ -user myuser -pidfile > /tmp/mydaemon.pid -outfile /tmp/test.out.log -errfile '&1' MyDaemon > -one -two > Starting it with -debug, I get no much more[2]. > [2] > http://mail-archives.apache.org/mod_mbox/commons-user/201706.mbox/raw/%3CCABxFBzGfNVFOzySFT1CTTwb56GXr1gLsdmU4vnJYKUUrexBzxQ%40mail.gmail.com%3E/2 > I cannot stop it with -stop and I have to kill -9 it. > What should I do? > Do you have any idea? > Thanks! -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (DAEMON-365) Jsvc "Service killed by signal 11"
[ https://issues.apache.org/jira/browse/DAEMON-365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16059314#comment-16059314 ] Andrea commented on DAEMON-365: --- I debugged with gdb and found that the child process goes in segmentation fault in src/native/unix/native/java.c line 307. {quote} symb = (jvm_create_t)dso_symbol(libh, "JNI_CreateJavaVM"); ... ret = (*symb) (, , ); < line 307 {quote} > Jsvc "Service killed by signal 11" > -- > > Key: DAEMON-365 > URL: https://issues.apache.org/jira/browse/DAEMON-365 > Project: Commons Daemon > Issue Type: Bug > Environment: $ cat /etc/lsb-release > DISTRIB_ID=Ubuntu > DISTRIB_RELEASE=16.04 > DISTRIB_CODENAME=xenial > DISTRIB_DESCRIPTION="Ubuntu 16.04 LTS" > $ uname -a > Linux server 4.4.0-81-generic #104-Ubuntu SMP Wed Jun 14 08:17:06 UTC 2017 > x86_64 x86_64 x86_64 GNU/Linux > $ jsvc --help > [...] > jsvc (Apache Commons Daemon) 1.0.15-dev >Reporter: Andrea > > Jsvc is working fine on my machine and on other machines, however on a > particular one, it is not working. > In the logs I get "Service killed by signal 11". > I am using a simple daemon for tests[1]. I compiled it > with javac -cp /usr/share/java/commons-daemon.jar MyDaemon.java. Jsvc > is installed on Ubuntu 16.04 LTS with apt-get and it is version > 1.0.15-dev. > [1] > http://mail-archives.apache.org/mod_mbox/commons-user/201706.mbox/raw/%3CCABxFBzGfNVFOzySFT1CTTwb56GXr1gLsdmU4vnJYKUUrexBzxQ%40mail.gmail.com%3E/3 > When I run it in the logs I only get "Service killed by signal 11". I am using > /usr/bin/jsvc -home /usr/lib/jvm/java-8-oracle/ -cp > /usr/share/java/commons-daemon.jar:$PWD/ -user myuser -pidfile > /tmp/mydaemon.pid -outfile /tmp/test.out.log -errfile '&1' MyDaemon > -one -two > Starting it with -debug, I get no much more[2]. > [2] > http://mail-archives.apache.org/mod_mbox/commons-user/201706.mbox/raw/%3CCABxFBzGfNVFOzySFT1CTTwb56GXr1gLsdmU4vnJYKUUrexBzxQ%40mail.gmail.com%3E/2 > I cannot stop it with -stop and I have to kill -9 it. > What should I do? > Do you have any idea? > Thanks! -- This message was sent by Atlassian JIRA (v6.4.14#64029)