Results 1 to 14 of 14
Thread: webmin / Virtualmin memory usage
Hybrid View
-
08-14-2009, 09:22 PM #1Newbie
- Join Date
- Aug 2009
- Posts
- 8
webmin / Virtualmin memory usage
Hi,
I have the following programs running on my server:
Ubuntu Linux 8.04.2
Apache version 2.2.8
BIND version 9.4.2
Webmin version 1.480
Virtualmin version 3.72.gpl GPL
Postfix version 2.5.1
Dovecot IMAP/POP3 Server Version 1.0.10
ProFTPd version 1.31
MySQL version 5.0.51
OpenSSH_4.7
This is a brand new website with very little traffic. However, the server seems to be using a lot of memory
Real memory: 495.43 MB total / 182.41 MB free Swap space: 0 bytes total / 0 bytes free
Is this normal or is there something wrong? Does it really need about 380MB just to have a basic website up and running?
Thanks for your help.
-
08-14-2009, 09:26 PM #2Web Hosting Master
- Join Date
- Sep 2008
- Location
- Dallas, TX
- Posts
- 4,568
It's caching some of the RAM. Can you give us the output of "free -m" please.
Jacob Wall
-
08-14-2009, 09:33 PM #3Corporate Member
- Join Date
- Feb 2008
- Location
- Houston, Texas, USA
- Posts
- 3,262
Your apache build probably has a lot of modules compiled in / loaded that eat up all the memory. Can you post the output of these commands:
httpd -lhttpd -VUNIXy - Fully Managed Servers and Clusters - Established in 2006
Server Management - Unlimited Servers. Unlimited Requests. One Plan!
cPanel Varnish Plugin -- Seamless SSL Caching (Let's Encrypt, AutoSSL, etc)
Slow Site or Server? Unable to handle traffic? Same day performance fix: joe@unixy
-
08-14-2009, 09:39 PM #4Newbie
- Join Date
- Aug 2009
- Posts
- 8
Here are the responses:
free -m
total used free shared buffers cached
Mem: 495 414 80 0 13 93
-/+ buffers/cache: 307 188
Swap: 0 0 0
-bash: httpd: command not found
-
08-14-2009, 09:51 PM #5Corporate Member
- Join Date
- Feb 2008
- Location
- Houston, Texas, USA
- Posts
- 3,262
The good news is the RAM is not being used up. It's cached and is ready to be consumed if needed (see buffers/cache).
RegardsUNIXy - Fully Managed Servers and Clusters - Established in 2006
Server Management - Unlimited Servers. Unlimited Requests. One Plan!
cPanel Varnish Plugin -- Seamless SSL Caching (Let's Encrypt, AutoSSL, etc)
Slow Site or Server? Unable to handle traffic? Same day performance fix: joe@unixy
-
08-14-2009, 09:56 PM #6Newbie
- Join Date
- Aug 2009
- Posts
- 8
So the server is not actually using 307MB memory? What is the actual memory being used?
-
08-14-2009, 10:20 PM #7Web Hosting Master
- Join Date
- Sep 2008
- Location
- Dallas, TX
- Posts
- 4,568
It's using 309Mb of ram.
Jacob Wall
-
08-15-2009, 07:54 PM #8Newbie
- Join Date
- Apr 2009
- Posts
- 8
You may want to consider setting up a swap space, with such a small amount of ram to work with a swap partition may boost your performance.
-
08-15-2009, 10:34 PM #9Junior Guru Wannabe
- Join Date
- May 2009
- Location
- Kansas City
- Posts
- 62
Are you sure you have a dedicated server? It looks like you don't have swap space which is strange not to have in a dedicated server, but common in an OpenVZ VPS.
-
08-19-2009, 07:47 PM #10Newbie
- Join Date
- Aug 2009
- Posts
- 8
I sure am paying for a dedicated server.
Thanks for pointing out about the zero swap space. I talked to my host and have set up 4GB swap space.
However, I still have the question - is it normal to have about 309MB used up on your server if all you have is the following systems running on your server?
Ubuntu Linux 8.04.2
Apache version 2.2.8
BIND version 9.4.2
Webmin version 1.480
Virtualmin version 3.72.gpl GPL
Postfix version 2.5.1
Dovecot IMAP/POP3 Server Version 1.0.10
ProFTPd version 1.31
MySQL version 5.0.51
OpenSSH_4.7
-
08-20-2009, 02:45 AM #11Web Hosting Evangelist
- Join Date
- Feb 2007
- Location
- NY Metro
- Posts
- 544
Post the output of 'top' and that may help others assist you.
▌ Brandon Hale | bhale@fortressitx.com | 888.500.0774
-
08-20-2009, 04:45 AM #12Intangible Asset Appraiser
- Join Date
- Mar 2009
- Location
- Austin Tx
- Posts
- 2,007
Just for reference, i have two matching server, one running CentOS w/ Virtualmin/Webmin, the other just a base CentOS install with straight html, stopping all activity, I get -
Without Virtualmin - 263M used
With Virtualmin - 303M used
So an extra 40M.This is the best signature in the world....Tribute!
(It is not the best signature in the world, no. This is just a tribute)
-
08-20-2009, 05:03 AM #13The Linux Specialist
- Join Date
- Mar 2003
- Location
- /root
- Posts
- 23,991
Moved > Technical & Security Issues.
Specially 4 U
Reseller Hosting: Boost Your Websites | Fully Managed KVM VPS: 3.20 - 5.00 Ghz, Pure Dedicated Power
JoneSolutions.Com is on the net 24/7 providing stable and reliable web hosting solutions, server management and services since 2001
Debian|Ubuntu|cPanel|DirectAdmin|Enhance|Webuzo|Acronis|Estela|BitNinja|Nginx
-
09-22-2009, 05:29 PM #14Junior Guru Wannabe
- Join Date
- Aug 2008
- Posts
- 42
sory for bump,
@OP
is it any way for make it more safe RAM?
Here is Mine,
[root@serversz /]# httpd -l
Compiled in modules:
core.c
prefork.c
http_core.c
mod_so.c
[root@serversz /]# httpd -V
Server version: Apache/2.2.3
Server built: Jul 14 2009 06:02:39
Server's Module Magic Number: 20051115:3
Server loaded: APR 1.2.7, APR-Util 1.2.7
Compiled using: APR 1.2.7, APR-Util 1.2.7
Architecture: 64-bit
Server MPM: Prefork
threaded: no
forked: yes (variable process count)
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=128
-D HTTPD_ROOT="/etc/httpd"
-D SUEXEC_BIN="/usr/sbin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="logs/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
Last edited by cybersquate; 09-22-2009 at 05:33 PM. Reason: x
Similar Threads
-
Webmin / Virtualmin
By nostra999 in forum Dedicated ServerReplies: 0Last Post: 04-03-2007, 03:48 AM -
WEBMIN/Virtualmin - Desperate for help
By 2net in forum Hosting Software and Control PanelsReplies: 3Last Post: 07-06-2005, 09:31 PM -
Webmin/Virtualmin Help...
By Shin Asuka in forum Hosting Security and TechnologyReplies: 3Last Post: 09-11-2004, 10:57 PM -
help with webmin/Virtualmin
By kks787 in forum Hosting Software and Control PanelsReplies: 0Last Post: 09-08-2004, 04:11 AM