|
|
| Author |
Message |
FreeBzH
Joined: 21 Apr 2008 Posts: 2
|
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2032 Location: United Kingdom
|
Posted: Mon Apr 21, 2008 9:45 am Post subject: |
|
|
You can always create config files by hand - they are just text files! You don't need to use the editor at all, it just makes some things easier, like picking cacti data sources.
Sounds to me like a memory_limit problem if you get results with a small image but not a big one. What is your memory_limit in php.ini (check.php will tell you, too).
|
|
| Back to top |
|
 |
FreeBzH
Joined: 21 Apr 2008 Posts: 2
|
Posted: Mon Apr 21, 2008 11:43 am Post subject: |
|
|
Thx for replying
I have a 32MB limit for php, but I configure it by text file directly, and then when I create the map I have no pb... and with this config file (which works) I have direclty a "Zero sized Reply" when I select the config file from editor.php.
(I still have to understand why it doesn't appear on the page weathermap automaticaly, but I can see it with explicit .html call.
Im not far to be good
Thx for your help.
|
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2032 Location: United Kingdom
|
Posted: Mon Apr 21, 2008 11:50 am Post subject: |
|
|
The Cacti docs suggest a 128M memory_limit for Cacti. I would suggest at least that for weathermap. I think mine is set to 256M.
(that section about memory_limit isn't in the 0.8.7 manual, but I think recent PHP versions default to 128M instead of the old 8M).
|
|
| Back to top |
|
 |
TCH
Joined: 16 Jul 2008 Posts: 1
|
Posted: Wed Jul 16, 2008 7:02 am Post subject: apache php.ini |
|
|
| If you have apache2 you must check that the file php.ini associated to apache2 has also the correct memory limit. To check it you must go to the directory where you installed php and change the memory_limit configuration for apache2 (normally /etc/php/apache2/php.ini). Sorry for my English.
|
|
| Back to top |
|
 |
|