Results 1 to 14 of 14

Hybrid View

  1. #1

    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.

  2. #2
    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

  3. #3
    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 -l
    httpd -V
    Regards
    UNIXy - 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

  4. #4
    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
    When I tried httpd -l or httpd -v I got the following error message:
    -bash: httpd: command not found
    Thanks for your help

  5. #5
    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).

    Regards
    UNIXy - 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

  6. #6
    So the server is not actually using 307MB memory? What is the actual memory being used?

  7. #7
    Join Date
    Sep 2008
    Location
    Dallas, TX
    Posts
    4,568
    It's using 309Mb of ram.
    Jacob Wall

  8. #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.

  9. #9
    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.

  10. #10
    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

  11. #11
    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

  12. #12
    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)

  13. #13
    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

  14. #14
    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

  1. Webmin / Virtualmin
    By nostra999 in forum Dedicated Server
    Replies: 0
    Last Post: 04-03-2007, 03:48 AM
  2. WEBMIN/Virtualmin - Desperate for help
    By 2net in forum Hosting Software and Control Panels
    Replies: 3
    Last Post: 07-06-2005, 09:31 PM
  3. Webmin/Virtualmin Help...
    By Shin Asuka in forum Hosting Security and Technology
    Replies: 3
    Last Post: 09-11-2004, 10:57 PM
  4. help with webmin/Virtualmin
    By kks787 in forum Hosting Software and Control Panels
    Replies: 0
    Last Post: 09-08-2004, 04:11 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •