[Problem] Out of Memory - Server (fast) down
Posted: 2006-02-10 08:25
Seit 2 Tagen hat mein Root-Server nachts um 4:31 Uhr extreme Speicherprobleme, so dass der Kernel den Apache und MySQL beendet... zudem ist nach diesem Zeitpunkt auch kein SSH-Zugang mehr möglich (extreme Auslastung?). Ping geht weiterhin... Da hilft nur noch der Reset über das Webinterface des Providers.
Ich hab' mal geschaut und das letzte, was zu dieser Zeit läuft, scheint Logrotate zu sein... aus der error_log des Apache:
Ich habe schon mal gegoogelt, aber eine wirkliche Erklärung für die letzten beiden Einträge nicht gefunden... :(
Ok, ich habe mich natürlich erstmal gefragt, was zu dieser Uhrzeit noch auf dem Server läuft (und auch die etlichen Apache-Restarts verursacht)... :-D Natürlich ist das logrotate, der in Bezug auf den Apache folgendes macht:
Da ich die vielen Restarts unschön finde, habe ich noch jeweils ein sharedscripts pro Job eingetragen, so dass die prerotate und postrotate Sektionen nur einmalig für alle Logfiles ausgeführt werden.
Ich habe mir einmal die logfiles in /var/log/apache2 angesehen und da war ersichtlich, dass logrotate seine Jobs die letzten 2 Tage merkwürdigerweise nicht korrekt beenden konnte...
läuft so händisch gestartet problemlos durch, kein übermäßiger Speicherverbrauch...
Ich weiss immer noch nicht genau, was da ab 4:31 Uhr auf dem Server wirklich passiert... :( Deswegen würde ich euch gern fragen, was man sich diesbezüglich noch ansehen sollte, so dass man weitere Hinweise auf Probleme findet...
Danke schon einmal, Gruß, Vevelt.
Code: Select all
Feb 10 04:31:15 alster kernel: oom-killer: gfp_mask=0x1d2
Feb 10 04:31:15 alster kernel: DMA per-cpu:
Feb 10 04:31:15 alster kernel: cpu 0 hot: low 2, high 6, batch 1
Feb 10 04:31:15 alster kernel: cpu 0 cold: low 0, high 2, batch 1
Feb 10 04:31:15 alster kernel: cpu 1 hot: low 2, high 6, batch 1
Feb 10 04:31:15 alster kernel: cpu 1 cold: low 0, high 2, batch 1
Feb 10 04:31:15 alster kernel: Normal per-cpu:
Feb 10 04:31:15 alster kernel: cpu 0 hot: low 32, high 96, batch 16
Feb 10 04:31:15 alster kernel: cpu 0 cold: low 0, high 32, batch 16
Feb 10 04:31:15 alster kernel: cpu 1 hot: low 32, high 96, batch 16
Feb 10 04:31:15 alster kernel: cpu 1 cold: low 0, high 32, batch 16
Feb 10 04:31:15 alster kernel: HighMem per-cpu:
Feb 10 04:31:15 alster kernel: cpu 0 hot: low 32, high 96, batch 16
Feb 10 04:31:15 alster kernel: cpu 0 cold: low 0, high 32, batch 16
Feb 10 04:31:15 alster kernel: cpu 1 hot: low 32, high 96, batch 16
Feb 10 04:31:15 alster kernel: cpu 1 cold: low 0, high 32, batch 16
Feb 10 04:31:15 alster kernel:
Feb 10 04:31:15 alster kernel: Free pages: 46128kB (512kB HighMem)
Feb 10 04:31:15 alster kernel: Active:248548 inactive:248956 dirty:0 writeback:0 unstable:0 free:11532 slab:3573 mapped:497546 pagetables:1300
Feb 10 04:31:15 alster kernel: DMA free:8104kB min:16kB low:32kB high:48kB active:2160kB inactive:2024kB present:16384kB
Feb 10 04:31:15 alster kernel: lowmem_reserve[]: 0 880 2022
Feb 10 04:31:15 alster kernel: Normal free:37512kB min:936kB low:1872kB high:2808kB active:411140kB inactive:412408kB present:901120kB
Feb 10 04:31:15 alster kernel: lowmem_reserve[]: 0 0 9140
Feb 10 04:31:15 alster kernel: HighMem free:512kB min:512kB low:1024kB high:1536kB active:580892kB inactive:581392kB present:1169968kB
Feb 10 04:31:15 alster kernel: lowmem_reserve[]: 0 0 0
Feb 10 04:31:15 alster kernel: DMA: 0*4kB 1*8kB 0*16kB 1*32kB 0*64kB 1*128kB 1*256kB 1*512kB 1*1024kB 1*2048kB 1*4096kB = 8104kB
Feb 10 04:31:15 alster kernel: Normal: 14*4kB 2*8kB 2*16kB 1*32kB 0*64kB 4*128kB 0*256kB 6*512kB 3*1024kB 1*2048kB 7*4096kB = 37512kB
Feb 10 04:31:15 alster kernel: HighMem: 0*4kB 0*8kB 0*16kB 0*32kB 0*64kB 2*128kB 1*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 512kB
Feb 10 04:31:15 alster kernel: Swap cache: add 5670326, delete 5670126, find 2091262/2668147, race 1+309
Feb 10 04:31:15 alster kernel: Free swap = 0kB
Feb 10 04:31:15 alster kernel: Total swap = 1060272kB
Feb 10 04:31:15 alster kernel: Out of Memory: Killed process 29495 (httpd2-worker).
Code: Select all
[Fri Feb 10 04:15:25 2006] [notice] caught SIGTERM, shutting down
[Fri Feb 10 04:15:27 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Fri Feb 10 04:15:28 2006] [notice] Apache/2.0.55 (Linux/SUSE) configured -- resuming normal operations
[Fri Feb 10 04:15:29 2006] [notice] caught SIGTERM, shutting down
[Fri Feb 10 04:15:30 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Fri Feb 10 04:15:31 2006] [notice] Apache/2.0.55 (Linux/SUSE) configured -- resuming normal operations
[Fri Feb 10 04:15:33 2006] [notice] caught SIGTERM, shutting down
[Fri Feb 10 04:15:33 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Fri Feb 10 04:15:34 2006] [notice] Apache/2.0.55 (Linux/SUSE) configured -- resuming normal operations
[Fri Feb 10 04:15:36 2006] [notice] caught SIGTERM, shutting down
[Fri Feb 10 04:15:36 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Fri Feb 10 04:15:37 2006] [notice] Apache/2.0.55 (Linux/SUSE) configured -- resuming normal operations
[Fri Feb 10 04:15:39 2006] [notice] caught SIGTERM, shutting down
[Fri Feb 10 04:15:40 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Fri Feb 10 04:15:40 2006] [notice] Apache/2.0.55 (Linux/SUSE) configured -- resuming normal operations
[Fri Feb 10 04:15:42 2006] [notice] caught SIGTERM, shutting down
[Fri Feb 10 04:15:43 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Fri Feb 10 04:15:43 2006] [notice] Apache/2.0.55 (Linux/SUSE) configured -- resuming normal operations
[Fri Feb 10 04:15:47 2006] [notice] caught SIGTERM, shutting down
[Fri Feb 10 04:15:47 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Fri Feb 10 04:15:47 2006] [notice] Apache/2.0.55 (Linux/SUSE) configured -- resuming normal operations
[Fri Feb 10 04:15:51 2006] [notice] caught SIGTERM, shutting down
[Fri Feb 10 04:15:51 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Fri Feb 10 04:15:51 2006] [notice] Apache/2.0.55 (Linux/SUSE) configured -- resuming normal operations
[Fri Feb 10 04:15:55 2006] [notice] caught SIGTERM, shutting down
[Fri Feb 10 04:15:56 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Fri Feb 10 04:15:56 2006] [notice] Apache/2.0.55 (Linux/SUSE) configured -- resuming normal operations
[Fri Feb 10 04:15:58 2006] [notice] caught SIGTERM, shutting down
[Fri Feb 10 04:15:59 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Fri Feb 10 04:15:59 2006] [notice] Apache/2.0.55 (Linux/SUSE) configured -- resuming normal operations
[Fri Feb 10 04:16:01 2006] [notice] caught SIGTERM, shutting down
[Fri Feb 10 04:16:02 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Fri Feb 10 04:16:02 2006] [notice] Apache/2.0.55 (Linux/SUSE) configured -- resuming normal operations
[Fri Feb 10 04:16:04 2006] [notice] caught SIGTERM, shutting down
[Fri Feb 10 04:16:05 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Fri Feb 10 04:16:05 2006] [notice] Apache/2.0.55 (Linux/SUSE) configured -- resuming normal operations
[Fri Feb 10 04:16:10 2006] [notice] caught SIGTERM, shutting down
[Fri Feb 10 04:16:10 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Fri Feb 10 04:16:11 2006] [notice] Apache/2.0.55 (Linux/SUSE) configured -- resuming normal operations
[Fri Feb 10 04:16:13 2006] [notice] caught SIGTERM, shutting down
[Fri Feb 10 04:16:14 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Fri Feb 10 04:16:14 2006] [notice] Apache/2.0.55 (Linux/SUSE) configured -- resuming normal operations
[Fri Feb 10 04:16:16 2006] [notice] caught SIGTERM, shutting down
[Fri Feb 10 04:16:17 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Fri Feb 10 04:16:17 2006] [notice] Apache/2.0.55 (Linux/SUSE) configured -- resuming normal operations
[Fri Feb 10 04:16:19 2006] [notice] caught SIGTERM, shutting down
[Fri Feb 10 04:16:20 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Fri Feb 10 04:16:20 2006] [notice] Apache/2.0.55 (Linux/SUSE) configured -- resuming normal operations
[Fri Feb 10 04:16:22 2006] [notice] caught SIGTERM, shutting down
[Fri Feb 10 04:16:23 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Fri Feb 10 04:16:23 2006] [notice] Apache/2.0.55 (Linux/SUSE) configured -- resuming normal operations
[Fri Feb 10 04:16:25 2006] [notice] caught SIGTERM, shutting down
[Fri Feb 10 04:16:26 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Fri Feb 10 04:16:26 2006] [notice] Apache/2.0.55 (Linux/SUSE) configured -- resuming normal operations
[Fri Feb 10 04:16:29 2006] [notice] caught SIGTERM, shutting down
[Fri Feb 10 04:16:30 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Fri Feb 10 04:16:30 2006] [notice] Apache/2.0.55 (Linux/SUSE) configured -- resuming normal operations
[Fri Feb 10 04:16:34 2006] [notice] caught SIGTERM, shutting down
[Fri Feb 10 04:16:34 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Fri Feb 10 04:16:34 2006] [notice] Apache/2.0.55 (Linux/SUSE) configured -- resuming normal operations
[Fri Feb 10 04:16:36 2006] [notice] caught SIGTERM, shutting down
[Fri Feb 10 04:16:37 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Fri Feb 10 04:16:37 2006] [notice] Apache/2.0.55 (Linux/SUSE) configured -- resuming normal operations
[Fri Feb 10 04:16:40 2006] [notice] caught SIGTERM, shutting down
[Fri Feb 10 04:16:40 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Fri Feb 10 04:16:40 2006] [notice] Apache/2.0.55 (Linux/SUSE) configured -- resuming normal operations
[Fri Feb 10 04:16:43 2006] [notice] caught SIGTERM, shutting down
[Fri Feb 10 04:16:44 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Fri Feb 10 04:16:44 2006] [notice] Apache/2.0.55 (Linux/SUSE) configured -- resuming normal operations
[Fri Feb 10 04:16:47 2006] [notice] caught SIGTERM, shutting down
[Fri Feb 10 04:16:48 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Fri Feb 10 04:16:48 2006] [notice] Apache/2.0.55 (Linux/SUSE) configured -- resuming normal operations
[Fri Feb 10 04:16:52 2006] [notice] caught SIGTERM, shutting down
[Fri Feb 10 04:16:53 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Fri Feb 10 04:16:53 2006] [notice] Apache/2.0.55 (Linux/SUSE) configured -- resuming normal operations
[Fri Feb 10 04:16:58 2006] [warn] child process 26543 still did not exit, sending a SIGTERM
[Fri Feb 10 04:17:00 2006] [warn] child process 26543 still did not exit, sending a SIGTERM
[Fri Feb 10 04:17:02 2006] [warn] child process 26543 still did not exit, sending a SIGTERM
[Fri Feb 10 04:17:04 2006] [error] child process 26543 still did not exit, sending a SIGKILL
[Fri Feb 10 04:17:05 2006] [notice] caught SIGTERM, shutting down
[Fri Feb 10 04:17:06 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Fri Feb 10 04:17:06 2006] [notice] Apache/2.0.55 (Linux/SUSE) configured -- resuming normal operations
[Fri Feb 10 04:17:08 2006] [notice] caught SIGTERM, shutting down
[Fri Feb 10 04:17:09 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Fri Feb 10 04:17:09 2006] [notice] Apache/2.0.55 (Linux/SUSE) configured -- resuming normal operations
[Fri Feb 10 04:17:11 2006] [notice] caught SIGTERM, shutting down
[Fri Feb 10 04:17:12 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Fri Feb 10 04:17:13 2006] [notice] Apache/2.0.55 (Linux/SUSE) configured -- resuming normal operations
[Fri Feb 10 04:17:15 2006] [notice] caught SIGTERM, shutting down
[Fri Feb 10 04:17:15 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Fri Feb 10 04:17:16 2006] [notice] Apache/2.0.55 (Linux/SUSE) configured -- resuming normal operations
[Fri Feb 10 04:17:18 2006] [notice] caught SIGTERM, shutting down
[Fri Feb 10 04:17:18 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Fri Feb 10 04:17:19 2006] [notice] Apache/2.0.55 (Linux/SUSE) configured -- resuming normal operations
[Fri Feb 10 04:17:21 2006] [notice] caught SIGTERM, shutting down
[Fri Feb 10 04:17:22 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Fri Feb 10 04:17:22 2006] [notice] Apache/2.0.55 (Linux/SUSE) configured -- resuming normal operations
[Fri Feb 10 04:17:24 2006] [notice] caught SIGTERM, shutting down
[Fri Feb 10 04:17:25 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Fri Feb 10 04:17:25 2006] [notice] Apache/2.0.55 (Linux/SUSE) configured -- resuming normal operations
[Fri Feb 10 04:17:30 2006] [warn] child process 27411 still did not exit, sending a SIGTERM
[Fri Feb 10 04:17:32 2006] [warn] child process 27411 still did not exit, sending a SIGTERM
[Fri Feb 10 04:17:34 2006] [warn] child process 27411 still did not exit, sending a SIGTERM
[Fri Feb 10 04:17:36 2006] [error] child process 27411 still did not exit, sending a SIGKILL
[Fri Feb 10 04:17:37 2006] [notice] caught SIGTERM, shutting down
[Fri Feb 10 04:17:38 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Fri Feb 10 04:17:38 2006] [notice] Apache/2.0.55 (Linux/SUSE) configured -- resuming normal operations
[Fri Feb 10 04:17:40 2006] [notice] caught SIGTERM, shutting down
[Fri Feb 10 04:17:41 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Fri Feb 10 04:17:41 2006] [notice] Apache/2.0.55 (Linux/SUSE) configured -- resuming normal operations
[Fri Feb 10 04:17:43 2006] [notice] caught SIGTERM, shutting down
[Fri Feb 10 04:17:44 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Fri Feb 10 04:17:44 2006] [notice] Apache/2.0.55 (Linux/SUSE) configured -- resuming normal operations
[Fri Feb 10 04:17:48 2006] [notice] caught SIGTERM, shutting down
[Fri Feb 10 04:17:48 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Fri Feb 10 04:17:49 2006] [notice] Apache/2.0.55 (Linux/SUSE) configured -- resuming normal operations
[Fri Feb 10 04:17:51 2006] [notice] caught SIGTERM, shutting down
[Fri Feb 10 04:17:52 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Fri Feb 10 04:17:52 2006] [notice] Apache/2.0.55 (Linux/SUSE) configured -- resuming normal operations
[Fri Feb 10 04:17:54 2006] [notice] caught SIGTERM, shutting down
[Fri Feb 10 04:17:55 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Fri Feb 10 04:17:55 2006] [notice] Apache/2.0.55 (Linux/SUSE) configured -- resuming normal operations
[Fri Feb 10 04:17:58 2006] [notice] caught SIGTERM, shutting down
[Fri Feb 10 04:17:59 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Fri Feb 10 04:17:59 2006] [notice] Apache/2.0.55 (Linux/SUSE) configured -- resuming normal operations
[Fri Feb 10 04:18:01 2006] [notice] caught SIGTERM, shutting down
[Fri Feb 10 04:18:02 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Fri Feb 10 04:18:02 2006] [notice] Apache/2.0.55 (Linux/SUSE) configured -- resuming normal operations
[Fri Feb 10 04:18:06 2006] [notice] caught SIGTERM, shutting down
[Fri Feb 10 04:18:06 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Fri Feb 10 04:18:06 2006] [notice] Apache/2.0.55 (Linux/SUSE) configured -- resuming normal operations
[Fri Feb 10 04:18:08 2006] [notice] caught SIGTERM, shutting down
[Fri Feb 10 04:18:09 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Fri Feb 10 04:18:10 2006] [notice] Apache/2.0.55 (Linux/SUSE) configured -- resuming normal operations
[Fri Feb 10 04:18:13 2006] [notice] caught SIGTERM, shutting down
[Fri Feb 10 04:18:13 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Fri Feb 10 04:18:14 2006] [notice] Apache/2.0.55 (Linux/SUSE) configured -- resuming normal operations
[Fri Feb 10 04:18:16 2006] [notice] caught SIGTERM, shutting down
[Fri Feb 10 04:18:17 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Fri Feb 10 04:18:17 2006] [notice] Apache/2.0.55 (Linux/SUSE) configured -- resuming normal operations
[Fri Feb 10 04:18:19 2006] [notice] caught SIGTERM, shutting down
[Fri Feb 10 04:18:20 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Fri Feb 10 04:18:20 2006] [notice] Apache/2.0.55 (Linux/SUSE) configured -- resuming normal operations
[Fri Feb 10 04:18:22 2006] [notice] caught SIGTERM, shutting down
[Fri Feb 10 04:18:23 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Fri Feb 10 04:18:23 2006] [notice] Apache/2.0.55 (Linux/SUSE) configured -- resuming normal operations
[Fri Feb 10 04:18:25 2006] [notice] caught SIGTERM, shutting down
[Fri Feb 10 04:18:26 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Fri Feb 10 04:18:26 2006] [notice] Apache/2.0.55 (Linux/SUSE) configured -- resuming normal operations
[Fri Feb 10 04:18:28 2006] [notice] caught SIGTERM, shutting down
[Fri Feb 10 04:18:29 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Fri Feb 10 04:18:29 2006] [notice] Apache/2.0.55 (Linux/SUSE) configured -- resuming normal operations
[Fri Feb 10 04:18:31 2006] [notice] caught SIGTERM, shutting down
[Fri Feb 10 04:18:32 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Fri Feb 10 04:18:32 2006] [notice] Apache/2.0.55 (Linux/SUSE) configured -- resuming normal operations
[Fri Feb 10 04:31:46 2006] [error] cgid daemon process died, restarting
[Fri Feb 10 04:32:58 2006] [error] cgid daemon process died, restarting
Ok, ich habe mich natürlich erstmal gefragt, was zu dieser Uhrzeit noch auf dem Server läuft (und auch die etlichen Apache-Restarts verursacht)... :-D Natürlich ist das logrotate, der in Bezug auf den Apache folgendes macht:
Code: Select all
/var/log/apache2/users/*.log {
daily
dateext
missingok
rotate 365
compress
delaycompress
notifempty
create 644 root root
prerotate
/var/www/vhcs2/engine/traffic/vhcs2-srv-traff &>/var/log/vhcs2/vhcs2-srv-traff.log
endscript
postrotate
/etc/init.d/apache2 restart
endscript
}
/var/log/apache2/*traf.log {
daily
dateext
missingok
rotate 365
compress
delaycompress
notifempty
create 644 root root
prerotate
/var/www/vhcs2/engine/traffic/vhcs2-srv-traff &>/var/log/vhcs2/vhcs2-srv-traff.log
/var/www/vhcs2/engine/traffic/vhcs2-vrl-traff &>/var/log/vhcs2/vhcs2-vrl-traff.log
endscript
postrotate
/etc/init.d/apache2 restart
endscript
}
/var/log/apache2/*combined.log {
daily
dateext
missingok
rotate 365
compress
delaycompress
notifempty
create 644 root root
prerotate
/usr/share/awstats/tools/awstats_updateall.pl now -awstatsprog=/usr/lib/cgi-bin/awstats/awstats.pl 2>/dev/null >/dev/null
endscript
postrotate
/etc/init.d/apache2 restart
endscript
}
Ich habe mir einmal die logfiles in /var/log/apache2 angesehen und da war ersichtlich, dass logrotate seine Jobs die letzten 2 Tage merkwürdigerweise nicht korrekt beenden konnte...
Code: Select all
alster:/etc/logrotate.d # logrotate vhcs2Ich weiss immer noch nicht genau, was da ab 4:31 Uhr auf dem Server wirklich passiert... :( Deswegen würde ich euch gern fragen, was man sich diesbezüglich noch ansehen sollte, so dass man weitere Hinweise auf Probleme findet...
Danke schon einmal, Gruß, Vevelt.