The Community Forums

Interact with an entire community of cPanel & WHM users.
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

less ram usage

Discussion in 'Workarounds and Optimization' started by rullextop, Jun 14, 2012.

  1. rullextop

    rullextop Registered

    Joined:
    Jun 14, 2012
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    dedicated vps box need to drop 256MB of ram:

    Code:
     chkconfig | grep 3:on
    bandmin         0:off   1:off   2:on    3:on    4:on    5:on    6:off
    cpanel          0:off   1:off   2:off   3:on    4:on    5:on    6:off
    crond           0:off   1:off   2:on    3:on    4:on    5:on    6:off
    csf             0:off   1:off   2:on    3:on    4:on    5:on    6:off
    dovecot         0:off   1:off   2:off   3:on    4:off   5:on    6:off
    exim            0:off   1:off   2:on    3:on    4:on    5:on    6:off
    fastmail        0:off   1:off   2:off   3:on    4:on    5:on    6:off
    filelimits      0:off   1:off   2:on    3:on    4:on    5:on    6:off
    httpd           0:off   1:off   2:off   3:on    4:off   5:on    6:off
    ipaliases       0:off   1:off   2:on    3:on    4:on    5:on    6:off
    iptables        0:off   1:off   2:on    3:on    4:on    5:on    6:off
    lfd             0:off   1:off   2:on    3:on    4:on    5:on    6:off
    lsws            0:off   1:off   2:on    3:on    4:off   5:on    6:off
    modules_dep     0:off   1:off   2:on    3:on    4:on    5:on    6:off
    mysql           0:off   1:off   2:on    3:on    4:on    5:on    6:off
    named           0:off   1:off   2:off   3:on    4:off   5:on    6:off
    network         0:off   1:off   2:on    3:on    4:on    5:on    6:off
    ror             0:off   1:off   2:on    3:on    4:on    5:on    6:off
    rsyslog         0:off   1:off   2:on    3:on    4:on    5:on    6:off
    saslauthd       0:off   1:off   2:off   3:on    4:off   5:off   6:off
    sshd            0:off   1:off   2:on    3:on    4:on    5:on    6:off
    sysstat         0:off   1:on    2:on    3:on    4:on    5:on    6:off
    vzquota         0:off   1:off   2:on    3:on    4:on    5:on    6:off
    Code:
     ps -ef
    UID        PID  PPID  C STIME TTY          TIME CMD
    root         1     0  0 Jun08 ?        00:00:00 init
    root      1163     1  0 Jun08 ?        00:00:00 /sbin/udevd -d
    root      1467     1  0 Jun08 ?        00:00:02 /sbin/rsyslogd -i /var/run/syslogd.pid -c 4
    root      1506     1  0 Jun08 ?        00:00:00 /usr/sbin/sshd
    root      1652     1  0 Jun08 ?        00:00:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a pam -n 2
    root      1653  1652  0 Jun08 ?        00:00:00 /usr/sbin/saslauthd -m /var/run/saslauthd -a pam -n 2
    root      3575     1  0 Jun08 ?        00:00:02 crond
    root      5918     1  0 18:59 pts/1    00:00:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/var/lib/mysql/host.wearehere.com.pid
    root      5973     1  0 Jun13 ?        00:00:16 /usr/sbin/dovecot
    root      5974  5973  0 Jun13 ?        00:00:03 dovecot-auth
    dovecot   6058  5973  0 Jun13 ?        00:00:00 pop3-login
    dovecot   6059  5973  0 Jun13 ?        00:00:00 pop3-login
    dovecot   6060  5973  0 Jun13 ?        00:00:00 imap-login
    dovecot   6061  5973  0 Jun13 ?        00:00:00 imap-login
    mailnull  7188     1  0 Jun13 ?        00:00:00 /usr/sbin/exim -bd -q1h
    root      7237     1  0 Jun13 ?        00:00:10 /usr/local/bin/spamd -d --allowed-ips=127.0.0.1 --pidfile=/var/run/spamd.pid --max-children=3 --max-spare=1
    mysql     7319  5918  0 18:59 pts/1    00:00:10 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib/mysql/plugin --user=mysql --log-error=/var/lib
    root      7787     1  0 19:12 ?        00:00:00 litespeed (lshttpd)
    root      7788  7787  0 19:12 ?        00:00:00 httpd (lscgid)
    nobody    7789  7787  0 19:12 ?        00:00:01 litespeed (lshttpd)
    weareher  7790  7788  0 19:12 ?        00:00:00 lsphp5
    root      7806     1  0 Jun13 ?        00:00:00 queueprocd - wait to process a task
    weareher  7825  7790  0 19:12 ?        00:00:02 lsphp5
    root      7831     1  0 Jun13 ?        00:00:15 tailwatchd
    root      7870     1  0 Jun13 ?        00:00:00 cpdavd - accepting connections on 2077 and 2078
    root      7873     1  0 Jun13 ?        00:00:00 cpanellogd - sleeping for logs
    root      9534 28350  0 19:47 pts/1    00:00:00 ps -ef
    root     12194  7237  0 12:40 ?        00:00:19 spamd child
    root     13979     1  0 00:00 ?        00:00:11 lfd - sleeping
    named    17439     1  0 Jun08 ?        00:00:25 /usr/sbin/named -u named
    root     20095     1  0 Jun08 ?        00:00:29 cpsrvd (SSL) - waiting for c --llu=1339590308 --listen=3,4,5,6,7,8
    root     28346  1506  0 18:41 ?        00:00:00 sshd: root@pts/1
    root     28350 28346  0 18:41 pts/1    00:00:00 -bash
    root     30579     1  0 Jun08 ?        00:00:33 top -c
    Do I need the following for email/dns to still work?
    /usr/sbin/saslauthd
    /usr/local/bin/spamd
    cpanellogd
    ror
    modules_dep
    httpd
    filelimits
    fastmail
    bandmin
    queueprocd
     
Loading...

Share This Page