[ZBX-5275] zbx_malloc: allocating already allocated memory. Please report this to Zabbix developers. Created: 2012 Jul 05 Updated: 2017 May 30 Resolved: 2012 Aug 22 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 2.0.2rc1 |
Fix Version/s: | None |
Type: | Incident report | Priority: | Trivial |
Reporter: | Adail Horst | Assignee: | Unassigned |
Resolution: | Won't fix | Votes: | 1 |
Labels: | distributed, memory | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
CENTOS 6 x64 with mysql |
Attachments: |
![]() ![]() ![]() |
||||||||||||
Issue Links: |
|
Description |
26814:20120704:212545.123 file:checks_calculated.c,line:241 zbx_malloc: allocating already allocated memory. Please report this to Zabbix developers. |
Comments |
Comment by Adail Horst [ 2012 Jul 05 ] |
Enviroment description is wrong (sory) Is |
Comment by richlv [ 2012 Jul 05 ] |
is this problem repeatable ? |
Comment by richlv [ 2012 Jul 05 ] |
temporary resolving to transition in workflow |
Comment by Adail Horst [ 2012 Jul 05 ] |
yes... i have some of this lines in my log (10... 20...) |
Comment by Łukasz Jernaś [ 2012 Jul 12 ] |
As far as I can tell this problem was already in 2.0.0 |
Comment by Łukasz Jernaś [ 2012 Jul 12 ] |
The server is working, restarting it doesn't help. This might be related to the memleak we were observing in 2.0.0. |
Comment by Alexander Vladishev [ 2012 Jul 28 ] |
Can you please attach log with debug level 4 (~100 lines before the error) and output of SQL commands: show create table hosts; |
Comment by dakol [ 2012 Aug 03 ] |
same symptoms here in 2.0.2 |
Comment by Alexander Vladishev [ 2012 Aug 11 ] |
It can occur in a case to the duplicated hosts in a node. Please check it by executing a SQL statement: select host, count(*) from hosts group by host having count(*) > 1; Please add condition "where hostid between n00000000000000 and n99999999999999" if you have a distributed monitoring. n - the number of a local node. |
Comment by Alexander Vladishev [ 2012 Aug 22 ] |
I close the issue. Please reopen if a problem not with the duplicated hosts. |
Comment by Olgierd Wolodkiewicz [ 2012 Aug 27 ] |
SQL statement: select host, count(*) from hosts group by host having count(*) > 1; doesn't return any records, but the error still exists: 17878:20120827:031828.657 [file:checks_calculated.c,line:241] zbx_malloc: allocating already allocated memory. Please report this to Zabbix developers. |
Comment by Leonid Satanovsky [ 2013 Feb 15 ] |
Alexander, thanks for duplicated hosts hint. It helped. |