|
From: Barry <we...@i1...> - 2006-12-12 03:43:08
|
Barry wrote: > OK - a little more info after some more testing - > > It does indeed seem I am running into a low memory condition. > > How much memory does miniserv/webmin need anyway? > > Miniserv.error gives me the sparse message: > > Out of memory! > > which doesn't help me help it :( > > For now this seems to be happening most consistently in the virtualmin > module (I have ! 10 domains, with form 1 to 6 or so aliases in each > one, possibly up to about 5 subdomains in a few of them. > > This seems to be happening regardless of the theme - the "old webmin > theme" has the same issue. > > I do notice that the new framed thems reports the memory usage at some > instant in time. But it doesn't seem to be anything close to what top is > reporting. For instance, webmin reports: 128 MB total, 110 MB used, > while top is showing Mem: 131072k total, 88856k used, > > That is a big difference in a tight space - so how is webmin calculating > the amount? > > Best, > > Barry > OK, I stopped a bunch of the larger memory using services - mysql and httpd, and then just ran the webmin upgrade again. Still no indication in the browser it completed, but when the load in top went down I assumed all was well. then I rebooted my server, and now webmin shows: 128 MB total, 80 MB used while top shows: Mem: 131072k total, 67184k used, 63888k free Better, but still a big gap. I suppose as my server runs, the memory usage might creep up to a point, but for now webmin seems able to load the virtualmin page. But I am not happy about the gap in memory usage reported,nor the idea that it might take on the order of 30MB of memory just to load the virtualmin summary page.... that sounds like an awful lot! Any tips appreciated, as I can't really increase the memory or create swap space on this server. Can I tune webmin/virtualmin/miniserv to use less memory? How about mysql? apache is already down to just about nada - I suppose I could make a thin server and a thick one with php and perl, but given that I only have maxservers=3 for http, I don't know how much is to be gained by reducing it to 2... Best, Barry |