D
D
Drno2020-11-01 15:51:28
linux
Drno, 2020-11-01 15:51:28

Why doesn't Zabbix start?

Good day. Zabbix has been standing and working for a long time, right now I sat down to add computers to it, in the process of adding (added 30 pieces), zabbix wrote that "The server is not running"... judging by the log, it sins from memory... but I don't understand what it is from wants me)
Help pls...
Free disk space - getting it, RAM too

Zabbix log

spoiler

10825:20201101:153415.918 Starting Zabbix Server. Zabbix 5.0.5 (revision eaa427cf19).
10825:20201101:153415.919 ****** Enabled features ******
10825:20201101:153415.919 SNMP monitoring: YES
10825:20201101:153415.919 IPMI monitoring: YES
10825:20201101:153415.919 Web monitoring: YES
10825:20201101:153415.919 VMware monitoring: YES
10825:20201101:153415.919 SMTP authentication: YES
10825:20201101:153415.919 ODBC: YES
10825:20201101:153415.919 SSH support: YES
10825:20201101:153415.919 IPv6 support: YES
10825:20201101:153415.919 TLS support: YES
10825:20201101:153415.919 ******************************
10825:20201101:153415.919 using configuration file: /etc/zabbix/zabbix_server.conf
10825:20201101:153415.924 current database version (mandatory/optional): 05000000/05000002
10825:20201101:153415.924 required mandatory version: 05000000
10825:20201101:153415.932 server #0 started [main process]
10826:20201101:153415.933 server #1 started [configuration syncer #1]
10825:20201101:153416.232 Got signal [signal:15(SIGTERM),sender_pid:10850,sender_uid:0,reason:0]. Exiting ...
10825:20201101:153416.266 syncing trend data...
10825:20201101:153416.274 syncing trend data done
10825:20201101:153416.274 Zabbix Server stopped. Zabbix 5.0.5 (revision eaa427cf19).
1767:20201101:153502.393 Starting Zabbix Server. Zabbix 5.0.5 (revision eaa427cf19).
1767:20201101:153502.394 ****** Enabled features ******
1767:20201101:153502.394 SNMP monitoring: YES
1767:20201101:153502.394 IPMI monitoring: YES
1767:20201101:153502.394 Web monitoring: YES
1767:20201101:153502.394 VMware monitoring: YES
1767:20201101:153502.394 SMTP authentication: YES
1767:20201101:153502.394 ODBC: YES
1767:20201101:153502.394 SSH support: YES
1767:20201101:153502.394 IPv6 support: YES
1767:20201101:153502.394 TLS support: YES
1767:20201101:153502.394 ******************************
1767:20201101:153502.394 using configuration file: /etc/zabbix/zabbix_server.conf
1767:20201101:153502.409 current database version (mandatory/optional): 05000000/05000002
1767:20201101:153502.409 required mandatory version: 05000000
1767:20201101:153502.450 server #0 started [main process]
1770:20201101:153502.450 server #1 started [configuration syncer #1]
1770:20201101:153503.043 __mem_malloc: skipped 0 asked 80 skip_min 18446744073709551615 skip_max 0
1770:20201101:153503.043 [file:dbconfig.c,line:96] __zbx_mem_malloc(): out of memory (requested 80 bytes)
1770:20201101:153503.043 [file:dbconfig.c,line:96] __zbx_mem_malloc(): please increase CacheSize configuration parameter
1770:20201101:153503.043 === memory statistics for configuration cache ===
1770:20201101:153503.043 free chunks of size 24 bytes: 16
1770:20201101:153503.043 free chunks of size 40 bytes: 4
1770:20201101:153503.043 free chunks of size 56 bytes: 1
1770:20201101:153503.043 free chunks of size 64 bytes: 1
1770:20201101:153503.043 free chunks of size 72 bytes: 3
1770:20201101:153503.043 min chunk size: 24 bytes
1770:20201101:153503.043 max chunk size: 72 bytes
1770:20201101:153503.043 memory of total size 7209720 bytes fragmented into 73658 chunks
1770:20201101:153503.043 of those, 880 bytes are in 25 free chunks
1770:20201101:153503.043 of those, 7208840 bytes are in 73633 used chunks
1770:20201101:153503.043 of those, 1178512 bytes are used by allocation overhead
1770:20201101:153503.043 ================================
1770:20201101:153503.043 === Backtrace: ===
1770:20201101:153503.043 14: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](zbx_backtrace+0x3f) [0x55b0514b7d6e]
1770:20201101:153503.043 13: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](__zbx_mem_malloc+0x180) [0x55b0514b2a39]
1770:20201101:153503.043 12: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](+0x190ec5) [0x55b051479ec5]
1770:20201101:153503.043 11: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](zbx_hashset_insert_ext+0x12f) [0x55b0514bdc04]
1770:20201101:153503.043 10: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](zbx_hashset_insert+0x2d) [0x55b0514bdad3]
1770:20201101:153503.043 9: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](DCfind_id+0x86) [0x55b05147a8b5]
1770:20201101:153503.043 8: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](+0x19967c) [0x55b05148267c]
1770:20201101:153503.043 7: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](DCsync_configuration+0xee4) [0x55b05148682d]
1770:20201101:153503.043 6: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](dbconfig_thread+0x116) [0x55b05133f836]
1770:20201101:153503.044 5: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](zbx_thread_start+0x37) [0x55b0514c6ab7]
1770:20201101:153503.044 4: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](MAIN_ZABBIX_ENTRY+0x9cb) [0x55b0513314c1]
1770:20201101:153503.044 3: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](daemon_start+0x2ff) [0x55b0514b797a]
1770:20201101:153503.044 2: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](main+0x2f5) [0x55b051330aab]
1770:20201101:153503.044 1: /lib64/libc.so.6(__libc_start_main+0xf3) [0x7f13419a66a3]
1770:20201101:153503.044 0: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](_start+0x2e) [0x55b05132fb5e]
1767:20201101:153503.045 One child process died (PID:1770,exitcode/signal:1). Exiting ...


config file

spoiler

<?php
// Zabbix GUI configuration file.

$DB['TYPE']<---><------><------><------>= 'MYSQL';
$DB['SERVER']<-><------><------>= 'localhost';
$DB['PORT']<---><------><------><------>= '3306';
$DB['DATABASE']><------><------>= 'zabbix';
$DB['USER']<---><------><------><------>= 'zabbix';
$DB['PASSWORD']><------><------>= 'Abishot320';

// Schema name. Used for PostgreSQL.
$DB['SCHEMA']<-><------><------>= '';

// Used for TLS connection.
$DB['ENCRYPTION']<-----><------>= false;
$DB['KEY_FILE']><------><------>= '';
$DB['CERT_FILE']<------><------>= '';
$DB['CA_FILE']<><------><------>= '';
$DB['VERIFY_HOST']<----><------>= false;
$DB['CIPHER_LIST']<----><------>= '';

// Use IEEE754 compatible value range for 64-bit Numeric (float) history values.
// This option is enabled by default for new Zabbix installations.
// For upgraded installations, please read database upgrade notes before enabling this option.
$DB['DOUBLE_IEEE754']<->= true;

$ZBX_SERVER<---><------><------><------>= 'localhost';
$ZBX_SERVER_PORT<------><------>= '10051';
$ZBX_SERVER_NAME<------><------>= '';

$IMAGE_FORMAT_DEFAULT<->= IMAGE_FORMAT_PNG;

// Uncomment this block only if you are using Elasticsearch.
// Elasticsearch url (can be string if same url is used for all types).
//$HISTORY['url'] = [
//<---->'uint' => 'localhost:9200',
//<---->'text' => 'localhost:9200'
//];
// Value types stored in Elasticsearch.
//$HISTORY['types'] = ['uint', 'text'];

// Used for SAML authentication.
// Uncomment to override the default paths to SP private key, SP and IdP X.509 certificates, and to set extra settings.
//$SSO['SP_KEY']<------><------><------>= 'conf/certs/sp.key';
//$SSO['SP_CERT']<-----><------><------>= 'conf/certs/sp.crt';
//$SSO['IDP_CERT']<----><------>= 'conf/certs/idp.crt';
//$SSO['SETTINGS']<----><------>= [];

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rsa97, 2020-11-01
@Drno

1770:20201101:153503.043 [file : dbconfig.c,line:96] __zbx_mem_malloc(): out of memory (requested 80 bytes) CacheSize configuration parameter

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question