Werte Community, ich habe einen Ubuntu Server mit Apache 2 sowie GnuTLS. Auf dem Server werden mehrere Domains ink. SSL verwaltet, unter anderem 2 Wordpress Installationen und Rainloop. Seit einigen Tagen plagt sich der Server etwas, da die CPU Auslastung Tag und Nacht bei 100% liegt. Ich konnte bisher kein Muster erkennen und wüsste auch nicht wovon es kommen könnte. Die Apache und vhost Error Logs sind leer. Immer wenn ich Apache stoppe und wieder starte ist die CPU Auslastung einige Minuten bis Stunden normal (1-15%), aber dann geht sie wieder hoch und wenn sie dann wieder bei 100& ist bleibt sie dabei bis ich Apache wieder neu starte. Es sei dazu gesagt, das es kein einzelner Prozess ist sondern Apache in mehreren Prozessen läuft (Siehe Bild) Ein Error Log zeigt dennoch fehler:
[Thu Feb 16 10:32:31.945604 2017] [mpm_prefork:notice] [pid 2579] AH00163: Apache/2.4.18 (Ubuntu) mod_gnutls/0.7.3 GnuTLS/3.4.10 configured -- resuming normal operations [Thu Feb 16 10:32:31.945645 2017] [core:notice] [pid 2579] AH00094: Command line: '/usr/sbin/apache2' [Thu Feb 16 11:26:31.132439 2017] [mpm_prefork:notice] [pid 2579] AH00171: Graceful restart requested, doing restart [Thu Feb 16 11:26:31.417977 2017] [mpm_prefork:notice] [pid 2579] AH00163: Apache/2.4.18 (Ubuntu) mod_gnutls/0.7.3 GnuTLS/3.4.10 configured -- resuming normal operations [Thu Feb 16 11:26:31.418005 2017] [core:notice] [pid 2579] AH00094: Command line: '/usr/sbin/apache2' [Thu Feb 16 11:26:36.718715 2017] [mpm_prefork:notice] [pid 2579] AH00171: Graceful restart requested, doing restart [Thu Feb 16 11:26:36.863341 2017] [mpm_prefork:notice] [pid 2579] AH00163: Apache/2.4.18 (Ubuntu) mod_gnutls/0.7.3 GnuTLS/3.4.10 configured -- resuming normal operations [Thu Feb 16 11:26:36.863366 2017] [core:notice] [pid 2579] AH00094: Command line: '/usr/sbin/apache2' [Thu Feb 16 11:26:42.356907 2017] [mpm_prefork:notice] [pid 2579] AH00171: Graceful restart requested, doing restart [Thu Feb 16 11:26:42.497225 2017] [mpm_prefork:notice] [pid 2579] AH00163: Apache/2.4.18 (Ubuntu) mod_gnutls/0.7.3 GnuTLS/3.4.10 configured -- resuming normal operations [Thu Feb 16 11:26:42.497254 2017] [core:notice] [pid 2579] AH00094: Command line: '/usr/sbin/apache2' [Thu Feb 16 11:28:25.351085 2017] [mpm_prefork:notice] [pid 2579] AH00171: Graceful restart requested, doing restart [Thu Feb 16 11:28:25.563111 2017] [mpm_prefork:notice] [pid 2579] AH00163: Apache/2.4.18 (Ubuntu) mod_gnutls/0.7.3 GnuTLS/3.4.10 configured -- resuming normal operations [Thu Feb 16 11:28:25.563136 2017] [core:notice] [pid 2579] AH00094: Command line: '/usr/sbin/apache2' [Thu Feb 16 11:29:57.459715 2017] [mpm_prefork:notice] [pid 2579] AH00171: Graceful restart requested, doing restart [Thu Feb 16 11:29:57.653040 2017] [mpm_prefork:notice] [pid 2579] AH00163: Apache/2.4.18 (Ubuntu) mod_gnutls/0.7.3 GnuTLS/3.4.10 configured -- resuming normal operations [Thu Feb 16 11:29:57.653068 2017] [core:notice] [pid 2579] AH00094: Command line: '/usr/sbin/apache2' [Thu Feb 16 11:39:38.902490 2017] [mpm_prefork:notice] [pid 2579] AH00171: Graceful restart requested, doing restart [Thu Feb 16 11:39:39.109482 2017] [mpm_prefork:notice] [pid 2579] AH00163: Apache/2.4.18 (Ubuntu) mod_gnutls/0.7.3 GnuTLS/3.4.10 configured -- resuming normal operations [Thu Feb 16 11:39:39.109515 2017] [core:notice] [pid 2579] AH00094: Command line: '/usr/sbin/apache2' [Thu Feb 16 11:49:30.520283 2017] [mpm_prefork:notice] [pid 2579] AH00171: Graceful restart requested, doing restart [Thu Feb 16 11:49:30.740616 2017] [mpm_prefork:notice] [pid 2579] AH00163: Apache/2.4.18 (Ubuntu) mod_gnutls/0.7.3 GnuTLS/3.4.10 configured -- resuming normal operations [Thu Feb 16 11:49:30.740643 2017] [core:notice] [pid 2579] AH00094: Command line: '/usr/sbin/apache2' [Thu Feb 16 11:50:45.630280 2017] [mpm_prefork:notice] [pid 2579] AH00171: Graceful restart requested, doing restart [Thu Feb 16 11:50:45.791664 2017] [mpm_prefork:notice] [pid 2579] AH00163: Apache/2.4.18 (Ubuntu) mod_gnutls/0.7.3 GnuTLS/3.4.10 configured -- resuming normal operations [Thu Feb 16 11:50:45.791686 2017] [core:notice] [pid 2579] AH00094: Command line: '/usr/sbin/apache2' [Thu Feb 16 11:53:33.509557 2017] [mpm_prefork:notice] [pid 2579] AH00171: Graceful restart requested, doing restart [Thu Feb 16 11:53:33.755140 2017] [mpm_prefork:notice] [pid 2579] AH00163: Apache/2.4.18 (Ubuntu) mod_gnutls/0.7.3 GnuTLS/3.4.10 configured -- resuming normal operations [Thu Feb 16 11:53:33.755160 2017] [core:notice] [pid 2579] AH00094: Command line: '/usr/sbin/apache2' [Thu Feb 16 12:00:46.800569 2017] [mpm_prefork:notice] [pid 2579] AH00171: Graceful restart requested, doing restart [Thu Feb 16 12:00:47.035943 2017] [mpm_prefork:notice] [pid 2579] AH00163: Apache/2.4.18 (Ubuntu) mod_gnutls/0.7.3 GnuTLS/3.4.10 configured -- resuming normal operations [Thu Feb 16 12:00:47.035969 2017] [core:notice] [pid 2579] AH00094: Command line: '/usr/sbin/apache2' [Thu Feb 16 12:02:47.116971 2017] [mpm_prefork:notice] [pid 2579] AH00171: Graceful restart requested, doing restart [Thu Feb 16 12:02:47.328102 2017] [mpm_prefork:notice] [pid 2579] AH00163: Apache/2.4.18 (Ubuntu) mod_gnutls/0.7.3 GnuTLS/3.4.10 configured -- resuming normal operations [Thu Feb 16 12:02:47.328174 2017] [core:notice] [pid 2579] AH00094: Command line: '/usr/sbin/apache2' [Thu Feb 16 12:05:09.263101 2017] [mpm_prefork:notice] [pid 2579] AH00171: Graceful restart requested, doing restart [Thu Feb 16 12:05:09.482316 2017] [mpm_prefork:notice] [pid 2579] AH00163: Apache/2.4.18 (Ubuntu) mod_gnutls/0.7.3 GnuTLS/3.4.10 configured -- resuming normal operations [Thu Feb 16 12:05:09.482343 2017] [core:notice] [pid 2579] AH00094: Command line: '/usr/sbin/apache2' [Thu Feb 16 12:24:35.702183 2017] [mpm_prefork:notice] [pid 2579] AH00171: Graceful restart requested, doing restart AH00112: Warning: DocumentRoot [/var/www/cloudload/polr] does not exist [Thu Feb 16 12:24:35.986359 2017] [mpm_prefork:notice] [pid 2579] AH00163: Apache/2.4.18 (Ubuntu) mod_gnutls/0.7.3 GnuTLS/3.4.10 configured -- resuming normal operations [Thu Feb 16 12:24:35.986397 2017] [core:notice] [pid 2579] AH00094: Command line: '/usr/sbin/apache2' [Thu Feb 16 12:30:54.996521 2017] [mpm_prefork:notice] [pid 2579] AH00171: Graceful restart requested, doing restart [Thu Feb 16 12:30:55.230113 2017] [mpm_prefork:notice] [pid 2579] AH00163: Apache/2.4.18 (Ubuntu) mod_gnutls/0.7.3 GnuTLS/3.4.10 configured -- resuming normal operations [Thu Feb 16 12:30:55.230145 2017] [core:notice] [pid 2579] AH00094: Command line: '/usr/sbin/apache2' [Thu Feb 16 12:38:45.462780 2017] [mpm_prefork:notice] [pid 2579] AH00171: Graceful restart requested, doing restart [Thu Feb 16 12:38:45.712525 2017] [mpm_prefork:notice] [pid 2579] AH00163: Apache/2.4.18 (Ubuntu) mod_gnutls/0.7.3 GnuTLS/3.4.10 configured -- resuming normal operations [Thu Feb 16 12:38:45.712553 2017] [core:notice] [pid 2579] AH00094: Command line: '/usr/sbin/apache2' [Thu Feb 16 12:58:37.083780 2017] [mpm_prefork:notice] [pid 2579] AH00171: Graceful restart requested, doing restart [Thu Feb 16 12:58:37.343103 2017] [mpm_prefork:notice] [pid 2579] AH00163: Apache/2.4.18 (Ubuntu) mod_gnutls/0.7.3 GnuTLS/3.4.10 configured -- resuming normal operations [Thu Feb 16 12:58:37.343133 2017] [core:notice] [pid 2579] AH00094: Command line: '/usr/sbin/apache2' [Thu Feb 16 14:18:23.360435 2017] [mpm_prefork:notice] [pid 2579] AH00171: Graceful restart requested, doing restart [Thu Feb 16 14:18:23.738900 2017] [mpm_prefork:notice] [pid 2579] AH00163: Apache/2.4.18 (Ubuntu) mod_gnutls/0.7.3 GnuTLS/3.4.10 configured -- resuming normal operations [Thu Feb 16 14:18:23.738927 2017] [core:notice] [pid 2579] AH00094: Command line: '/usr/sbin/apache2' [Thu Feb 16 14:22:03.274916 2017] [mpm_prefork:notice] [pid 2579] AH00171: Graceful restart requested, doing restart [Thu Feb 16 14:22:03.558797 2017] [mpm_prefork:notice] [pid 2579] AH00163: Apache/2.4.18 (Ubuntu) mod_gnutls/0.7.3 GnuTLS/3.4.10 configured -- resuming normal operations [Thu Feb 16 14:22:03.558825 2017] [core:notice] [pid 2579] AH00094: Command line: '/usr/sbin/apache2' [Thu Feb 16 14:23:16.100636 2017] [mpm_prefork:notice] [pid 2579] AH00171: Graceful restart requested, doing restart [Thu Feb 16 14:23:16.277899 2017] [mpm_prefork:notice] [pid 2579] AH00163: Apache/2.4.18 (Ubuntu) mod_gnutls/0.7.3 GnuTLS/3.4.10 configured -- resuming normal operations [Thu Feb 16 14:23:16.277925 2017] [core:notice] [pid 2579] AH00094: Command line: '/usr/sbin/apache2' [Thu Feb 16 14:45:02.303549 2017] [mpm_prefork:notice] [pid 2579] AH00171: Graceful restart requested, doing restart [Thu Feb 16 14:45:02.659987 2017] [mpm_prefork:notice] [pid 2579] AH00163: Apache/2.4.18 (Ubuntu) mod_gnutls/0.7.3 GnuTLS/3.4.10 configured -- resuming normal operations [Thu Feb 16 14:45:02.660015 2017] [core:notice] [pid 2579] AH00094: Command line: '/usr/sbin/apache2' postdrop: warning: unable to look up public/pickup: No such file or directory [Thu Feb 16 15:12:47.560548 2017] [mpm_prefork:notice] [pid 2579] AH00171: Graceful restart requested, doing restart [Thu Feb 16 15:12:47.984919 2017] [mpm_prefork:notice] [pid 2579] AH00163: Apache/2.4.18 (Ubuntu) mod_gnutls/0.7.3 GnuTLS/3.4.10 configured -- resuming normal operations [Thu Feb 16 15:12:47.984949 2017] [core:notice] [pid 2579] AH00094: Command line: '/usr/sbin/apache2' [Thu Feb 16 15:13:00.086582 2017] [mpm_prefork:notice] [pid 2579] AH00169: caught SIGTERM, shutting down [Thu Feb 16 15:13:06.790610 2017] [mpm_prefork:notice] [pid 16088] AH00163: Apache/2.4.18 (Ubuntu) mod_gnutls/0.7.3 GnuTLS/3.4.10 configured -- resuming normal operations [Thu Feb 16 15:13:06.790735 2017] [core:notice] [pid 16088] AH00094: Command line: '/usr/sbin/apache2' [Thu Feb 16 15:13:09.537475 2017] [mpm_prefork:notice] [pid 16088] AH00171: Graceful restart requested, doing restart [Thu Feb 16 15:13:09.694633 2017] [mpm_prefork:notice] [pid 16088] AH00163: Apache/2.4.18 (Ubuntu) mod_gnutls/0.7.3 GnuTLS/3.4.10 configured -- resuming normal operations [Thu Feb 16 15:13:09.694654 2017] [core:notice] [pid 16088] AH00094: Command line: '/usr/sbin/apache2' [Thu Feb 16 16:11:22.033156 2017] [mpm_prefork:notice] [pid 16088] AH00169: caught SIGTERM, shutting down [Thu Feb 16 16:11:26.181179 2017] [mpm_prefork:notice] [pid 16385] AH00163: Apache/2.4.18 (Ubuntu) mod_gnutls/0.7.3 GnuTLS/3.4.10 configured -- resuming normal operations [Thu Feb 16 16:11:26.182745 2017] [core:notice] [pid 16385] AH00094: Command line: '/usr/sbin/apache2' [Thu Feb 16 20:06:46.331280 2017] [mpm_prefork:error] [pid 16385] AH00161: server reached MaxRequestWorkers setting, consider raising the MaxRequestWorkers setting [Thu Feb 16 20:56:34.040413 2017] [mpm_prefork:notice] [pid 16385] AH00169: caught SIGTERM, shutting down [Thu Feb 16 20:56:40.407011 2017] [mpm_prefork:notice] [pid 5422] AH00163: Apache/2.4.18 (Ubuntu) mod_gnutls/0.7.3 GnuTLS/3.4.10 configured -- resuming normal operations [Thu Feb 16 20:56:40.407103 2017] [core:notice] [pid 5422] AH00094: Command line: '/usr/sbin/apache2' [Fri Feb 17 07:35:01.749292 2017] [mpm_prefork:notice] [pid 5422] AH00171: Graceful restart requested, doing restart
Ich wäre euch sehr Dankbar wenn ihr einen Tipp hättet, mit Strace habe ich mich auch schon an die Sache gewagt, dennoch komme ich damit zu keinem Ergebniss weil Strace den Log erst abschließt wenn sich der Prozess schließt, und dieser läuft ja permanent und beendet sich nicht von alleine.