Failed when when I create more than 4 maps
Moderators: Developers, Moderators
-
- Posts: 4
- Joined: Mon Jan 15, 2007 5:33 am
Failed when when I create more than 4 maps
Hi
When I create more than 4 maps the fiveth doesn't good.
Why ? Can't we not create more than 4 maps ?
thk
When I create more than 4 maps the fiveth doesn't good.
Why ? Can't we not create more than 4 maps ?
thk
Re: Failed when when I create more than 4 maps
Check these things in your php.ini:studionews wrote:Hi
When I create more than 4 maps the fiveth doesn't good.
Why ? Can't we not create more than 4 maps ?
thk
; Maximum size of POST data that PHP will accept.
post_max_size = 20M (default is much lower)
; Maximum allowed size for uploaded files.
upload_max_filesize = 10M (default is much lower)
Also make sure you are giving php enough memory in php.ini as well.
Answer to your question is, yes, more than 4 maps works fine. Good luck.
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: Failed when when I create more than 4 maps
How/Why do these two make a difference? I'm curious...chadd wrote: Check these things in your php.ini:
; Maximum size of POST data that PHP will accept.
post_max_size = 20M (default is much lower)
; Maximum allowed size for uploaded files.
upload_max_filesize = 10M (default is much lower)
Anyway, memory_limit does for sure, and indeed you can have many more than 4 maps. Memory should be released between maps in the poller too, so the memory_limit should only affect the size of one map, rather than the total size of all maps. If not, I've broken something somewhere...
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
- streaker69
- Cacti Pro User
- Posts: 712
- Joined: Mon Mar 27, 2006 10:35 am
- Location: Psychic Amish Network Administrator
Re: Failed when when I create more than 4 maps
I could see that MAYBE the first option MIGHT have an effect, but the second should not.Howie wrote:How/Why do these two make a difference? I'm curious...chadd wrote: Check these things in your php.ini:
; Maximum size of POST data that PHP will accept.
post_max_size = 20M (default is much lower)
; Maximum allowed size for uploaded files.
upload_max_filesize = 10M (default is much lower)
Anyway, memory_limit does for sure, and indeed you can have many more than 4 maps. Memory should be released between maps in the poller too, so the memory_limit should only affect the size of one map, rather than the total size of all maps. If not, I've broken something somewhere...
I think this is the one that ended up doing the trick for me:
; Maximum size of POST data that PHP will accept.
post_max_size = 20M (default is much lower)
I found the information in another forum, because I was having the same problem - and I think it was because of the size of my map (over 2M - the default POST limit). I made both changes at the same time, so I am guessing that the above one is the one that mattered.
; Maximum size of POST data that PHP will accept.
post_max_size = 20M (default is much lower)
I found the information in another forum, because I was having the same problem - and I think it was because of the size of my map (over 2M - the default POST limit). I made both changes at the same time, so I am guessing that the above one is the one that mattered.
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Which is weird, because weathermap doesn't use POST requests at all (OR uploads). I guess this is some typical PHP quirk. The manual doesn't mention any link between locally created files and post_max_size. That's why I asked. Gotta love PHPchadd wrote:I think this is the one that ended up doing the trick for me:
; Maximum size of POST data that PHP will accept.
post_max_size = 20M (default is much lower)
I found the information in another forum, because I was having the same problem - and I think it was because of the size of my map (over 2M - the default POST limit). I made both changes at the same time, so I am guessing that the above one is the one that mattered.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
-
- Posts: 4
- Joined: Mon Jan 15, 2007 5:33 am
Who is online
Users browsing this forum: No registered users and 2 guests