Hello people: <br><br>I have changed the configuration of the RRA files for my pnp graphs and now I seem to have some memory issues this is the error I see in the pnp4nagios graphs: <br><br>"<i>Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 40 bytes) in /usr/local/nagios/share/pnp/include/function.inc.php on line 1411</i>"<br>
<br>My rra.cfg configuration file looks like this: <br><br><i>#<br># PNP RRA config<br>#<br># The estimated size of the files will be<br>#<br># 2880 entries with 1 minute step = 48 houres<br>#<br>RRA:AVERAGE:0.5:1:2880<br>
#<br># 210240 entries with 5 minute step = 2 years<br>#<br>RRA:AVERAGE:0.5:5:210240<br><br><br>RRA:MAX:0.5:1:2880<br>RRA:MIN:0.5:5:210240<br><br>RRA:MAX:0.5:1:2880<br>RRA:MIN:0.5:5:210240<br><br></i>As you can see we need 5 minute precission for 2 years in our graphs, this results into 5M rrd files for one measuring point<i>. <br>
</i><br>I have tried changing the "memory_limit " in my php.ini file from 8M up to 256M and restarted apache every time but the problem persists. Is there a hardcoded memory limit in the <i>/usr/local/nagios/share/pnp/include/function.inc.php </i>file? has anybody seen this problem before? <br>
<br>Any help hint, recommendatoin or comment is deeply appreciated<br><br>Regards<br><br>Marco <br>