Is it normal. shopping cart eat 256m

Discussion in 'Site & Server Administration' started by Michellylei, May 19, 2009.

  1. #1
    29757 mysql 15 0 125m 18m 4440 S 0 7.3 0:03.17 mysqld
    30538 apache 15 0 34216 14m 4188 S 0 5.8 0:01.80 httpd
    30539 apache 15 0 34228 14m 4148 S 0 5.8 0:01.59 httpd
    30536 apache 15 0 34228 14m 4160 S 0 5.7 0:01.42 httpd
    30537 apache 15 0 34160 14m 4136 S 0 5.7 0:01.38 httpd
    5307 apache 15 0 33716 14m 4088 S 0 5.6 0:01.25 httpd
    5304 apache 15 0 33700 14m 4176 S 0 5.6 0:00.71 httpd
    30533 apache 15 0 33704 14m 4084 S 0 5.6 0:01.68 httpd
    30534 apache 18 0 33692 14m 4096 S 0 5.6 0:02.26 httpd
    30535 apache 15 0 33564 14m 4176 S 0 5.5 0:01.80 httpd
    5308 apache 15 0 33480 14m 4244 S 0 5.5 0:01.24 httpd
    5351 apache 15 0 33696 14m 4060 S 0 5.5 0:01.02 httpd
    30532 apache 15 0 33508 13m 4088 S 0 5.4 0:01.35 httpd
    5309 apache 15 0 28228 9.8m 2880 S 0 3.8 0:00.42 httpd
    30522 root 15 0 24856 9044 5380 S 0 3.5 0:00.34 httpd
    32705 root 18 0 7992 2392 1936 S 0 0.9 0:00.13 sshd
    28625 root 15 0 4024 1424 1172 S 0 0.5 0:00.00 lxadmin.exe
    1964 root 17 0 6988 1404 1124 S 0 0.5 0:00.03 pure-ftpd
    29805 root 18 0 6204 1296 960 S 0 0.5 0:00.00 authdaemond
    32726 root 15 0 2356 1280 1064 S 0 0.5 0:00.02 bash
    29717 root 23 0 2344 1124 964 S 0 0.4 0:00.00 mysqld_safe
    28613 root 25 0 2348 1112 968 S 0 0.4 0:00.00 sh
    29839 root 15 0 3176 1100 576 S 0 0.4 0:00.00 crond
    3220 root 15 0 2100 1040 824 R 0 0.4 0:01.73 top
    28565 root 18 0 5116 956 644 S 0 0.4 0:00.00 sshd
    28574 root 18 0 2616 928 744 S 0 0.4 0:00.00 xinetd
    1970 admin 18 0 7000 916 612 S 0 0.3 0:01.37 pure-ftpd
    1 root 15 0 1964 660 568 S 0 0.3 0:00.42 init
    28539 root 18 0 1636 588 484 S 0 0.2 0:00.23 syslogd
    29790 qmaill 21 0 1568 476 404 S 0 0.2 0:00.00 splogger
    28554 dbus 25 0 2632 464 328 S 0 0.2 0:00.00 dbus-daemon
    29789 qmails 18 0 1796 464 368 S 0 0.2 0:00.00 qmail-send
    29824 root 18 0 6204 460 124 S 0 0.2 0:00.00 authdaemond
    29822 root 18 0 1600 376 312 S 0 0.1 0:00.00 tcpserver
    29807 root 15 0 1592 372 312 S 0 0.1 0:00.00 tcpserver
    28587 root 23 0 1596 368 308 S 0 0.1 0:00.00 tcpserver
    29815 root 21 0 1592 368 308 S 0 0.1 0:00.00 tcpserver
    29830 root 25 0 1592 368 308 S 0 0.1 0:00.00 tcpserver
    29792 qmailr 18 0 1576 344 264 S 0 0.1 0:00.00 qmail-rspawn
    29791 root 18 0 1572 340 268 S 0 0.1 0:00.00 qmail-lspawn
    29793 qmailq 24 0 1556 336 276 S 0 0.1 0:00.00 qmail-clean
    28586 tinydns 18 0 1544 304 252 S 0 0.1 0:00.00 tinydns









    why this happen? i just setup a new template. it eat my 256M and get blank page when access my site sometime work by refresh it.
    i using vps. do i need large vps or error cause by template?
     
    Michellylei, May 19, 2009 IP
  2. Camay123

    Camay123 Well-Known Member

    Messages:
    3,423
    Likes Received:
    86
    Best Answers:
    0
    Trophy Points:
    160
    #2
    Depending on which cart your are using, yes it can be normal if your cart is not properly optimised. Also, are you using some sort of control panel, email server, spam and virus checker etc... All these can diminish the available memory pretty fast.
     
    Camay123, May 19, 2009 IP
  3. Michellylei

    Michellylei Active Member

    Messages:
    274
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #3
    i use zen cart, but it is normal before. seem spam script are run in my vps?

    how to know which spam tool?
     
    Michellylei, May 19, 2009 IP
  4. Michellylei

    Michellylei Active Member

    Messages:
    274
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #4
    1533 125.6 mysql /usr/libexec/mysqld --defaults-file=/etc/my.cnf --basedir=/usr --datadir=/var/lib/mysql --user=mysql
    21714 32.86 apache /usr/sbin/httpd
    21715 32.85 apache /usr/sbin/httpd
    21720 32.85 apache /usr/sbin/httpd
    21719 32.84 apache /usr/sbin/httpd
    21718 32.29 apache /usr/sbin/httpd
    21717 32.23 apache /usr/sbin/httpd
    21721 32.13 apache /usr/sbin/httpd
    21716 24.41 apache /usr/sbin/httpd
    21712 24.28 root /usr/sbin/httpd
    22206 7.95 root sshd: root@pts/0
    22074 6.05 root /usr/libexec/courier-authlib/authdaemond
    22084 6.05 root /usr/libexec/courier-authlib/authdaemond
    21909 5.13 lxlabs /usr/local/lxlabs/ext/lxlighttpd/sbin/lxadmin.httpd -f /usr/local/lxlabs/lxadmin/file/lighttpd.conf
    21821 5 root /usr/sbin/sshd
    21894 3.93 root ../sbin/lxadmin.exe master
    22114 3.11 root crond
    21809 2.57 dbus dbus-daemon --system
    21831 2.55 root xinetd -stayalive -pidfile /var/run/xinetd.pid
    22316 2.3 root -bash
    1500 2.29 root /bin/sh /usr/bin/mysqld_safe --defaults-file=/etc/my.cnf --pid-file=/var/run/mysqld/mysqld.pid --log
    21883 2.29 root sh ../sbin/lxadmin-wrapper.sh
    30296 2.05 root top
    1 1.91 root init [3]
    22057 1.76 qmails qmail-send
    21791 1.59 root syslogd -m 0
    22077 1.56 root /usr/bin/tcpserver -v -R -H -l server1.inflatablesale.com 0 110 /usr/sbin/pop3login /usr/bin/pop3d M
    22090 1.55 root /usr/bin/tcpserver -v -R -H -l server1.inflatablesale.com 0 143 /usr/sbin/imaplogin /usr/bin/imapd M
    22100 1.55 root /usr/bin/tcpserver -v -R -H -l server1.inflatablesale.com 0 993 /usr/bin/couriertls -server -tcpd /u
    21846 1.55 root tcpserver -vDRHl0 -x tcp.cdb -- 0.0.0.0 53 /usr/local/bin/axfrdns
    22086 1.55 root /usr/bin/tcpserver -v -R -H -l server1.inflatablesale.com 0 995 /usr/bin/couriertls -server -tcpd /u
    22059 1.54 root qmail-lspawn |preline procmail
    22061 1.54 qmailr qmail-rspawn
    22058 1.53 qmaill splogger qmail
    22062 1.52 qmailq qmail-clean
    21845 1.5 tinydns /usr/local/bin/tinydns



    u see? apache eat 32M memory which memory_limit = 32 M in php.ini
    so something wrong ?
     
    Michellylei, May 19, 2009 IP
  5. Camay123

    Camay123 Well-Known Member

    Messages:
    3,423
    Likes Received:
    86
    Best Answers:
    0
    Trophy Points:
    160
    #5
    Zen-cart is pretty well develop so I doubt it is script wise, unless you made some core mod.

    What version of apache ?
     
    Camay123, May 19, 2009 IP
  6. ravee1981

    ravee1981 Active Member

    Messages:
    712
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    60
    #6
    maybe the search engines are crawling it already. could you check the raw logs? too many instances of httpd come only from too many visits.
     
    ravee1981, May 21, 2009 IP