Cacti 0.8.5a - "Fatal error: Allowed memory size of...&

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
User avatar
monideth
Cacti User
Posts: 95
Joined: Thu Apr 03, 2003 3:29 am
Contact:

Cacti 0.8.5a - "Fatal error: Allowed memory size of...&

Post by monideth »

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

php.ini

Post by maenu »

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.
User avatar
monideth
Cacti User
Posts: 95
Joined: Thu Apr 03, 2003 3:29 am
Contact:

Post by monideth »

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
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests