Thanks sleddog, didn't realise there was another error.log , this one is at /var/log/apache2/error.log .
I have been getting a few MaxClients warnings, though wont raising this eat into more RAM? I've lifted it to 15 for the moment, will see how that goes overnight. I guess going to nginx will mean less RAM for each apache process, hence more clients can run...
Quote:
top - 00:24:20 up 1 day, 1:05, 1 user, load average: 0.35, 0.18, 0.15
Tasks: 95 total, 3 running, 92 sleeping, 0 stopped, 0 zombie
Cpu(s): 7.0%us, 0.4%sy, 0.0%ni, 92.7%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 553184k total, 516256k used, 36928k free, 50916k buffers
Swap: 393208k total, 52k used, 393156k free, 288804k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
21144 mysql 15 0 73620 49m 4728 S 2 9.1 5:53.37 mysqld
12354 www-data 16 0 46524 24m 15m R 20 4.5 0:02.01 apache2
12296 www-data 15 0 46284 24m 15m S 0 4.5 0:02.40 apache2
12355 www-data 15 0 46904 24m 14m S 0 4.5 0:01.38 apache2
12285 www-data 15 0 46132 24m 15m S 0 4.5 0:03.16 apache2
11605 www-data 16 0 45620 23m 15m R 5 4.4 0:06.41 apache2
9432 www-data 15 0 44144 22m 15m S 0 4.2 0:18.23 apache2
11714 www-data 15 0 44324 22m 15m S 0 4.2 0:04.59 apache2
12348 www-data 15 0 44152 20m 13m S 0 3.8 0:01.12 apache2
27480 root 18 0 40476 7400 4268 S 0 1.3 0:00.04 apache2
2574 root 15 0 6816 4956 1544 S 0 0.9 0:00.20 munin-node
2685 root 18 0 23728 4488 1776 S 0 0.8 0:00.28 fail2ban-server
22795 moses 15 0 4424 2988 1252 S 0 0.5 0:00.09 bash
I also note there are a bunch of xcache errors in this log, that was cause I had the xcache settings in /etc/php5/apache2/conf.d/xcache.ini as well as /etc/php5/apache2/php.ini
As I was trying to load xcache twice, it took the first settings with just 16MB RAM. I've increased this to 64MB and am hoping this will take some load of apache and mysql??
Quote:
[Fri Apr 23 12:03:37 2010] [notice] Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.10 with Suhosin-Patch configured -- resuming normal operations
[Fri Apr 23 12:05:29 2010] [notice] caught SIGWINCH, shutting down gracefully
PHP Warning: Module 'XCache' already loaded in Unknown on line 0
[Fri Apr 23 12:05:31 2010] [notice] Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.10 with Suhosin-Patch configured -- resuming normal operations
[Fri Apr 23 12:05:36 2010] [error] server reached MaxClients setting, consider raising the MaxClients setting
[Fri Apr 23 12:16:23 2010] [notice] Graceful restart requested, doing restart
PHP Warning: Module 'XCache' already loaded in Unknown on line 0
[Fri Apr 23 12:16:23 2010] [notice] Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.10 with Suhosin-Patch configured -- resuming normal operations
[Fri Apr 23 21:14:37 2010] [notice] Graceful restart requested, doing restart
PHP Warning: Module 'XCache' already loaded in Unknown on line 0
[Fri Apr 23 21:14:37 2010] [notice] Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.10 with Suhosin-Patch configured -- resuming normal operations
[Fri Apr 23 21:51:39 2010] [notice] caught SIGWINCH, shutting down gracefully
PHP Warning: Module 'XCache' already loaded in Unknown on line 0
[Fri Apr 23 21:51:41 2010] [notice] Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.10 with Suhosin-Patch configured -- resuming normal operations
[Fri Apr 23 21:51:45 2010] [error] server reached MaxClients setting, consider raising the MaxClients setting
Thanks again for looking at this,
Moses.