[ZBX-12902] Memory leak after update 3.0 -> 3.2 Created: 2017 Oct 18 Updated: 2017 Oct 20 Resolved: 2017 Oct 20 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 3.2.9 |
Fix Version/s: | None |
Type: | Problem report | Priority: | Major |
Reporter: | Tiago Cruz | Assignee: | Unassigned |
Resolution: | Cannot Reproduce | Votes: | 1 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
CentOS Linux release 7.3.1611 |
Attachments: |
![]() ![]() ![]() ![]() ![]() |
Description |
We upgraded zabbix-server from 3.0.9 to 3.2.9 today, and the memory usage started to decrease very fast. We need to restart zabbix-server in order to restore the memory every 3-4 hours (29 GB RAM). Follow the graph attached with details. Thanks |
Comments |
Comment by Tiago Cruz [ 2017 Oct 18 ] |
Number of hosts (enabled/disabled/templates) 1081 690 / 18 / 373 Number of items (enabled/disabled/not supported) 104097 94915 / 9037 / 145 Number of triggers (enabled/disabled [problem/ok]) 60172 55861 / 4311 [470 / 55391] Number of users (online) 139 12 Required server performance, new values per second 1240.91 |
Comment by Glebs Ivanovskis (Inactive) [ 2017 Oct 19 ] |
Please check that this is not Also may be worth setting up some monitoring of Zabbix processes to pinpoint at least the type of processes which are leaking. |
Comment by Tiago Cruz [ 2017 Oct 19 ] |
Hello Glebs, thanks for ansewer. Yeah, I remember last year about nss/libcurl leak in But this issue affects zabbix 3.0 also, so this can't be related. Also, we don't use "SSL verify peer" in web scenarios (I didn't check 100% of them, but all those I looked was disabled). I'm collecting the follow data:
And this is the result. As you can see, the zabbix_server is increasing time after time, slowly, but increasing. Thanks a lot! |
Comment by Glebs Ivanovskis (Inactive) [ 2017 Oct 19 ] |
In zabbix-32-memory.png Regarding monitoring, I would suggest using sum instead of avg. Could you also add these?
|
Comment by Tiago Cruz [ 2017 Oct 20 ] |
Hello Glebs! The memory leak has stoped after kernel, glibc, libnss and libcurl upgrade: The process that you asked are working good, also. I'll let them collecting and re-open this issue, only if something went out of expectation. Thanks a lot! |
Comment by Glebs Ivanovskis (Inactive) [ 2017 Oct 20 ] |
Hm, interesting... I'm glad the issue is resolved in the end! |