Just another note
I noticed that when I add the second server, the result queue has started to decrease, In one hour I go from 150K to 0 message, a rate of 40m/s.
But the first server is still in a bad state. It remains at 94% ram used and multiple ruby defunct process.
Is this the expected behaviour, and I have to restart it to go to a normal situation.
pu(s): 62.4%us, 10.6%sy, 0.0%ni, 22.9%id, 2.9%wa, 0.6%hi, 0.6%si, 0.0%st
Mem: 8189764k total, 8086500k used, 103264k free, 3140k buffers
Swap: 524284k total, 524284k used, 0k free, 20320k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
32481 sensu 20 0 8674m 7.4g 1680 R 53.9 94.8 1057:24 sensu-server
31367 sensu 20 0 124m 6292 2160 R 5.9 0.1 0:00.05 ruby
31360 sensu 20 0 124m 5808 2028 R 4.7 0.1 0:00.04 ruby
31361 sensu 20 0 124m 6292 2160 D 4.7 0.1 0:00.04 ruby
31362 sensu 20 0 124m 6100 2136 R 4.7 0.1 0:00.04 ruby
31363 sensu 20 0 124m 5700 2028 R 4.7 0.1 0:00.04 ruby
31365 sensu 20 0 124m 6288 2160 D 4.7 0.1 0:00.04 ruby
31366 sensu 20 0 124m 5808 2028 R 4.7 0.1 0:00.04 ruby
31369 sensu 20 0 124m 5908 2032 R 4.7 0.1 0:00.04 ruby
31371 sensu 20 0 124m 5636 2008 R 4.7 0.1 0:00.04 ruby
31364 sensu 20 0 124m 5708 2028 R 3.5 0.1 0:00.03 ruby
31368 sensu 20 0 124m 5708 2028 R 3.5 0.1 0:00.03 ruby
31370 sensu 20 0 124m 5700 2028 R 3.5 0.1 0:00.03 ruby
31373 sensu 20 0 124m 5708 2028 R 3.5 0.1 0:00.03 ruby
31382 sensu 20 0 124m 5700 2028 R 3.5 0.1 0:00.03 ruby
31384 sensu 20 0 124m 5724 2028 R 3.5 0.1 0:00.03 ruby
14
···
Le mercredi 26 août 2015 15:12:31 UTC+2, jawed khelil a écrit :
Hi everyone
we have one sensu server dedicated for an openstack environment. the server is 8Go vm / 2 cpu
the server handles
- 3 classic checks (ram/cpu/disk)
- 3 metric checks (every 20 s)
we had about 50 virtual machines. when an unexpected increase of the number of vms, and we passed to 100 hundreds vms.
After 24 hours, the server accumulates 4 hours of delay to handle results. I can see 150K messages in the result queue.
I add a new server, but I am wondering if I will have to add a sensu server every 50 vms increase in the cloud environement.
I am asking if you can share your deployment architecture of sensu (number of server, ressources (cpu,ram), dedicated server for api) and the size of your infrastructure.
Is there any benchmarking test or results for sensu.
thank you