Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

The websites on one of my VPS get slow over a short time.

The pages are served reasonaby fast, but jpg's and png's are loading -very- slowly. Apache restart does not solve the problem, a server reboot does, for a while. After a couple of hours the same problem arises again.

  • Affects Dynamic (wordpress) AND Static sites (so yes, direct link to image to).
  • Webfriendly images (10-100k) used.
  • A single 100k image can take 8s to 120s+ to download.
  • Apache restart = nok, Server restart = ok for x hours.
  • Server has; 4 gig ram, debian wheezy on vmware
  • ISPconfig / Apache 2 / php5 all up to date to the most recent version.
  • Network connection is ok. Stable ping of 25ms, up/download via ftp reach easily up to 4Mb/s.
  • No weird high loads or cpu intensive processes (maybe clamd?).

A complete reinstall (OS, ispconfig, ...) did not solve this problem. Getting kind of desperate. I upgraded to this server to have a bit more resources, but the old 512Mb ram, singlecore is faster then this 4gig dualcore. Must be a config issue somewhere but i cant seem to find it. Any idea's?

Some extra info:

httpd.conf

KeepAlive On (Off has the same effect)
MaxKeepAliveRequests 100
KeepAliveTimeout 2
HostnameLookups Off

<IfModule mpm_prefork_module>
    StartServers          8
    MinSpareServers       5
    MaxSpareServers      20
    ServerLimit         256
    MaxClients          256
    MaxRequestsPerChild   4000
</IfModule>



     free -h
             total       used       free     shared    buffers     cached
Mem:          4.3G       1.2G       3.2G         0B        68M       423M
-/+ buffers/cache:       691M       3.7G
Swap:         2.0G         0B       2.0G

A top ...

top - 16:47:34 up 1 day, 16:53,  1 user,  load average: 0.00, 0.02, 0.05
Tasks: 134 total,   1 running, 133 sleeping,   0 stopped,   0 zombie
%Cpu(s):  0.2 us,  0.0 sy,  0.0 ni, 99.8 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st

  PID USER      PR  NI  VIRT  RES  SHR S  %CPU %MEM    TIME+  COMMAND
 4760 clamav    20   0  356m 228m 5620 S   0.0  5.1  17:14.53 /usr/sbin/clamd
 5082 clamav    20   0 43372 2124 1212 S   0.0  0.0  16:26.13 /usr/bin/freshclam -d --quiet
 5497 mysql     20   0  415m  51m 7756 S   0.0  1.1   2:24.95 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib/mysql/plugi
 4658 root      20   0  113m 8468 2344 S   0.0  0.2   2:22.60 /usr/bin/python /usr/bin/fail2ban-server -b -s /var/run/fail2ban/fail2ban.sock
 4603 root      20   0 92936 4560 3592 S   0.0  0.1   2:19.07 /usr/sbin/vmtoolsd
 4273 bind      20   0  194m  34m 2140 S   0.0  0.8   0:43.76 /usr/sbin/named -u bind
 2831 root      20   0     0    0    0 S   0.0  0.0   0:27.80 [flush-8:0]
 4757 amavis    20   0  216m  93m 2916 S   0.0  2.1   0:21.66 /usr/sbin/amavisd-new (master)
18383 amavis    20   0  226m  95m 3624 S   0.0  2.1   0:18.30 /usr/sbin/amavisd-new (ch5-avail)
 4118 root      20   0  115m 2564 1104 S   0.0  0.1   0:14.24 /usr/sbin/rsyslogd -c5
 5064 ntp       20   0 38992 2308 1684 S   0.0  0.1   0:13.33 /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 105:107
 4799 root      20   0  391m  30m  15m S   0.0  0.7   0:12.14 /usr/sbin/apache2 -k start
19107 amavis    20   0  226m  95m 3656 S   0.0  2.1   0:09.41 /usr/sbin/amavisd-new (ch4-avail)
 2189 root      20   0     0    0    0 S   0.0  0.0   0:08.80 [kjournald]
 4659 root      20   0 20404  764  488 S   0.0  0.0   0:08.74 /usr/sbin/irqbalance
 4936 nobody    20   0 67500 1252  900 S   0.0  0.0   0:08.28 /usr/bin/memcached -m 64 -p 11211 -u nobody -l 127.0.0.1
   10 root      20   0     0    0    0 S   0.0  0.0   0:07.44 [rcu_sched]
 4599 root      20   0  310m 8372 1788 S   0.0  0.2   0:07.25 php-fpm: master process (/etc/php5/fpm/php-fpm.conf)
  665 root      20   0     0    0    0 S   0.0  0.0   0:06.92 [kworker/1:1]
 5955 root      20   0 37788 2444 1880 S   0.0  0.1   0:06.17 /usr/lib/postfix/master
    1 root      20   0 10644  804  668 S   0.0  0.0   0:06.01 init [2]
 4681 root      20   0 22296 1496 1204 S   0.0  0.0   0:05.81 /usr/lib/gamin/gam_server
  664 root      20   0     0    0    0 S   0.0  0.0   0:04.26 [kworker/0:1]
 4937 root      20   0 20860  972  724 S   0.0  0.0   0:04.15 /usr/sbin/cron
 5667 root      20   0 21516  948  608 S   0.0  0.0   0:04.06 /usr/sbin/dovecot -c /etc/dovecot/dovecot.conf
16009 www-data  20   0  392m  18m 2260 S   0.0  0.4   0:03.34 /usr/sbin/apache2 -k start
15926 www-data  20   0  169m 9928  372 S   0.0  0.2   0:03.25 /usr/sbin/apache2 -k start
    6 root      20   0     0    0    0 S   0.0  0.0   0:03.14 [kworker/u:0]
16008 www-data  20   0  392m  18m 2580 S   0.0  0.4   0:03.01 /usr/sbin/apache2 -k start
 4735 root      20   0 99776 9404 1816 S   0.0  0.2   0:02.69 /usr/sbin/lwresd
15913 root      20   0 20520 3776 1932 S   0.0  0.1   0:02.55 vlogger (access log)
23049 www-data  20   0  392m  18m 2268 S   0.0  0.4   0:02.45 /usr/sbin/apache2 -k start
23048 www-data  20   0  392m  18m 2272 S   0.0  0.4   0:02.37 /usr/sbin/apache2 -k start
23046 www-data  20   0  392m  18m 2264 S   0.0  0.4   0:02.35 /usr/sbin/apache2 -k start
16006 www-data  20   0  392m  18m 2268 S   0.0  0.4   0:02.30 /usr/sbin/apache2 -k start
16003 www-data  20   0  392m  18m 2292 S   0.0  0.4   0:02.17 /usr/sbin/apache2 -k start
16004 www-data  20   0  392m  18m 2556 S   0.0  0.4   0:02.13 /usr/sbin/apache2 -k start
23047 www-data  20   0  392m  18m 2568 S   0.0  0.4   0:02.12 /usr/sbin/apache2 -k start
16005 www-data  20   0  392m  18m 2576 S   0.0  0.4   0:02.09 /usr/sbin/apache2 -k start
16002 www-data  20   0  392m  18m 2584 S   0.0  0.4   0:01.91 /usr/sbin/apache2 -k start
16007 www-data  20   0  392m  18m 2264 S   0.0  0.4   0:01.84 /usr/sbin/apache2 -k start

and ps

ps faxuwww
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         2  0.0  0.0      0     0 ?        S    Sep14   0:00 [kthreadd]
root         3  0.0  0.0      0     0 ?        S    Sep14   0:00  \_ [ksoftirqd/0]
root         4  0.0  0.0      0     0 ?        S    Sep14   0:00  \_ [kworker/0:0]
root         5  0.0  0.0      0     0 ?        S<   Sep14   0:00  \_ [kworker/0:0H]
root         6  0.0  0.0      0     0 ?        S    Sep14   0:03  \_ [kworker/u:0]
root         7  0.0  0.0      0     0 ?        S<   Sep14   0:00  \_ [kworker/u:0H]
root         8  0.0  0.0      0     0 ?        S    Sep14   0:00  \_ [migration/0]
root         9  0.0  0.0      0     0 ?        S    Sep14   0:00  \_ [rcu_bh]
root        10  0.0  0.0      0     0 ?        S    Sep14   0:07  \_ [rcu_sched]
root        11  0.0  0.0      0     0 ?        S    Sep14   0:00  \_ [ksoftirqd/1]
root        12  0.0  0.0      0     0 ?        S    Sep14   0:01  \_ [migration/1]
root        14  0.0  0.0      0     0 ?        S<   Sep14   0:00  \_ [kworker/1:0H]
root        15  0.0  0.0      0     0 ?        S<   Sep14   0:00  \_ [cpuset]
root        16  0.0  0.0      0     0 ?        S<   Sep14   0:00  \_ [khelper]
root        17  0.0  0.0      0     0 ?        S    Sep14   0:00  \_ [kdevtmpfs]
root        18  0.0  0.0      0     0 ?        S<   Sep14   0:00  \_ [netns]
root       475  0.0  0.0      0     0 ?        S    Sep14   0:00  \_ [bdi-default]
root       476  0.0  0.0      0     0 ?        S<   Sep14   0:00  \_ [kintegrityd]
root       478  0.0  0.0      0     0 ?        S<   Sep14   0:00  \_ [kblockd]
root       637  0.0  0.0      0     0 ?        S<   Sep14   0:00  \_ [ata_sff]
root       647  0.0  0.0      0     0 ?        S    Sep14   0:00  \_ [khubd]
root       657  0.0  0.0      0     0 ?        S<   Sep14   0:00  \_ [md]
root       664  0.0  0.0      0     0 ?        S    Sep14   0:04  \_ [kworker/0:1]
root       665  0.0  0.0      0     0 ?        S    Sep14   0:06  \_ [kworker/1:1]
root       766  0.0  0.0      0     0 ?        S<   Sep14   0:00  \_ [rpciod]
root       767  0.0  0.0      0     0 ?        S<   Sep14   0:00  \_ [kvm-irqfd-clean]
root       806  0.0  0.0      0     0 ?        S    Sep14   0:00  \_ [kswapd0]
root       807  0.0  0.0      0     0 ?        SN   Sep14   0:00  \_ [ksmd]
root       943  0.0  0.0      0     0 ?        S    Sep14   0:00  \_ [fsnotify_mark]
root       984  0.0  0.0      0     0 ?        S<   Sep14   0:00  \_ [nfsiod]
root       996  0.0  0.0      0     0 ?        S<   Sep14   0:00  \_ [cifsiod]
root      1017  0.0  0.0      0     0 ?        S    Sep14   0:00  \_ [jfsIO]
root      1018  0.0  0.0      0     0 ?        S    Sep14   0:00  \_ [jfsCommit]
root      1019  0.0  0.0      0     0 ?        S    Sep14   0:00  \_ [jfsCommit]
root      1020  0.0  0.0      0     0 ?        S    Sep14   0:00  \_ [jfsSync]
root      1034  0.0  0.0      0     0 ?        S<   Sep14   0:00  \_ [xfsalloc]
root      1036  0.0  0.0      0     0 ?        S<   Sep14   0:00  \_ [xfs_mru_cache]
root      1039  0.0  0.0      0     0 ?        S<   Sep14   0:00  \_ [xfslogd]
root      1046  0.0  0.0      0     0 ?        S<   Sep14   0:00  \_ [ocfs2_wq]
root      1049  0.0  0.0      0     0 ?        S<   Sep14   0:00  \_ [user_dlm]
root      1068  0.0  0.0      0     0 ?        S<   Sep14   0:00  \_ [glock_workqueue]
root      1069  0.0  0.0      0     0 ?        S<   Sep14   0:00  \_ [delete_workqueu]
root      1077  0.0  0.0      0     0 ?        S<   Sep14   0:00  \_ [gfs_recovery]
root      1082  0.0  0.0      0     0 ?        S<   Sep14   0:00  \_ [crypto]
root      1114  0.0  0.0      0     0 ?        S<   Sep14   0:00  \_ [kthrotld]
root      1794  0.0  0.0      0     0 ?        S    Sep14   0:01  \_ [kworker/u:2]
root      1887  0.0  0.0      0     0 ?        S<   Sep14   0:00  \_ [drbd-reissue]
root      1919  0.0  0.0      0     0 ?        S<   Sep14   0:00  \_ [iscsi_eh]
root      1960  0.0  0.0      0     0 ?        S<   Sep14   0:00  \_ [bond0]
root      2026  0.0  0.0      0     0 ?        S<   Sep14   0:00  \_ [mpt_poll_0]
root      2027  0.0  0.0      0     0 ?        S<   Sep14   0:00  \_ [mpt/0]
root      2028  0.0  0.0      0     0 ?        S    Sep14   0:00  \_ [scsi_eh_0]
root      2051  0.0  0.0      0     0 ?        S<   Sep14   0:00  \_ [vfio-irqfd-clea]
root      2074  0.0  0.0      0     0 ?        S<   Sep14   0:00  \_ [kpsmoused]
root      2076  0.0  0.0      0     0 ?        S    Sep14   0:00  \_ [kworker/1:2]
root      2101  0.0  0.0      0     0 ?        S<   Sep14   0:00  \_ [dm_bufio_cache]
root      2104  0.0  0.0      0     0 ?        S<   Sep14   0:00  \_ [kdelayd]
root      2107  0.0  0.0      0     0 ?        S<   Sep14   0:00  \_ [kmpathd]
root      2108  0.0  0.0      0     0 ?        S<   Sep14   0:00  \_ [kmpath_handlerd]
root      2114  0.0  0.0      0     0 ?        S<   Sep14   0:00  \_ [edac-poller]
root      2186  0.0  0.0      0     0 ?        S<   Sep14   0:00  \_ [deferwq]
root      2189  0.0  0.0      0     0 ?        S    Sep14   0:08  \_ [kjournald]
root      2831  0.0  0.0      0     0 ?        S    Sep14   0:27  \_ [flush-8:0]
root     13498  0.0  0.0      0     0 ?        S<   Sep15   0:00  \_ [kworker/1:1H]
root     16719  0.0  0.0      0     0 ?        S<   11:00   0:00  \_ [kworker/0:1H]
root         1  0.0  0.0  10644   804 ?        Ss   Sep14   0:06 init [2]
root      2302  0.0  0.0  21236  1180 ?        Ss   Sep14   0:01 udevd --daemon
root      6026  0.0  0.0  21232   900 ?        S    Sep14   0:00  \_ udevd --daemon
root      6031  0.0  0.0  21232   892 ?        S    Sep14   0:00  \_ udevd --daemon
root      4118  0.0  0.0 118720  2564 ?        Sl   Sep14   0:14 /usr/sbin/rsyslogd -c5
daemon    4198  0.0  0.0  16668   340 ?        Ss   Sep14   0:00 /usr/sbin/atd
bind      4273  0.0  0.7 199076 35492 ?        Ssl  Sep14   0:43 /usr/sbin/named -u bind
113       4286  0.0  0.0  29800   480 ?        Ss   Sep14   0:00 /usr/bin/dbus-daemon --system
root      4599  0.0  0.1 317628  8372 ?        Ss   Sep14   0:07 php-fpm: master process (/etc/php5/fpm/php-fpm.conf)                                    
www-data  4600  0.0  0.1 317628  7272 ?        S    Sep14   0:00  \_ php-fpm: pool www                                                                   
www-data  4601  0.0  0.1 317628  7272 ?        S    Sep14   0:00  \_ php-fpm: pool www                                                                   
root      4603  0.0  0.1  92936  4560 ?        S    Sep14   2:19 /usr/sbin/vmtoolsd
root      4658  0.0  0.1 116292  8468 ?        Sl   Sep14   2:22 /usr/bin/python /usr/bin/fail2ban-server -b -s /var/run/f                               ail2ban/fail2ban.sock
root      4659  0.0  0.0  20404   764 ?        Ss   Sep14   0:08 /usr/sbin/irqbalance
root      4681  0.0  0.0  22296  1496 ?        S    Sep14   0:05 /usr/lib/gamin/gam_server
nobody    4721  0.0  0.0  14656   144 ?        Ss   Sep14   0:00 /usr/sbin/jk_socketd
root      4722  0.0  0.0   4096   624 ?        Ss   Sep14   0:00 startpar -f -- jailkit
root      4735  0.0  0.2  99776  9404 ?        Ssl  Sep14   0:02 /usr/sbin/lwresd
amavis    4757  0.0  2.1 221768 96052 ?        Ss   Sep14   0:21 /usr/sbin/amavisd-new (master)
amavis   18383  0.1  2.1 232324 97760 ?        S    12:09   0:18  \_ /usr/sbin/amavisd-new (ch5-avail)
amavis   19107  0.0  2.1 232324 97792 ?        S    12:39   0:09  \_ /usr/sbin/amavisd-new (ch4-avail)
clamav    4760  0.7  5.1 364636 234124 ?       Ssl  Sep14  17:14 /usr/sbin/clamd
root      4799  0.0  0.6 400788 30912 ?        Ss   Sep14   0:12 /usr/sbin/apache2 -k start
root     15913  0.0  0.0  20520  3776 ?        S    Sep15   0:02  \_ vlogger (access log)
www-data 15917  0.0  0.2 172804  9916 ?        S    Sep15   0:00  \_ /usr/sbin/fcgi-pm -k start
www-data 15926  0.0  0.2 173980  9928 ?        S    Sep15   0:03  \_ /usr/sbin/apache2 -k start
www-data 16002  0.0  0.4 402220 19212 ?        S    Sep15   0:01  \_ /usr/sbin/apache2 -k start
www-data 16003  0.0  0.4 402220 18864 ?        S    Sep15   0:02  \_ /usr/sbin/apache2 -k start
www-data 16004  0.0  0.4 402112 19016 ?        S    Sep15   0:02  \_ /usr/sbin/apache2 -k start
www-data 16005  0.0  0.4 402120 19076 ?        S    Sep15   0:02  \_ /usr/sbin/apache2 -k start
www-data 16006  0.0  0.4 402204 18816 ?        S    Sep15   0:02  \_ /usr/sbin/apache2 -k start
www-data 16007  0.0  0.4 402220 18748 ?        S    Sep15   0:01  \_ /usr/sbin/apache2 -k start
www-data 16008  0.0  0.4 402144 19136 ?        S    Sep15   0:03  \_ /usr/sbin/apache2 -k start
www-data 16009  0.0  0.4 402196 18848 ?        S    Sep15   0:03  \_ /usr/sbin/apache2 -k start
www-data 23046  0.0  0.4 402196 18804 ?        S    Sep15   0:02  \_ /usr/sbin/apache2 -k start
www-data 23047  0.0  0.4 402196 19156 ?        S    Sep15   0:02  \_ /usr/sbin/apache2 -k start
www-data 23048  0.0  0.4 402228 18832 ?        S    Sep15   0:02  \_ /usr/sbin/apache2 -k start
www-data 23049  0.0  0.4 402220 18836 ?        S    Sep15   0:02  \_ /usr/sbin/apache2 -k start
root      4855  0.0  0.0  12984   436 ?        Ss   Sep14   0:00 /sbin/mdadm --monitor --pid-file /run/mdadm/monitor.pid -                               -daemonise --scan --syslog
nobody    4936  0.0  0.0  67500  1252 ?        Sl   Sep14   0:08 /usr/bin/memcached -m 64 -p 11211 -u nobody -l 127.0.0.1
root      4937  0.0  0.0  20860   972 ?        Ss   Sep14   0:04 /usr/sbin/cron
root      5044  0.0  0.0   9332  1432 ?        S    Sep14   0:00 /bin/sh /usr/bin/mysqld_safe
mysql     5497  0.0  1.1 425244 52240 ?        Sl   Sep14   2:24  \_ /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/my                               sql --plugin-dir=/usr/lib/mysql/plugin --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/run/mysqld/mysqld.                               sock --port=3306
root      5498  0.0  0.0   4084   628 ?        S    Sep14   0:00  \_ logger -t mysqld -p daemon.error
ntp       5064  0.0  0.0  38992  2308 ?        Ss   Sep14   0:13 /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 105:107
clamav    5082  0.6  0.0  43372  2124 ?        Ss   Sep14  16:26 /usr/bin/freshclam -d --quiet
root      5394  0.0  0.0  49848  1212 ?        Ss   Sep14   0:00 /usr/sbin/sshd
root     25021  0.1  0.0  71208  3424 ?        Ss   16:44   0:00  \_ sshd: bart [priv]
bart     25101  0.0  0.0  71208  1660 ?        S    16:45   0:00      \_ sshd: bart@pts/1
bart     25102  0.2  0.0  23952  4020 pts/1    Ss   16:45   0:00          \_ -bash
root     25187  0.0  0.0  37632  1336 pts/1    S    16:45   0:00              \_ su
root     25198  0.0  0.0  21984  1956 pts/1    S    16:46   0:00                  \_ bash
root     25199  0.0  0.0  17432  1408 pts/1    R+   16:46   0:00                      \_ ps faxuwww
root      5667  0.0  0.0  21516   948 ?        Ss   Sep14   0:04 /usr/sbin/dovecot -c /etc/dovecot/dovecot.conf
dovecot   5678  0.0  0.0  13044  1008 ?        S    Sep14   0:00  \_ dovecot/anvil
root      5679  0.0  0.0  13172  1188 ?        S    Sep14   0:00  \_ dovecot/log
root     25063  0.0  0.0  23156  2828 ?        S    16:45   0:00  \_ dovecot/config
root     25067  0.0  0.0  45372  2624 ?        S    16:45   0:00  \_ dovecot/auth
root      5955  0.0  0.0  37788  2444 ?        Ss   Sep14   0:06 /usr/lib/postfix/master
postfix   5967  0.0  0.0  59456  3452 ?        S    Sep14   0:01  \_ qmgr -l -t fifo -u
postfix   6115  0.0  0.0  42384  3240 ?        S    Sep15   0:01  \_ tlsmgr -l -t unix -u -c
postfix  24368  0.0  0.0  39856  2428 ?        S    16:15   0:00  \_ pickup -l -t fifo -u -c
postfix  25060  0.0  0.1  64540  5388 ?        S    16:45   0:00  \_ smtpd -n smtp -t inet -u -c -o stress= -s 2
postfix  25066  0.0  0.0  59272  3276 ?        S    16:45   0:00  \_ proxymap -t unix -u
postfix  25076  0.0  0.0  39856  2308 ?        S    16:45   0:00  \_ showq -t unix -u -c
root      6016  0.0  0.0  16736   904 tty1     Ss+  Sep14   0:00 /sbin/getty 38400 tty1
root      6017  0.0  0.0  16736   904 tty2     Ss+  Sep14   0:00 /sbin/getty 38400 tty2
root      6018  0.0  0.0  16736   904 tty3     Ss+  Sep14   0:00 /sbin/getty 38400 tty3
root      6019  0.0  0.0  16736   904 tty4     Ss+  Sep14   0:00 /sbin/getty 38400 tty4
root      6022  0.0  0.0  16736   904 tty5     Ss+  Sep14   0:00 /sbin/getty 38400 tty5
root      6023  0.0  0.0  16736   904 tty6     Ss+  Sep14   0:00 /sbin/getty 38400 tty6
root     16056  0.0  0.0  43132  2228 ?        Ss   Sep15   0:01 pure-ftpd (SERVER)                                                                                                                                                                                                                               

1) stopping clamav did not change anything

2) apache error.log

[Mon Sep 16 21:36:01 2013] [notice] SIGHUP received.  Attempting to restart
[Mon Sep 16 21:36:01 2013] [warn] NameVirtualHost *myipv4*:80 has no VirtualHosts
[Mon Sep 16 21:36:01 2013] [warn] NameVirtualHost *myipv4*:443 has no VirtualHosts
[Mon Sep 16 21:36:01 2013] [warn] NameVirtualHost *myipv6*:80 has no VirtualHosts
[Mon Sep 16 21:36:01 2013] [warn] NameVirtualHost *myipv6*:443 has no VirtualHosts
[Mon Sep 16 21:36:01 2013] [warn] NameVirtualHost *:443 has no VirtualHosts
[Mon Sep 16 21:36:01 2013] [warn] NameVirtualHost *:80 has no VirtualHosts
[Mon Sep 16 21:36:01 2013] [notice] FastCGI: process manager initialized (pid 1786)
[Mon Sep 16 21:36:01 2013] [error] python_init: Python version mismatch, expected '2.7.2+', found '2.7.3'.
[Mon Sep 16 21:36:01 2013] [error] python_init: Python executable found '/usr/bin/python'.
[Mon Sep 16 21:36:01 2013] [error] python_init: Python path being used '/usr/lib/python2.7/:/usr/lib/python2.7/plat-linux2:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload'.
[Mon Sep 16 21:36:01 2013] [notice] mod_python: Creating 8 session mutexes based on 256 max processes and 0 max threads.
[Mon Sep 16 21:36:01 2013] [notice] mod_python: using mutex_directory /tmp
[Mon Sep 16 21:36:01 2013] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon Sep 16 21:36:01 2013] [notice] Apache/2.2.22 (Debian) mod_fastcgi/mod_fastcgi-SNAP-0910052141 mod_fcgid/2.3.6 PHP/5.4.4-14+deb7u4 mod_python/3.3.1 Python/2.7.3 mod_ruby/1.2.6 Ruby/1.8.7(2012-02-08) mod_ssl/2.2.22 OpenSSL/1.0.1e configured -- resuming normal operations
[Mon Sep 16 21:49:30 2013] [notice] caught SIGTERM, shutting down
[Mon Sep 16 21:53:07 2013] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon Sep 16 21:53:07 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Mon Sep 16 21:53:08 2013] [notice] FastCGI: process manager initialized (pid 4838)
[Mon Sep 16 21:53:12 2013] [error] python_init: Python version mismatch, expected '2.7.2+', found '2.7.3'.
[Mon Sep 16 21:53:12 2013] [error] python_init: Python executable found '/usr/bin/python'.
[Mon Sep 16 21:53:12 2013] [error] python_init: Python path being used '/usr/lib/python2.7/:/usr/lib/python2.7/plat-linux2:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload'.
[Mon Sep 16 21:53:12 2013] [notice] mod_python: Creating 8 session mutexes based on 256 max processes and 0 max threads.
[Mon Sep 16 21:53:12 2013] [notice] mod_python: using mutex_directory /tmp
[Mon Sep 16 21:53:13 2013] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon Sep 16 21:53:13 2013] [notice] Apache/2.2.22 (Debian) mod_fastcgi/mod_fastcgi-SNAP-0910052141 mod_fcgid/2.3.6 PHP/5.4.4-14+deb7u4 
share|improve this question
    
I don't have any experience with clamav, but I am curious to know what happens if you killed off the process when it starts slowing down. I've also seen outdated firmware on the HD itself cause unreasonble (and unexplainable) slowness on a machine. –  hydroparadise Sep 16 '13 at 15:44
    
Is there anything interesting in Apache's error.log? –  Martin von Wittich Sep 16 '13 at 23:08
    
Stopping clamav did not change anything. Error.log added to the main question. –  Nunkido Sep 17 '13 at 7:47
    
Your apache process is 18M? (and a swap of 392M) The large swap is a bit strange on a machine with 4 gig. This swap figures don't co-relate with the figures that you posted for free -h which shows that swap is not being used. –  sridhar pandurangiah Sep 17 '13 at 7:59
    
Correct me if I'm wrong but I believe that 392M VIRT is not swap but the total ammount allocated memory with linked libs and so on. The resident is the amount of physical RAM. Free still shows 0 swap in use. –  Nunkido Sep 17 '13 at 8:34

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.