-
Problem report
-
Resolution: Fixed
-
Minor
-
None
-
4.0.1
-
None
-
None
Since a few days, my zabbix-server is always exiting after (almost exactly) 10 minutes after it has been started. As I am using a docker-compose file (see below) with `restart: always` the container is restarted every time and I didn't realize the problem sooner.
I am using my own docker image (docker hub, Dockerfile). But this hasn't changed for weeks and I don't think this is part of the problem.
Steps to reproduce:
I don't know how you can reproduce the problem. I don't know what caused (started) the problem on my side. How can I get more information?
Result:
- Docker container suddenly stops without any log output.
- `docker inspect MYID | grep -i exit` shows `"Status": "exited", ... "ExitCode": 143,`. So the process was terminated by SIGTERM.
- I tried to change the signal by setting `STOPSIGNAL SIGINT` in my Dockerfile. But the exit code still is 143.
- Increasing the loglevel (env `ZBX_DEBUGLEVEL=4`) leads to more than 800000 messages. What do I have to look for that could be helpful? (The last messages before exit are about substitute_lld_macros but that doesn't seem unusual.
- "See memory dump..." -> how do I get one?
Expected:
no crash
docker-compose.yml
mysql: ... zabbix-server: image: dsteinkopf/zabbix-server-mysql-no-fping6:latest #image: dsteinkopf/zabbix-server-mysql-no-fping6:testsigint environment: - DB_SERVER_HOST=mysql - MYSQL_USER=root - MYSQL_PASSWORD=xxx #- ZBX_DEBUGLEVEL=4 # default is 3 - ZBX_STARTPOLLERS=4 - ZBX_STARTPINGERS=40 - ZBX_STARTVMWARECOLLECTORS=3 - ZBX_VMWARETIMEOUT=30 - ZBX_VMWARECACHESIZE=8M - ZBX_VMWAREFREQUENCY=300 - ZBX_VMWAREPERFFREQUENCY=300 - ZBX_JAVAGATEWAY_ENABLE=true - ZBX_JAVAGATEWAY=zabbix-java-gateway - ZBX_STARTJAVAPOLLERS = 5 - ZBX_STARTPOLLERSUNREACHABLE=2 - ZBX_TIMEOUT=20 - ZBX_PROXYCONFIGFREQUENCY=300 - TZ=Europe/Berlin #- DEBUG_MODE=true links: - mysql ports: - 10051:10051 #tmp aus restart: always restart: always volumes: - /opt/dockervolumes/zabbix-int/usr_lib_zabbix_alertscripts:/usr/lib/zabbix/alertscripts - /opt/dockervolumes/zabbix-int/usr_lib_zabbix_externalscripts:/usr/lib/zabbix/externalscripts - /etc/localtime:/etc/localtime - /etc/timezone:/etc/timezone networks: zbxnet: ipv4_address: 172.16.41.100 # agents must allow this IP zabbix-web: ...
- is duplicated by
-
ZBX-15946 Zabbix server crash after timeout of one of the external script
- Closed