Thread: how much RAM webmin will consume
-
07-29-2009, 01:57 AM #1
WHT Addict
- Join Date
- Sep 2008
- Posts
- 148
how much RAM webmin will consume
Hello
how much RAM webmin will consume, if installed with usermin Model and Apache.
Thx
- Sponsored Links
-
07-29-2009, 02:00 AM #2
Junior Guru Wannabe
- Join Date
- Jun 2009
- Posts
- 33
Webmin takes about 11MB of RAM on a 32 bit system (20-50% more on a 64 bit system.
But it's hard to get Apache working if RAM is below 256MB.
-
07-29-2009, 03:14 AM #3
Temporarily Suspended
- Join Date
- Aug 2004
- Location
- Groton, Connecticut
- Posts
- 925
-
07-29-2009, 03:20 AM #4
Junior Guru
- Join Date
- May 2009
- Location
- Utopia.
- Posts
- 222
Thanks for the information guys, I just got a $3 VPS from Buzzservers and I'm trying out webmin
hope it runs fine on 256MB of RAM
- Sponsored Links
-
07-29-2009, 04:37 AM #5
Web Hosting Master
- Join Date
- Mar 2005
- Location
- Labrador, Canada
- Posts
- 926
Code:[root@vps:~] free -m total used free shared buffers cached Mem: 540 504 36 0 32 374 -/+ buffers/cache: 97 443 Swap: 255 0 255 [root@vps:~] service webmin stop Stopping Webmin server in /usr/libexec/webmin [root@vps:~] free -m total used free shared buffers cached Mem: 540 500 39 0 32 374 -/+ buffers/cache: 93 446 Swap: 255 0 255 [root@vps:~] service webmin start [root@vps:~] free -m total used free shared buffers cached Mem: 540 505 34 0 32 375 -/+ buffers/cache: 97 442 Swap: 255 0 255
-
07-29-2009, 11:36 AM #6
New Member
- Join Date
- Jul 2008
- Posts
- 4
As Sleddog showed, Webmin is pretty light. Can't comment on UserMin but..
I've got WebMin + Apache + MySQL + PHP running in 77 MB.
Two tweaks to reduce memory consumption:
1) If not needed, disable innodb and berkley database by adding the following code to /etc/my.cnf in the [mysqld] section and reboot mysql
skip-innodb
skip-bdb
2) Reduce Apache's memory usage by adding the following to httpd.conf
MaxSpareServers 1
MinSpareServers 1
StartServers 1
These tweaks work OK for the lightly loaded VPS I use them on but YMMV.
-
07-29-2009, 11:59 AM #7
Web Hosting Master
- Join Date
- Oct 2008
- Posts
- 2,249
Leader of the new anti sig spamming club.
-
07-29-2009, 01:19 PM #8
Junior Guru Wannabe
- Join Date
- Jun 2007
- Posts
- 73
-
07-29-2009, 06:50 PM #9
Junior Guru
- Join Date
- May 2009
- Location
- Utopia.
- Posts
- 222
-
07-30-2009, 01:55 AM #10
Web Hosting Master
- Join Date
- Dec 2006
- Location
- Cardiff, Wales
- Posts
- 799
a few our our backup servers/file servers run Virtualmin and that clocks in at about 170megs of ram being used.
Oh and just as a option, i no with virtual min i could configure it where i could select certain applications such as mysql to run as either in ram or hd memory (might not have been that one exactly, but there were many options)
BestWholesale Direct International Sip Termination & UK Numbering (DID's/DDI's)
Over 250 Direct Interconnects with guarnateed CLI/FAX | SIP & TDM Interconnectivity
http://wholesale.alohatelecom.co.uk | Instant SIP Trunking at unbeatable rates http://www.voipyonder.com/
-
07-30-2009, 06:29 AM #11
Web Hosting Master
- Join Date
- Mar 2005
- Location
- Labrador, Canada
- Posts
- 926
I should add to what I posted above...
Webmin (plus Virtualmin for virtual hosting) uses perl. When you're not doing anything in Webmin/Virtualmin the only memory usage is the webmin service (a small server listening for connections).
When you do something in Webmin/Virtualmin you run one or more perl scripts which use additional memory.
AS a test I installed Webmin and Virtualmin on a local box with 128 MB RAM. To simulate a live environment the box was running Apache with PHP, MySQL, Postfix and Dovecot. Apache & MySQL were tuned to use low memory. Memory usage with everything running and the box idle was about 75-85 MB.
Accessing Virtualmin and using some common functions -- like adding a new domain account -- would exhaust physical memory and cause the box to swap. Definitely not what you want.
Then I popped in another 128 mb stick of RAM, bringing the total to 256 MB. After that I could work through all the Webmin/Virtualmin functions without any significant swapping.
I think Webmin/Virtualmin is quite usable on 256 MB ram. BUT you need to ensure Apache & MySQL are restricted in how much memory they use. Running those services with out-of-the-box configurations can easily kill you. If your initial memory usage with all services running is around 100 MB then I think you'll be just fine.
-
07-30-2009, 07:48 AM #12
Premium Member
- Join Date
- May 2008
- Posts
- 254
free -m
total used free shared buffers cached
Mem: 2000 319 1680 0 0 0
-/+ buffers/cache: 319 1680
Swap: 0 0 0
[~]# service webmin stop
Stopping Webmin server in /usr/libexec/webmin
[~]# free -m
total used free shared buffers cached
Mem: 2000 312 1687 0 0 0
-/+ buffers/cache: 312 1687
Swap: 0 0 0
[~]# service webmin start
[~]#
very small footprint
Similar Threads
-
resource consume
By ICantRemember in forum Dedicated ServerReplies: 1Last Post: 12-13-2004, 09:43 AM -
PHPBB2 search function -consume Ram or CPU more?
By Jori in forum Dedicated ServerReplies: 10Last Post: 10-05-2003, 05:59 PM -
Pay as you consume
By netneurones in forum Web HostingReplies: 7Last Post: 07-05-2003, 03:44 PM -
Bandwidth Consume By Forum
By NTTDoCoMo in forum Web HostingReplies: 6Last Post: 02-24-2003, 02:20 AM -
How much users consume traffic?
By javafaq in forum Reseller HostingReplies: 8Last Post: 09-26-2001, 04:47 AM


Reply With Quote




