Hi,
I have put my new server in production and started the discovery process.
Unfortunately, as soon as a large part of my hosts were added, the server crashed with the notification that I should increase the TrendSizeCache, so I did and also increased the shared memory.
As you can see, I even increased it to its maximum value, but it keeps crashing. The following are the debug logs:
Available trend cache values:
It takes about 9 minutes before the crash occurs, so not really useful statistics. Can anyone help me with solving this issue?
Specs:
Dual quad-core Xeon
36gb Mem
2x Intel 510 256GB SSD
I have put my new server in production and started the discovery process.
Unfortunately, as soon as a large part of my hosts were added, the server crashed with the notification that I should increase the TrendSizeCache, so I did and also increased the shared memory.
Code:
CacheSize = 1G TrendSizeCache = 1G HistoryCacheSize 128M HistoryTextCacheSize 128M
Code:
kernel.shmall = 2097152 kernel.shmmax = 4294967296 kernel.shmmni = 4096 # semaphores: semmsl, semmns, semopm, semmni kernel.sem = 250 32000 100 128
Code:
7164:20110423:110459.997 In DCmass_add_history() 7164:20110423:110459.997 Query [txnlev:1] [insert into history (itemid,clock,value) values (149407,1303549497,0.000000),(103507,1303549497,59988530.320083),(45307,1303549497,2.016871),(111307,1303549497,0.000000);] 7164:20110423:110459.997 In DCmass_update_triggers() 7164:20110423:110459.997 Query [txnlev:1] [select distinct t.triggerid,t.type,t.value,t.error,t.expression,f.itemid from triggers t,functions f,items i where t.triggerid=f.triggerid and f.itemid=i.itemid and t.status=0 and f.itemid in (149407,103507,45307,111307) order by t.triggerid] 7164:20110423:110459.998 End of DCmass_update_triggers() 7164:20110423:110459.998 In DCmass_update_trends() 7164:20110423:110459.998 __mem_malloc: skipped 0 asked 24 skip_min 4294967295 skip_max 0 7164:20110423:110459.998 [file:dbcache.c,line:2662] zbx_mem_malloc(): out of memory (requested 24 bytes) 7164:20110423:110459.998 [file:dbcache.c,line:2662] zbx_mem_malloc(): please increase TrendCacheSize configuration parameter
Code:
2011.Apr.23 11:00:00 61.465 2011.Apr.23 10:57:11 92.9304
Specs:
Dual quad-core Xeon
36gb Mem
2x Intel 510 256GB SSD
Code:
Number of hosts (monitored/not monitored/templates) 248 121 / 1 / 126 Number of items (monitored/disabled/not supported) 72903 71616 / 1174 / 113 Number of triggers (enabled/disabled)[problem/unknown/ok] 2649 2620 / 29 [10 / 765 / 1845] Number of users (online) 14 1 Required server performance, new values per second 254.56 -

Comment