"View SNMP cache" command is not working

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
argolabs
Posts: 12
Joined: Fri Jan 13, 2006 7:03 am

"View SNMP cache" command is not working

Post by argolabs »

Hi guys,

When I click "View SNMP cache" link in "System Utilities" I got a web server message "The page cannot be displayed".
My Apache error log file includes following message:
---------------------
Allowed memory size of 8388608 bytes exhausted (tried to allocate 64 bytes)
---------------------
This is really strange because "View Poller Cache" is working fine.

Also "View Cacti Log File" reported the same message ("The page cannot be displayed").

I have Cacti 0.8.6h

Who can help me ?

Regards,
argolabs
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

You need to increase the max memory parameter in php from 8M to something like 32M or 64M. How many data sources do you have?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
argolabs
Posts: 12
Joined: Fri Jan 13, 2006 7:03 am

Post by argolabs »

I have currently 391 data sources
argolabs
Posts: 12
Joined: Fri Jan 13, 2006 7:03 am

Post by argolabs »

I increased php max memory up to 64M and now it works !!
Thanks for a help.

Unfortunatelly "View Cacti Log File" is still not working ...
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Huh, it works but it doesn't?

If you're on windows, then you have a NTFS permission issue with why you cannot view the log file. Please review the installation guide in my signature.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Fyi, if the log is to large, I would suggest that you don't view it from the web interface.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
argolabs
Posts: 12
Joined: Fri Jan 13, 2006 7:03 am

Post by argolabs »

Thanks a lot for a help. My log file was 53 M large and this was a reason of my problem. :lol:
argolabs
Posts: 12
Joined: Fri Jan 13, 2006 7:03 am

Post by argolabs »

Thanks a lot for a help. My log file was 53 M large and this was a reason of my problem. :lol:
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests