Issues after migrating to new hardware
-
Ok increased to 256 restarted fog cleared error log same behavior error message is this in apache2/error.log
[Sat Mar 07 15:51:10 2015] [error] [client 10.200.50.189] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 71 bytes) in /var/www/fog/lib/fog/FOGBase.class.php on line 57, referer: [url]http://10.200.10.150/fog/management/index.php?node=snapin&sub=list[/url]
-
Ok bumped FOG_MEMORY_LIMIT to 1024 and that fixed it I may mess with this later and see if 512 or 728 will work.
-
I would LOVE some assistance to figure out this memory issue. I know db size plays some role but it seems a bit ridiculous that we should have to have that much memory to simply read db entries.
-
384, 512, 640, and 768 all fail but 896 seems to work.
-
Going to call this a win and leave it alone for now if you guys have any suggestions that won’t bring this down I can try them.
-
[quote=“Tom Elliott, post: 43448, member: 7271”]I would LOVE some assistance to figure out this memory issue. I know db size plays some role but it seems a bit ridiculous that we should have to have that much memory to simply read db entries.[/quote]
Is this an issue on the whole web interface or just with snapins or hosts…? -
Mostly its an issue if theres a lot of data for the section You’re looking at.
-
Strangely enough I just saw it in snapins and images when i edit individual ones.
-
I’ve looked through the PHP code a couple of times but it’s very hard for me to get kickstarted with this much of code that I have not worked with very much yet. I probably won’t be of much help…
But maybe I can point you to some general things I read about this sort of issues. There are a couple of good comments and tipps on debugging memory leaks within PHP code here: [url]http://stackoverflow.com/questions/849549/diagnosing-memory-leaks-allowed-memory-size-of-bytes-exhausted[/url]
Have you worked with ‘memory_get_usage’ pointed out here?? [url]http://paul-m-jones.com/archives/262[/url]
-
For future readers: https://wiki.fogproject.org/wiki/index.php?title=Migrate_FOG