|
From: Jamie C. <jca...@we...> - 2006-12-12 19:47:55
|
On 12/Dec/2006 11:46 Barry wrote .. > Jamie Cameron wrote: > > On 11/Dec/2006 22:32 Barry wrote .. > >> Jamie Cameron wrote: > >>> On 11/Dec/2006 18:52 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 :( > >>> It really doesn't use much memory.. on one of my systems it uses 95 > MB > >> with a bunch > >>> of Webmin libraries pre-loaded to speed up modules. On another machine > >> without > >>> preloading, only 10MB is used. > >>> > >>> By default, module preloading is only setup automatically if using > Virtualmin > >> pro. > >> > >> It kinda looks now like the modules that display lists are the most > >> likely to cause this error. I have seen this behavior before, but I > >> guess I didn't make the connection until now. > >> > >> Maybe it is not miniserv itself as much as teh perl programs? Virtual > >> min is one, I have seen it when listing aliases and especially when > >> listing email for a user account, or the results of a query on email. > I > >> also saw it just now when trying to compose an email by a brand new > >> user. Maybe there is some peak usage there? > >> > >> Also I wonder if the new frames them causes extra hits on the server, > >> causing it to spawn new children more often then it would have before? > >> Is there some configuration I can do in that area, like I can with apache> > >> > >> As for the discrepancy between the system info display in webmin and > top > >> and free, the latter two seem to be in close alignment, a lot closer > the > >> webmin display is to either. > >> > >> BTW, I just noticed I had pop/pop3s and smtp active in zinetd, and I > >> also had sendmail and dovecot running as services. I just turned off > the > >> xinetd ones, will see if that helps any. > > > > I suspect that Webmin is using up too much memory when you do things > > that cause large perl libraries to be loaded, in particular those in > > the Virtualmin module (which has a huge -lib.pl file). It would be > > useful to know the peak size of a miniserv.pl process before it exits > ... > > I imagine they are running out of memory and dieing. > > > > - Jamie > > Is there a way for me to find out the peak size? There doesn't seem to > be anything in the log file, at least for now... I guess all you can do is keep running the top command, to see how high memory usage gets.. - Jamie |