From: William W. <hes...@em...> - 2007-04-13 18:23:10
|
well adding a gig of ram to my rented server isn't cheap..:) Thanks for the tip..i'll go the ram saving route so i can use that ram for my clients..:) Jamie Cameron wrote: > Any one of them would be pretty RAM-intensive, as they have no compiled > form, and require the interpreter to be in memory are all times. > > That said, you can configure Virtualmin to use less memory at the expense > of speed. To do this, edit /etc/webmin/miniserv.conf and remove the preload= > line, then run /etc/webmin/restart . However, with 1GB of RAM costing <$100, > these days I am optimizing for speed over memory use :-) > > - Jamie > > On 13/Apr/2007 04:14 William Warren wrote .. >> have you considered using another scripting language?..just wondering. >> >> Jamie Cameron wrote: >>> Just login via SSH as root, and use a text editor to look at the >>> first line of each file.. >>> >>> If they are the same, then the memory use is actually 98% shared >>> between the two processes .. so actual use is only about 100M. >>> Excessive I know .. but that is the price you pay for using a scripting >>> language like Perl to write a large system like Webmin :( >>> >>> - Jamie >>> >>> On 12/Apr/2007 18:24 William Warren wrote .. >>>> how do i check for that information..i'm not seeing it in webmin. >>>> >>>> Still wondering why it's chewing up over 200 megs of ram though. >>>> >>>> Jamie Cameron wrote: >>>>> On 12/Apr/2007 16:46 William Warren wrote .. >>>>>> I am wondering why webmin/virtualmin are chewing up a quarter GIG >> of >>>> ram? >>>>>> 16755 root 106816 kB /usr/libexec/webmin/proc/index_size.cgi >>>>>> 16561 root 104764 kB /usr/bin/perl /usr/libexec/webmin/miniserv.pl >>>>>> /etc/webmin/miniserv.conf >>>>> Do both /usr/libexec/webmin/miniserv.pl and /usr/libexec/webmin/proc/index_size.cgi >>>> start >>>>> with the exact same #! line? Normally they do, which allows Webmin >> to >>>> avoid execing a >>>>> separate Perl instance for each request, which saves a lot of memory. >>>>> >>>>> Normally a full Virtualmin install with all perl functions pre-loaded >>>> into memory >>>>> will consume about 100M. >>>>> >>>>> - Jamie > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > - > Forwarded by the Webmin mailing list at web...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list > > > > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > Scanned with Copfilter Version 0.84beta1 (P3Scan 2.2.1) > AntiSpam: SpamAssassin 3.1.8 > AntiVirus: ClamAV 0.90.1/3090 - Fri Apr 13 08:18:38 2007 > by Markus Madlener @ http://www.copfilter.org > -- My "Foundation" verse: Isa 54:17 No weapon that is formed against thee shall prosper; and every tongue that shall rise against thee in judgment thou shalt condemn. This is the heritage of the servants of the LORD, and their righteousness is of me, saith the LORD. -- carpe ductum -- "Grab the tape" CDTT (Certified Duct Tape Technician) Linux user #322099 Machines: 206822 256638 276825 http://counter.li.org/ |