Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
Post support questions that directly relate to Linux/Unix operating systems.
Moderators: Developers , Moderators
monideth
Cacti User
Posts: 95 Joined: Thu Apr 03, 2003 3:29 am
Contact:
Post
by monideth » Tue Apr 13, 2004 6:40 am
All,
I am getting this error when trying to view a 'Monthly (2 Hour Average Graph):
Code: Select all
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 12 bytes) in /var/www/cacti/lib/rrd.php on line 328
This only seems to be a problem for 95th Percentile graphs.
Note: I have already applied the two recent patches which affected 95th percentile graphs - and they resolved those correspondong issues.
Thanks in advance for any help.
Regards,
Mon
maenu
Cacti User
Posts: 57 Joined: Thu Jul 17, 2003 8:55 am
Location: Switzerland
Post
by maenu » Wed Apr 14, 2004 2:49 am
hmm... your php.ini (usually located in /etc/ or /etc/php or similar) has the line
Code: Select all
memory_limit = 8M ; Maximum amount of memory a script may consume (8MB)
=> increase that value (for example to 32M for 32megabytes.. )
This value indicates the maximum memory a PHP-Script can use...
regards, mänu
To know recursion, you must first know recursion.
monideth
Cacti User
Posts: 95 Joined: Thu Apr 03, 2003 3:29 am
Contact:
Post
by monideth » Fri Apr 16, 2004 8:42 am
Maenu,
You are a genius!
I changed the value to 10M and it worked - the graph is now displaying.
Note - I had to restart apache before the PHP setting took effect.
Thanks once again.
Regards,
Mon
Users browsing this forum: No registered users and 3 guests