Page 2 of 2

Re: I/O wait reported from secondary NagiosXI

Posted: Thu Apr 03, 2014 1:30 pm
by jpipitone
Update: I ran the database repair script and the server seems to be responding normally now.

Is anyone able to give me any insight regarding my physical memory question? This is a 32 bit OS - if we install more memory in the server, will the OS see it, and will Nagios be able to utilize it?

If not, we can rebuild with a 64 bit OS and import the existing Nagios config.

Any ideas?

Re: I/O wait reported from secondary NagiosXI

Posted: Thu Apr 03, 2014 3:59 pm
by abrist
Most 32bit linux kernels will and already do support physical address extensions. A single process may still be restricted, but as nagios is mostly a collection of different scripts and binaries, more memory would not hurt. Lets make sure that you server's memory usage is actually high, and not just filled with disk caching (which is mostly benign).

Code: Select all

free -m

Re: I/O wait reported from secondary NagiosXI

Posted: Thu Apr 03, 2014 4:03 pm
by jpipitone

Code: Select all

[root@nagiosxi ~]# free -m
             total       used       free     shared    buffers     cached
Mem:          4040       3506        534          0        154       2550
-/+ buffers/cache:        801       3239
Swap:         5023          0       5023

Re: I/O wait reported from secondary NagiosXI

Posted: Fri Apr 04, 2014 10:42 am
by abrist
jpipitone wrote:-/+ buffers/cache:        801       3239
You are actually using very little of your memory. 3.2 gb are used for disk caching which is released when needed. Your io issues must be caused by something else other than lack of memory. Is you disk full?

Code: Select all

df -h
df -i

Re: I/O wait reported from secondary NagiosXI

Posted: Fri Apr 04, 2014 10:47 am
by jpipitone
Disk isn't anywhere near full. I ran the nagios database repair script which seemed to have resolved the I/O issues.

Re: I/O wait reported from secondary NagiosXI

Posted: Fri Apr 04, 2014 10:51 am
by abrist
Great. You may want to take a look at the mysqld logs for crashed table errors:

Code: Select all

tail -200 /var/log/mysqld.log | grep crashed

Re: I/O wait reported from secondary NagiosXI

Posted: Fri Apr 04, 2014 11:31 am
by jpipitone
Will do. Thank you!