Apache2 läuft nur 1 Minute
Apache2 läuft nur 1 Minute
Hallo,
unser wenn ich den apache daemon neu starte, funktioniert
alles ca. 1 Minute lang, dann kann der Browser erst die Bilder
nicht mehr laden, und dann hängt der daemon komplett.
Ein "top" in der Shell ergibt, daß der apache2 Prozess
keine CPU-Zeit verbraucht.
Woran kann das liegen ?
Grüße
Thorsten
unser wenn ich den apache daemon neu starte, funktioniert
alles ca. 1 Minute lang, dann kann der Browser erst die Bilder
nicht mehr laden, und dann hängt der daemon komplett.
Ein "top" in der Shell ergibt, daß der apache2 Prozess
keine CPU-Zeit verbraucht.
Woran kann das liegen ?
Grüße
Thorsten
Re: Apache2 läuft nur 1 Minute
OK, ich habe herausgefunden, daß der Server es nicht verträgt, wenn man 10-20 Tabs im Browser aufmacht
und dann auf "alle Tabs neu laden" klickt.
Die Apache Version ist 2.0.53. Ist das ein Bug in dieser Version ?
Gruß
Thorsten
und dann auf "alle Tabs neu laden" klickt.
Die Apache Version ist 2.0.53. Ist das ein Bug in dieser Version ?
Gruß
Thorsten
Re: Apache2 läuft nur 1 Minute
Ohne nähere Angaben zur Apache-Config und der gegebenenfalls beteiligten Module lässt sich kaum eine potentielle Fehlerquelle ausmachen.
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Re: Apache2 läuft nur 1 Minute
Welche Dateien brach Ihr genau ?
Es ist ein Suse 9.3 mit Plesk 9.2.1.
Die folgenden Module werden geladen :
s15213780:/etc/apache2/conf.d # ls
. apache2-manual.conf mod_perl.conf php_cgi.conf zz011_sitebuilder.conf
.. fcgid.conf php4.conf zz010_psa_httpd.conf zzz_horde_vhost.conf
s15213780:/etc/apache2 # ls
. httpd.conf mod_autoindex-defaults.conf mod_status.conf ssl.crt sysconfig.d
.. httpd.pem mod_info.conf mod_userdir.conf ssl.csr uid.conf
conf.d listen.conf mod_log_config.conf mod_usertrack.conf ssl-global.conf vhosts.d
default-server.conf magic mod_mime-defaults.conf server-tuning.conf ssl.key workers.properties
errors.conf mime.types mod_perl-startup.pl ssl.crl ssl.prm
s15213780:/etc/apache2 #
Gruß
Thorsten
Es ist ein Suse 9.3 mit Plesk 9.2.1.
Die folgenden Module werden geladen :
s15213780:/etc/apache2/conf.d # ls
. apache2-manual.conf mod_perl.conf php_cgi.conf zz011_sitebuilder.conf
.. fcgid.conf php4.conf zz010_psa_httpd.conf zzz_horde_vhost.conf
s15213780:/etc/apache2 # ls
. httpd.conf mod_autoindex-defaults.conf mod_status.conf ssl.crt sysconfig.d
.. httpd.pem mod_info.conf mod_userdir.conf ssl.csr uid.conf
conf.d listen.conf mod_log_config.conf mod_usertrack.conf ssl-global.conf vhosts.d
default-server.conf magic mod_mime-defaults.conf server-tuning.conf ssl.key workers.properties
errors.conf mime.types mod_perl-startup.pl ssl.crl ssl.prm
s15213780:/etc/apache2 #
Gruß
Thorsten
Re: Apache2 läuft nur 1 Minute
Code: Select all
##
## Server-Pool Size Regulation (MPM specific)
##
# the MPM (multiprocessing module) is not a dynamically loadable module in the
# sense of other modules. It is a compile time decision which one is used. We
# provide different apache2 MPM packages, containing different httpd2 binaries
# compiled with the available MPMs. See APACHE_MPM in /etc/sysconfig/apache2.
# prefork MPM
<IfModule prefork.c>
# number of server processes to start
StartServers 2
# minimum number of server processes which are kept spare
MinSpareServers 1
# maximum number of server processes which are kept spare
MaxSpareServers 5
# highest possible MaxClients setting for the lifetime of the Apache process.
ServerLimit 150
# maximum number of server processes allowed to start
MaxClients 10
# maximum number of requests a server process serves
MaxRequestsPerChild 0
</IfModule>
# worker MPM
<IfModule worker.c>
# initial number of server processes to start
StartServers 2
# minimum number of worker threads which are kept spare
MinSpareThreads 25
# maximum number of worker threads which are kept spare
MaxSpareThreads 75
# maximum number of simultaneous client connections
MaxClients 150
# constant number of worker threads in each server process
ThreadsPerChild 25
# maximum number of requests a server process serves
MaxRequestsPerChild 0
</IfModule>
# leader MPM
<IfModule leader.c>
# initial number of server processes to start
StartServers 2
# minimum number of worker threads which are kept spare
MinSpareThreads 25
# maximum number of worker threads which are kept spare
MaxSpareThreads 75
# maximum number of simultaneous client connections
MaxClients 150
# constant number of worker threads in each server process
ThreadsPerChild 25
# maximum number of requests a server process serves
MaxRequestsPerChild 0
</IfModule>
# perchild MPM
<IfModule perchild.c>
# constant number of server processes
NumServers 5
# initial number of worker threads in each server process
StartThreads 5
# minimum number of worker threads which are kept spare
MinSpareThreads 5
# maximum number of worker threads which are kept spare
MaxSpareThreads 10
# maximum number of worker threads in each server process
MaxThreadsPerChild 20
# maximum number of connections per server process
MaxRequestsPerChild 0
AcceptMutex fcntl
</IfModule>
# metux MPM
<IfModule metuxmpm.c>
# initial number of worker threads in each server process
StartThreads 5
# minimum number of worker threads which are kept spare
MinSpareThreads 5
# maximum number of worker threads which are kept spare
MaxSpareThreads 10
# maximum number of connections per server process
MaxRequestsPerChild 0
Multiplexer "wwwrun" "www"
</IfModule>
#
# KeepAlive: Whether or not to allow persistent connections (more than
# one request per connection). Set to "Off" to deactivate.
#
KeepAlive On
#
# MaxKeepAliveRequests: The maximum number of requests to allow
# during a persistent connection. Set to 0 to allow an unlimited amount.
# We recommend you leave this number high, for maximum performance.
#
MaxKeepAliveRequests 100
#
# KeepAliveTimeout: Number of seconds to wait for the next request from the
# same client on the same connection.
#
KeepAliveTimeout 15
#
# EnableMMAP: Control whether memory-mapping is used to deliver
# files (assuming that the underlying OS supports it).
# The default is on; turn this off if you serve from NFS-mounted
# filesystems. On some systems, turning it off (regardless of
# filesystem) can improve performance; for details, please see
# http://httpd.apache.org/docs-2.0/mod/core.html#enablemmap
#
#EnableMMAP off
#
# EnableSendfile: Control whether the sendfile kernel support is
# used to deliver files (assuming that the OS supports it).
# The default is on; turn this off if you serve from NFS-mounted
# filesystems. Please see
# http://httpd.apache.org/docs-2.0/mod/core.html#enablesendfile
#
#EnableSendfile off
#
# The following directives modify normal HTTP response behavior to
# handle known problems with browser implementations.
#
BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "MSIE 4.0b2;" nokeepalive downgrade-1.0 force-response-1.0
BrowserMatch "RealPlayer 4.0" force-response-1.0
BrowserMatch "Java/1.0" force-response-1.0
BrowserMatch "JDK/1.0" force-response-1.0
#
# The following directive disables redirects on non-GET requests for
# a directory that does not include the trailing slash. This fixes a
# problem with Microsoft WebFolders which does not appropriately handle
# redirects for folders with DAV methods.
# Same deal with Apple's DAV filesystem and Gnome VFS support for DAV.
#
BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
BrowserMatch "^WebDrive" redirect-carefully
BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully
BrowserMatch "^gnome-vfs" redirect-carefullyRe: Apache2 läuft nur 1 Minute
Wie wäre es mit einem Upgrade auf eine noch unterstützte Version von OpenSUSE?toki78 wrote:Es ist ein Suse 9.3 mit Plesk 9.2.1.
“Some humans would do anything to see if it was possible to do it. If you put a large switch in some cave somewhere, with a sign on it saying 'End-of-the-World Switch. PLEASE DO NOT TOUCH', the paint wouldn't even have time to dry.” — Terry Pratchett, Thief of Time
Re: Apache2 läuft nur 1 Minute
Hallo,
eine Neuinstallation ist mir zu riskant, weil vielleicht Daten verloren gehen könnten.
Kann man vielleicht am Servertuning was machen ?
eine Neuinstallation ist mir zu riskant, weil vielleicht Daten verloren gehen könnten.
Kann man vielleicht am Servertuning was machen ?
Re: Apache2 läuft nur 1 Minute
Und das erheblich höhere Risiko, dass in das System eingebrochen wird, blendest Du völlig aus?toki78 wrote:eine Neuinstallation ist mir zu riskant, weil vielleicht Daten verloren gehen könnten.
Schonmal den Begriff "Backup" gehört?
Ja, aber nicht bei dieser Urzeit-Installation, da hier niemand mehr vergleichbar alte Testsysteme hat...toki78 wrote:Kann man vielleicht am Servertuning was machen ?
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Re: Apache2 läuft nur 1 Minute
Welches MPM setzt Du den ein? Bei prefork wird Deiner Konfiguration nach die Anzahl gleichzeitiger Anfragen auf 10 beschränkt. Das sollte Du ggfs. nach Neuinstallation berücksichtigen. :twisted:

