sni / mod_gearman

Distribute Naemon Host/Service Checks & Eventhandler with Gearman Queues. Host/Servicegroups affinity included.
http://www.mod-gearman.org
GNU General Public License v3.0
122 stars 42 forks source link

Memory buffer limitation at 4096 Bytes? #128

Closed simonmeggle closed 7 years ago

simonmeggle commented 7 years ago

executing check_nwc_health (mode interface-health) against big network devices with many interfaces over mod_gearman can cut off the service output at 4096 Bytes.

~$ wc nwc.out
  43  372 4095 nwc.out

(I just wondered because the output length issue seems to be solved since a long time )

https://github.com/sni/mod_gearman/blob/91f41787201773315722ede37dfd825772565dda/include/common.h#L148

mod_gearman on Open Monitoring Distribution Version 2.61.20171107-labs-edition

simonmeggle commented 7 years ago

Disabling the embedded Perl interpreter on the worker solves the problem.