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

Updating to 4.3.4 or later causes a core dump #222

Open
FSys77 opened this issue Sep 8, 2022 · 3 comments
Open

Updating to 4.3.4 or later causes a core dump #222

FSys77 opened this issue Sep 8, 2022 · 3 comments
Labels

Comments

@FSys77
Copy link

FSys77 commented Sep 8, 2022

Versions up to 4.3.3 worked fine for me.

After upgrading to 4.3.4, 4.3.5 or 4.3.6 I got core dumps.

I stripped down my docker-compose.yml to the bare minimum, and even this does not work:

version: '2'
services:
  graylog:
    image: graylog/graylog:4.3.3
    restart: always

docker-compose up --build --force-recreate results in:

Creating graylog_graylog_1 ... done
Attaching to graylog_graylog_1
graylog_1  | #
graylog_1  | # There is insufficient memory for the Java Runtime Environment to continue.
graylog_1  | # Cannot create GC thread. Out of system resources.
graylog_1  | # An error report file with more information is saved as:
graylog_1  | # /usr/share/graylog/hs_err_pid7.log

docker logs -f graylog_graylog_1 shows the core dump:

...
VM Arguments:
jvm_args: -Dlog4j2.formatMsgNoLookups=true -Djdk.tls.acknowledgeCloseNotify=true -XX:+UnlockExperimentalVMOptions -XX:NewRatio=1 -XX:MaxMetaspaceSize=256m -XX:+ResizeTLAB -XX:-OmitStackTraceInFastThrow -Dlog4j.configurationFile=/usr/share/graylog/data/config/log4j2.xml -Djava.library.path=/usr/share/graylog/lib/sigar/ -Dgraylog2.installation_source=docker 
java_command: /usr/share/graylog/graylog.jar server -f /usr/share/graylog/data/config/graylog.conf
java_class_path (initial): /usr/share/graylog/graylog.jar
Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=/opt/java/openjdk
PATH=/usr/share/graylog/bin:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

Signal Handlers:
SIGSEGV: [libjvm.so+0xb3b0d0], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGBUS: [libjvm.so+0xb3b0d0], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGFPE: [libjvm.so+0x963540], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGPIPE: [libjvm.so+0x963540], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGXFSZ: [libjvm.so+0x963540], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGILL: [libjvm.so+0x963540], sa_mask[0]=11111111011111111101111111111110, sa_flags=SA_RESTART|SA_SIGINFO
SIGUSR1: SIG_DFL, sa_mask[0]=00000000000000000000000000000000, sa_flags=none
SIGUSR2: [libjvm.so+0x963af0], sa_mask[0]=00000000000000000000000000000000, sa_flags=SA_RESTART|SA_SIGINFO
SIGHUP: SIG_DFL, sa_mask[0]=00000000000000000000000000000000, sa_flags=none
SIGINT: SIG_DFL, sa_mask[0]=00000000000000000000000000000000, sa_flags=none
SIGTERM: SIG_DFL, sa_mask[0]=00000000000000000000000000000000, sa_flags=none
SIGQUIT: SIG_DFL, sa_mask[0]=00000000000000000000000000000000, sa_flags=none

...

Reverting back to 4.3.3 shows no errors at all.

Please advise.

@coffee-squirrel
Copy link

See #217. I'm guessing you have an older Docker version.

@FSys77
Copy link
Author

FSys77 commented Sep 8, 2022

Docker version is pretty up to date.

# docker version shows:

Client: Docker Engine - Community
 Version:           20.10.17
 API version:       1.41
 Go version:        go1.17.11
 Git commit:        100c701
 Built:             Mon Jun  6 23:02:57 2022
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          20.10.7
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.13.15
  Git commit:       b0f5bc3
  Built:            Wed Jun  2 11:54:50 2021
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.6.8
  GitCommit:        9cd3357b7fd7218e4aec3eae239db1f68a5a6ec6
 runc:
  Version:          1.1.4
  GitCommit:        v1.1.4-0-g5fd4c4d
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

@coffee-squirrel
Copy link

Server: Docker Engine - Community
Engine:
Version: 20.10.7

You'll want to get that to at least 20.10.10.

@bernd bernd added the triaged label Sep 14, 2022
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

3 participants