[ZBX-15356] My zabbix proxy has a problem with sending data delays Created: 2018 Dec 22  Updated: 2019 Jan 04  Resolved: 2019 Jan 04

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Proxy (P)
Affects Version/s: 4.0.3
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: itwenjian Assignee: Arturs Lontons
Resolution: Won't fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

CentOS7


Attachments: JPEG File 1.jpg     JPEG File 2.jpg     JPEG File 3.jpg     JPEG File 4.jpg    

 Description   

When my ZABBIX proxy VPS reached 4000, I found that the data sending process of ZABBIX proxy would be 100% all the time, and the data receiving process of zabbix-server would be delayed.

This is my zabbix-proxy configuration fileļ¼š

AllowRoot=0
CacheSize=8G
ConfigFrequency=60
DataSenderFrequency=60
DBHost=localhost
DBName=zabbix_proxy
DBPassword=zabbix123
DBPort=10240
DBSocket=/data/mysql/log/mysqld.sock
DBUser=root
DebugLevel=3
EnableRemoteCommands=1
Fping6Location=/usr/sbin/fping6
FpingLocation=/usr/sbin/fping
HeartbeatFrequency=60
HistoryCacheSize=2G
HistoryIndexCacheSize=2G
Hostname=zabbix-proxy001
HousekeepingFrequency=1
JavaGateway=0.0.0.0
JavaGatewayPort=10052
ListenIP=0.0.0.0
ListenPort=10051
LogFile=/data/zabbix/zabbix_proxy.log
LogFileSize=1024
LogRemoteCommands=1
LogSlowQueries=0
LogType=file
PidFile=/var/run/zabbix/zabbix_proxy.pid
ProxyLocalBuffer=0
ProxyMode=0
ProxyOfflineBuffer=2
ServerPort=10051
Server=10.114.100.10
SocketDir=/var/run/zabbix
StartDBSyncers=32
StartDiscoverers=16
StartHTTPPollers=5
StartIPMIPollers=10
StartJavaPollers=16
StartPingers=32
StartPollers=32
StartPollersUnreachable=32
StartTrappers=24
Timeout=30
TLSAccept=unencrypted
TLSConnect=unencrypted
TmpDir=/tmp
TrapperTimeout=300
UnavailableDelay=60
UnreachableDelay=60
UnreachablePeriod=45
User=zabbix



 Comments   
Comment by itwenjian [ 2018 Dec 22 ]

/usr/sbin/zabbix_proxy: data sender [sent 161851 values in 63.120211 sec, sending data]

I want to know if this process can increase the quantity.

Comment by Glebs Ivanovskis [ 2018 Dec 23 ]

No, active proxy can only have one data sender process and passive proxy can be polled only by one server's proxypoller process at a time. I would check if server's trapper process is not overloaded and there are no performance issues on the server side. If that's not the case, I'm afraid, you will have to split this proxy in two (but you can run them on the same box).

Comment by itwenjian [ 2018 Dec 24 ]

Is it only possible to increase the zabbix proxy to solve this problem?

Comment by dimir [ 2018 Dec 27 ]

You could create a feature request that asks for multiple data sender processes.

Comment by Arturs Lontons [ 2018 Dec 27 ]

Hi!
Like Glebs said, it could be that busy the Zabbix server trappers are busy and increasing the amount of trappers could solve the issue. You can check the status of Zabbix server trappers in the Zabbix server " data gathering process busy %" graph

Comment by Arturs Lontons [ 2019 Jan 04 ]

Closing the issue due to lack of activity.

Generated at Wed Apr 24 03:20:22 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.