On 07/22/14 08:34, Sebastian Martinez wrote:

>
>
> 2014-07-22 9:40 GMT-03:00 Craig Small <csm...@enc.com.au>:
>
>> On Mon, Jul 21, 2014 at 09:51:03AM -0500, wireless wrote:
>>> On 07/21/14 08:21, Sebastian Martinez wrote:
>>>> this inteface fails randomly but when i run the poller manualy works ok
>> Hmm, it sounds like load or something is not being correctly separated
>> from other pollers.
>>
>> I'm wondering if moving the engine temp directory to a ram drive might
>> help?  The other idea is to make fping use a popen if possible.

 > who i do this?.

In the codes [1]:


If have to audit the code(s) and find the opportunities to use popen.
You have to understand that popen in php, and other scripting languages,
is not the same as popen as it is in a "C" program.


You start playing around with one part of files and soon  you'll find 
the monotonic nature of the mysql database engine, might be a bottleneck
that is only resolved buy upgrading to postgresql. Lot of folks are 
doing this since Oracle took over mysql [2]. I've never pushed the 
limits of jffnms, so I cannot say this as it relates to jffnms. But, the 
future of opensource databases is postresql. Oracle is know as
an open source killer, if you look back through their string of 
acquisitions.


Before I move to postgresql, I'd test your installation  on x86_64 
hardware, with a 3.15.x linux kernel. Craig or others might be able
to send you a /usr/src/linux/.config file so you can build a custom 
kernel tuned exclusively for linux_jffnms_mysql performance. In fact 
that ".config" file would be of keen interest to the wider jffnms 
community and maybe should be part of the jffnms website (Craig?).


To begin to understand just how old (deprecated) your linux kernel is
look here at your 2.6.32 kernel[3] and compare it to the current release 
of the linux kernel [4]. Feature and bug fixes abound; if you want those 
details, just read on the kernelnewbies.org website about
these added features and bug fixes, for each of the dozens of versions
of the linux kernel releases between your current kernel and a version 
of the kernel you a *should* running.



[1] 
http://www.humbug.in/2012/sample-c-program-to-ping-hosts-using-fping/#.U86TcD4nhGE

[2] http://en.wikipedia.org/wiki/MySQL

[3] http://kernelnewbies.org/Linux_2_6_33

[4] http://kernelnewbies.org/Linux_3.15

It's your call. Why not put up a "Debian box" then you'd be almost
as cool as my hero, Craig......

Debian is a fine distro, just not as capable as Gentoo as it is built 
from 100% user controlled sources. Probably a bit more than you need?

;-)     


hth,
James




------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
jffnms-users mailing list
jffnms-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to