Submitted by sgrayban on Sat, 06/12/2010 - 16:47
I have a client that has CM installed and uses just real systems and xen and in the menu the link for "Cloudmin Managed Systems" seems to be missing.
The menu seems to stop at "Backup and Restore" and nothing below it which in my CM I see more of the menu.
Looking at /var/webmin/miniserv.error I get a error
Out of memory!
But that can't be right because his server has plenty of memory...
free -m total used free shared buffers cached Mem: 11643 4597 7045 0 34 3866 -/+ buffers/cache: 697 10945 Swap: 2588 0 2588
So this makes no sense why its out of memory.
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Sat, 06/12/2010 - 18:32 Comment #1
Could you attach a screenshot of the left menu to this bug report?
Also, does anything get logged to /var/webmin/miniserv.error when the left menu displayed?
Submitted by sgrayban on Sat, 06/12/2010 - 20:37 Comment #2
I post what was in /var/webmin/miniserv.error - you didn't read everything :)
Submitted by sgrayban on Sat, 06/12/2010 - 20:44 Comment #3
I also get the Out of memory error if I try to edit the xen system too.
Submitted by sgrayban on Sat, 06/12/2010 - 21:00 Comment #4
Even disabling all pre-load libraries didn't do anything. Still get the out of memory error.
I even turned off all xen instances.
Submitted by sgrayban on Sat, 06/12/2010 - 21:15 Comment #5
Hmm there was a 4GB file under /var/webmin/server-manager/ that was causing this to happen.
-rw-r--r-- 1 root root 4.0G 2010-06-11 23:35 /var/webmin/server-manager/xen-asterisknow-170.img
webmin.debug had this as I was refreshing the menu:
22746 [12/Jun/2010 21:06:03] sgrayban 71.32.15.193 server-manager READ "/var/webmin/server-manager/xen-asterisknow-170.img"
22746 [12/Jun/2010 21:06:09] sgrayban 71.32.15.193 - STOP "runtime=7"
Moving that file to /root/ fixed it -- not sure what that file was for.
Submitted by sgrayban on Sat, 06/12/2010 - 22:05 Comment #6
that was the whole bloody issue -- client playing around broke CM and that file was the reason.
Submitted by JamieCameron on Sun, 06/13/2010 - 00:46 Comment #7
Wow, that huge file would certainly cause it!
Just out of interest, what was in that file? If it was created by Cloudmin, that would indicate a bug..
Submitted by JamieCameron on Sun, 06/13/2010 - 00:48 Comment #8
Wow, that huge file would certainly cause it!
Just out of interest, what was in that file? If it was created by Cloudmin, that would indicate a bug..
Submitted by sgrayban on Sun, 06/13/2010 - 02:48 Comment #9
Well it was a image that was being created by CM from a ISO but it failed to finished and the file wasnt removed.