-
Problem report
-
Resolution: Duplicate
-
Trivial
-
None
-
5.4.0
-
Release Proxy and Agent :
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic
Release Server :
Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 LTS
Release: 20.04
Codename: focal
SQL Engine Server : MySQL
SQL Engine Proxy : SQLite3
Proxy Mode : Passive
Agent Mode : Actif
Update 5.2.6 to 5.4.0
Proxy Configuration :
AllowRoot=0
CacheSize=8M
DebugLevel=5
HistoryCacheSize=16M
HistoryIndexCacheSize=4M
HousekeepingFrequency=1
LogFileSize=256
LogType=file
ProxyLocalBuffer=0
ProxyMode=1
ProxyOfflineBuffer=168
StartDBSyncers=4
Server Configuration :
ProxyDataFrequency=30
ProxyConfigFrequency=1
StartProxyPollers=5
CacheUpdateFrequency=20
MaxHousekeeperDelete=5000
HousekeepingFrequency=1Release Proxy and Agent : Distributor ID: Ubuntu Description: Ubuntu 18.04.2 LTS Release: 18.04 Codename: bionic Release Server : Distributor ID: Ubuntu Description: Ubuntu 20.04.2 LTS Release: 20.04 Codename: focal SQL Engine Server : MySQL SQL Engine Proxy : SQLite3 Proxy Mode : Passive Agent Mode : Actif Update 5.2.6 to 5.4.0 Proxy Configuration : AllowRoot=0 CacheSize=8M DebugLevel=5 HistoryCacheSize=16M HistoryIndexCacheSize=4M HousekeepingFrequency=1 LogFileSize=256 LogType=file ProxyLocalBuffer=0 ProxyMode=1 ProxyOfflineBuffer=168 StartDBSyncers=4 Server Configuration : ProxyDataFrequency=30 ProxyConfigFrequency=1 StartProxyPollers=5 CacheUpdateFrequency=20 MaxHousekeeperDelete=5000 HousekeepingFrequency=1
Steps to reproduce:
- Run proxy service
- Use tail -f to show log
- Sometimes (ramdom, maybe after 1 hour or 4 hours), proxy logs are no longer written.
- Restart proxy service
- Loop to Step 1
Result:
Proxy logs are no longer written. The last entry log is :
14243:20210530:002921.881 received configuration data from server at "128.0.0.253", datalen 402835 14242:20210530:002923.639 received configuration data from server at "128.0.0.253", datalen 402835 14246:20210530:004845.370 executing housekeeper
As we can see, the proxy didn't respond between 00:29:23 and 00:48:45. My server get informations every secondes. And after the log 'executing housekeeper', nothing.
In this cas, proxy is almost inexistant in a 'top' command, but proxy service is already running in 'ps aux' command.
I try to listen port TPC with 'nc' command, no response.
In the frontend, I see my proxy don't response with the proxy screen in Administration.
After a proxy reboot, the last observation time reset.
I have change the proxy configuration in debug level 5, I add it ASAP.
Expected:
Running proxy without freeze.
- duplicates
-
ZBX-19398 Sqlite deadlock between history syncer or conf syncer.
- Closed