Hello: <br><br>I have already done that, the memory_limit=256M at the moment<br><br>//Marco<br><br><div class="gmail_quote">On Mon, Apr 6, 2009 at 3:53 PM, Network Operation Center FMC Luxemburg <span dir="ltr"><<a href="mailto:NOC@eurofmc.com">NOC@eurofmc.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000">
Marco,<br>
<br>
That is a PHP problem.<br>
<br>
You mus increase th memory allocation in your php.ini file, i.e :<br>
<br>
memory_limit = 64M<br>
<br>
François<br>
<br>
Marco Tirado wrote:
<blockquote type="cite"><div><div></div><div class="h5">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>
</div></div><pre><hr size="4" width="90%">
------------------------------------------------------------------------------
</pre>
<pre><hr size="4" width="90%">
_______________________________________________
Nagios-users mailing list
<a href="mailto:Nagios-users@lists.sourceforge.net" target="_blank">Nagios-users@lists.sourceforge.net</a>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null</pre>
</blockquote>
<br>
<br>
<div>-- <br>
<font>Network Operation Center
<br>
<br>
LUXEMBURG
</font>
<p>E-mail: <a href="mailto:NOC@eurofmc.com" target="_blank">NOC@eurofmc.com</a>
<br>
<font>
--------------------------------------------------------------------
<br>
<pre><u>DISCLAIMER</u>: This e-mail contains proprietary information some or all
of which may be legally privileged. It is for the intended recipient
only. If an addressing or transmission error has misdirected this
e-mail, please notify the author by replying to this e-mail. If you
are not the intended recipient you must not use, copy, distribute,
disclose, print, or rely on this e-mail.
</pre>
</font>
</p>
</div>
</div>
</blockquote></div><br>