Nagios server slowness
Posted: Mon Jun 03, 2013 6:33 am
Hi,
i noticed that the cpu load and io is pretty high in the nagios xi, i have recently updated in the system Nagios XI 2012R2.1. I have enclosed the screenshot for your reference. We are unable to access the system.
I have followed http://assets.nagios.com/downloads/nagi ... rmance.pdf, however it didnt worked..
Also, im getting this below error:
Error: While connecting to Database
Local host Connection to the database server failed by reason
top result----
Tasks: 678 total, 5 running, 672 sleeping, 0 stopped, 1 zombie
Cpu(s): 42.8%us, 8.0%sy, 0.0%ni, 1.6%id, 43.5%wa, 0.7%hi, 3.5%si, 0.0%st
Mem: 3107040k total, 2963456k used, 143584k free, 4792k buffers
Swap: 2031608k total, 351952k used, 1679656k free, 783680k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
22812 apache 18 0 58596 36m 5344 R 92.5 1.2 7:43.60 httpd
26686 root 16 0 1472m 919m 25m R 43.6 30.3 1809:49 firefox
6161 postgres 16 0 23168 11m 9m R 9.6 0.4 0:19.22 postmaster
30738 apache 17 0 58048 36m 5328 R 6.2 1.2 5:19.39 httpd
31466 postgres 16 0 23180 12m 10m D 5.8 0.4 0:19.81 postmaster
26137 postgres 16 0 23224 11m 9.9m S 4.3 0.4 0:08.65 postmaster
32480 postgres 16 0 23072 11m 9.8m D 3.8 0.4 0:02.44 postmaster
4824 nagios 25 0 6540 1988 1288 S 3.4 0.1 0:00.07 snmpwalk
1517 postgres 16 0 23088 11m 9.8m D 2.4 0.4 0:04.32 postmaster
23 root 10 -5 0 0 0 S 1.9 0.0 989:56.93 kblockd/2
1500 postgres 17 0 22980 12m 10m D 1.9 0.4 0:02.66 postmaster
14743 postgres 17 0 23012 11m 10m D 1.9 0.4 0:17.84 postmaster
3498 root 15 0 49796 7720 5904 S 1.4 0.2 45:20.17 vino-server
4511 root 16 0 63324 14m 9560 S 1.4 0.5 0:02.52 gnome-terminal
28623 postgres 16 0 23012 11m 9m D 1.4 0.4 0:08.05 postmaster
1526 postgres 16 0 22880 11m 9768 S 1.0 0.4 0:01.26 postmaster
24 root 10 -5 0 0 0 S 0.5 0.0 20:57.32 kblockd/3
[root@monitoring libexec]#
Kindly let me know if you've any option to improve speed/performance of the system.
Regards,
Raj.
i noticed that the cpu load and io is pretty high in the nagios xi, i have recently updated in the system Nagios XI 2012R2.1. I have enclosed the screenshot for your reference. We are unable to access the system.
I have followed http://assets.nagios.com/downloads/nagi ... rmance.pdf, however it didnt worked..
Also, im getting this below error:
Error: While connecting to Database
Local host Connection to the database server failed by reason
top result----
Tasks: 678 total, 5 running, 672 sleeping, 0 stopped, 1 zombie
Cpu(s): 42.8%us, 8.0%sy, 0.0%ni, 1.6%id, 43.5%wa, 0.7%hi, 3.5%si, 0.0%st
Mem: 3107040k total, 2963456k used, 143584k free, 4792k buffers
Swap: 2031608k total, 351952k used, 1679656k free, 783680k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
22812 apache 18 0 58596 36m 5344 R 92.5 1.2 7:43.60 httpd
26686 root 16 0 1472m 919m 25m R 43.6 30.3 1809:49 firefox
6161 postgres 16 0 23168 11m 9m R 9.6 0.4 0:19.22 postmaster
30738 apache 17 0 58048 36m 5328 R 6.2 1.2 5:19.39 httpd
31466 postgres 16 0 23180 12m 10m D 5.8 0.4 0:19.81 postmaster
26137 postgres 16 0 23224 11m 9.9m S 4.3 0.4 0:08.65 postmaster
32480 postgres 16 0 23072 11m 9.8m D 3.8 0.4 0:02.44 postmaster
4824 nagios 25 0 6540 1988 1288 S 3.4 0.1 0:00.07 snmpwalk
1517 postgres 16 0 23088 11m 9.8m D 2.4 0.4 0:04.32 postmaster
23 root 10 -5 0 0 0 S 1.9 0.0 989:56.93 kblockd/2
1500 postgres 17 0 22980 12m 10m D 1.9 0.4 0:02.66 postmaster
14743 postgres 17 0 23012 11m 10m D 1.9 0.4 0:17.84 postmaster
3498 root 15 0 49796 7720 5904 S 1.4 0.2 45:20.17 vino-server
4511 root 16 0 63324 14m 9560 S 1.4 0.5 0:02.52 gnome-terminal
28623 postgres 16 0 23012 11m 9m D 1.4 0.4 0:08.05 postmaster
1526 postgres 16 0 22880 11m 9768 S 1.0 0.4 0:01.26 postmaster
24 root 10 -5 0 0 0 S 0.5 0.0 20:57.32 kblockd/3
[root@monitoring libexec]#
Kindly let me know if you've any option to improve speed/performance of the system.
Regards,
Raj.