Unter OTRS 2.0.4 Update von apache auf apache2
-
- Znuny newbie
- Posts: 30
- Joined: 26 Jan 2006, 10:09
Unter OTRS 2.0.4 Update von apache auf apache2
Hallo.
Ich habe apache auf apache2 ( mit viel trickserei ) auf
SUSE 9.1 mit oTRS 2.0.4 umgestellt.
Was mich wundert ist, dass nun die Performance sehr
stark in den keller gegangen ist bei den normalen
http zugriffen über index.pl bzw. customer.pl.
Hat jemand erfahrung bzw. tuningtipps für apache2 ?
Danke und Grüsse,
Michael
Ich habe apache auf apache2 ( mit viel trickserei ) auf
SUSE 9.1 mit oTRS 2.0.4 umgestellt.
Was mich wundert ist, dass nun die Performance sehr
stark in den keller gegangen ist bei den normalen
http zugriffen über index.pl bzw. customer.pl.
Hat jemand erfahrung bzw. tuningtipps für apache2 ?
Danke und Grüsse,
Michael
Hat der Tipp aus der Mailingsliste nicht funktioniert??
Ich selbst arbeite auch mit appache2 (allerdings unter einem modifizierten Debian Sarge). Performanceverlust habe ich auch bisher nur bei Sysconfig festgestellt (was aber im mom nebensächlich ist).
Was hat den die Änderung aus der MListe gebracht??
Ich selbst arbeite auch mit appache2 (allerdings unter einem modifizierten Debian Sarge). Performanceverlust habe ich auch bisher nur bei Sysconfig festgestellt (was aber im mom nebensächlich ist).
Was hat den die Änderung aus der MListe gebracht??
-
- Znuny newbie
- Posts: 30
- Joined: 26 Jan 2006, 10:09
Da ich momentan keine direkten Ideen dazu habe, löchre ich Dich einfach weiter mit Fragen
Hast Du da noch andere Projekte laufen??
Wie ist da die Zugriffszeit?
Wie sieht der Zugriff auf einfache HTML-Seiten aus??
Wie sieht der Zugriff direkt auf dem Server aus (kannst Du das mal testen)??
Wenn das auch lange dauert ... wie schauts aus, wenn Du mal das Perl-Script vom Prompt aus aufrufst??
Gibt es im Logfile von Apache Hinweise??
Mein Vermutung geht ja so in die Richtung Kommunikation Apache mit Perl.
Aber das ist auch nur schnell geraten.
Hast Du da noch andere Projekte laufen??
Wie ist da die Zugriffszeit?
Wie sieht der Zugriff auf einfache HTML-Seiten aus??
Wie sieht der Zugriff direkt auf dem Server aus (kannst Du das mal testen)??
Wenn das auch lange dauert ... wie schauts aus, wenn Du mal das Perl-Script vom Prompt aus aufrufst??
Gibt es im Logfile von Apache Hinweise??
Mein Vermutung geht ja so in die Richtung Kommunikation Apache mit Perl.
Aber das ist auch nur schnell geraten.
-
- Znuny newbie
- Posts: 30
- Joined: 26 Jan 2006, 10:09
Ich denek beim apache2 start ist schon was krumm.
Wo finde ich den eintrag :
DocumentRoot [/srv/www/vhosts/dummy-host.example.com]
sollte woll raus, oder ?
anbei mal rcapache2 restart -hoffe, dasss hilft....
saptux:/etc/apache2 # rcapache2 restart
[Thu Jan 26 10:45:19 2006] [warn] module cgi_module is already loaded, skipping
Warning: DocumentRoot [/srv/www/vhosts/dummy-host.example.com] does not exist
Syntax OK
Shutting down httpd2 (waiting for all children to terminate) done
Starting httpd2 (prefork) [Thu Jan 26 10:45:20 2006] [warn] module cgi_module is already loaded, skipping
Warning: DocumentRoot [/srv/www/vhosts/dummy-host.example.com] does not exist
done
Wo finde ich den eintrag :
DocumentRoot [/srv/www/vhosts/dummy-host.example.com]
sollte woll raus, oder ?
anbei mal rcapache2 restart -hoffe, dasss hilft....
saptux:/etc/apache2 # rcapache2 restart
[Thu Jan 26 10:45:19 2006] [warn] module cgi_module is already loaded, skipping
Warning: DocumentRoot [/srv/www/vhosts/dummy-host.example.com] does not exist
Syntax OK
Shutting down httpd2 (waiting for all children to terminate) done
Starting httpd2 (prefork) [Thu Jan 26 10:45:20 2006] [warn] module cgi_module is already loaded, skipping
Warning: DocumentRoot [/srv/www/vhosts/dummy-host.example.com] does not exist
done
-
- Znuny newbie
- Posts: 30
- Joined: 26 Jan 2006, 10:09
das zeigt der otrs benchmark :
Ergebnis: SQL
Schlüssel Wert Zeit
Insert Time: 10000 7 s
Update Time: 10000 11 s
Select Time: 10000 15 s
Delete Time: 1 0 s
Multiplier: * 1
Ergebnis: Oberfläche
Schlüssel Wert Zeit
Request: 1 1 s
Request: 2 0 s
Request: 3 0 s
Request: 4 1 s
Request: 5 0 s
Request: 6 1 s
Request: 7 0 s
Request: 8 0 s
Request: 9 0 s
Request: 10 1 s
Module: AgentTicketQueue 4 s
Ergebnis: SQL
Schlüssel Wert Zeit
Insert Time: 10000 7 s
Update Time: 10000 11 s
Select Time: 10000 15 s
Delete Time: 1 0 s
Multiplier: * 1
Ergebnis: Oberfläche
Schlüssel Wert Zeit
Request: 1 1 s
Request: 2 0 s
Request: 3 0 s
Request: 4 1 s
Request: 5 0 s
Request: 6 1 s
Request: 7 0 s
Request: 8 0 s
Request: 9 0 s
Request: 10 1 s
Module: AgentTicketQueue 4 s
-
- Znuny newbie
- Posts: 30
- Joined: 26 Jan 2006, 10:09
Da ich momentan keine direkten Ideen dazu habe, löchre ich Dich einfach weiter mit Fragen Laughing
Hast Du da noch andere Projekte laufen??
nein
Wie ist da die Zugriffszeit?
----
Wie sieht der Zugriff auf einfache HTML-Seiten aus??
Wie sieht der Zugriff direkt auf dem Server aus (kannst Du das mal testen)??
C:\Dokumente und Einstellungen\schulze.MSNET.009>ping saptux
Ping saptux.strauss1902.de [172.18.3.201] mit 32 Bytes Daten:
Antwort von 172.18.3.201: Bytes=32 Zeit<10ms TTL=64
Antwort von 172.18.3.201: Bytes=32 Zeit<10ms TTL=64
Antwort von 172.18.3.201: Bytes=32 Zeit<10ms TTL=64
Antwort von 172.18.3.201: Bytes=32 Zeit<10ms TTL=64
Ping-Statistik für 172.18.3.201:
Pakete: Gesendet = 4, Empfangen = 4, Verloren = 0 (0% Verlust),
Ca. Zeitangaben in Millisek.:
Minimum = 0ms, Maximum = 0ms, Mittelwert = 0ms
Wenn das auch lange dauert ... wie schauts aus, wenn Du mal das Perl-Script vom Prompt aus aufrufst??
Gibt es im Logfile von Apache Hinweise??
Mein Vermutung geht ja so in die Richtung Kommunikation Apache mit Perl.
denke ich auch, denn unter apache war alles fast
Aber das ist auch nur schnell geraten.
Hast Du da noch andere Projekte laufen??
nein
Wie ist da die Zugriffszeit?
----
Wie sieht der Zugriff auf einfache HTML-Seiten aus??
Wie sieht der Zugriff direkt auf dem Server aus (kannst Du das mal testen)??
C:\Dokumente und Einstellungen\schulze.MSNET.009>ping saptux
Ping saptux.strauss1902.de [172.18.3.201] mit 32 Bytes Daten:
Antwort von 172.18.3.201: Bytes=32 Zeit<10ms TTL=64
Antwort von 172.18.3.201: Bytes=32 Zeit<10ms TTL=64
Antwort von 172.18.3.201: Bytes=32 Zeit<10ms TTL=64
Antwort von 172.18.3.201: Bytes=32 Zeit<10ms TTL=64
Ping-Statistik für 172.18.3.201:
Pakete: Gesendet = 4, Empfangen = 4, Verloren = 0 (0% Verlust),
Ca. Zeitangaben in Millisek.:
Minimum = 0ms, Maximum = 0ms, Mittelwert = 0ms
Wenn das auch lange dauert ... wie schauts aus, wenn Du mal das Perl-Script vom Prompt aus aufrufst??
Gibt es im Logfile von Apache Hinweise??
Mein Vermutung geht ja so in die Richtung Kommunikation Apache mit Perl.
denke ich auch, denn unter apache war alles fast
Aber das ist auch nur schnell geraten.
Also, hier überpüfe mal wirklich die Datei "/etc/apache2/httpd.conf" (wenn existent) und die Dateien in "/etc/apache2/sites-enabled".michael.schulze wrote:Ich denek beim apache2 start ist schon was krumm.
Wo finde ich den eintrag :
DocumentRoot [/srv/www/vhosts/dummy-host.example.com]
sollte woll raus, oder ?
anbei mal rcapache2 restart -hoffe, dasss hilft....
saptux:/etc/apache2 # rcapache2 restart
[Thu Jan 26 10:45:19 2006] [warn] module cgi_module is already loaded, skipping
Warning: DocumentRoot [/srv/www/vhosts/dummy-host.example.com] does not exist
Syntax OK
Shutting down httpd2 (waiting for all children to terminate) done
Starting httpd2 (prefork) [Thu Jan 26 10:45:20 2006] [warn] module cgi_module is already loaded, skipping
Warning: DocumentRoot [/srv/www/vhosts/dummy-host.example.com] does not exist
done
Da hast Du scheinbar Apache falsch konfiguriert.
Kann es sein das Du einfach die httpd.conf von apache1 verwendest?? Das sollte man nicht unbedingt machen, da apache2 etwas anders arbeitet.
<raten>
Du hast unterhalb "/etc/apache2/mods-enabled" nen Link liegen der das cgi-Modul lädt (cgi.load mit Inhalt "LoadModule cgi_module...") UND in der httpd.conf wird es auch einen Eintrag "LoadModule cgi..." geben. Den bitte mal löschen.
-
- Znuny newbie
- Posts: 30
- Joined: 26 Jan 2006, 10:09
Darkside wrote:Also, hier überpüfe mal wirklich die Datei "/etc/apache2/httpd.conf" (wenn existent) und die Dateien in "/etc/apache2/sites-enabled".michael.schulze wrote:Ich denek beim apache2 start ist schon was krumm.
Wo finde ich den eintrag :
DocumentRoot [/srv/www/vhosts/dummy-host.example.com]
sollte woll raus, oder ?
anbei mal rcapache2 restart -hoffe, dasss hilft....
saptux:/etc/apache2 # rcapache2 restart
[Thu Jan 26 10:45:19 2006] [warn] module cgi_module is already loaded, skipping
Warning: DocumentRoot [/srv/www/vhosts/dummy-host.example.com] does not exist
Syntax OK
Shutting down httpd2 (waiting for all children to terminate) done
Starting httpd2 (prefork) [Thu Jan 26 10:45:20 2006] [warn] module cgi_module is already loaded, skipping
Warning: DocumentRoot [/srv/www/vhosts/dummy-host.example.com] does not exist
done
Da hast Du scheinbar Apache falsch konfiguriert.
Kann es sein das Du einfach die httpd.conf von apache1 verwendest?? Das sollte man nicht unbedingt machen, da apache2 etwas anders arbeitet.
<raten>
Du hast unterhalb "/etc/apache2/mods-enabled" nen Link liegen der das cgi-Modul lädt (cgi.load mit Inhalt "LoadModule cgi_module...") UND in der httpd.conf wird es auch einen Eintrag "LoadModule cgi..." geben. Den bitte mal löschen.
Hi.
Wie prüfe ich, ob die httpd.conf zu apache2 passt ?
Die Datei /etc/apache2/sites-enabled gibt es nicht !!!!!
/etc/apache2/mods-enabled gibt es nicht
LoadModule cgi.. habe ich in der httpd.conf auskommentiert
Anbei mal die httpd.conf
### Global Environment ######################################################
#
# The directives in this section affect the overall operation of Apache,
# such as the number of concurrent requests.
# run under this user/group id
Include /etc/apache2/uid.conf
# - how many server processes to start (server pool regulation)
# - usage of KeepAlive
Include /etc/apache2/server-tuning.conf
# ErrorLog: The location of the error log file.
# If you do not specify an ErrorLog directive within a <VirtualHost>
# container, error messages relating to that virtual host will be
# logged here. If you *do* define an error logfile for a <VirtualHost>
# container, that host's errors will be logged there and not here.
ErrorLog /var/log/apache2/error_log
# generated from APACHE_MODULES in /etc/sysconfig/apache2
Include /etc/apache2/sysconfig.d/loadmodule.conf
# IP addresses / ports to listen on
Include /etc/apache2/listen.conf
# predefined logging formats
Include /etc/apache2/mod_log_config.conf
# generated from global settings in /etc/sysconfig/apache2
Include /etc/apache2/sysconfig.d/global.conf
# optional mod_status, mod_info
Include /etc/apache2/mod_status.conf
Include /etc/apache2/mod_info.conf
# optional cookie-based user tracking
# read the documentation before using it!!
Include /etc/apache2/mod_usertrack.conf
# configuration of server-generated directory listings
Include /etc/apache2/mod_autoindex-defaults.conf
# associate MIME types with filename extensions
TypesConfig /etc/apache2/mime.types
DefaultType text/plain
Include /etc/apache2/mod_mime-defaults.conf
# set up (customizable) error responses
Include /etc/apache2/errors.conf
# global (server-wide) SSL configuration, that is not specific to
# any virtual host
Include /etc/apache2/ssl-global.conf
# forbid access to the entire filesystem by default
<Directory />
Options None
AllowOverride None
Order deny,allow
Deny from all
</Directory>
# use .htaccess files for overriding,
AccessFileName .htaccess
# and never show them
<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>
# List of resources to look for when the client requests a directory
DirectoryIndex index.html index.html.var
### 'Main' server configuration #############################################
#
# The directives in this section set up the values used by the 'main'
# server, which responds to any requests that aren't handled by a
# <VirtualHost> definition. These values also provide defaults for
# any <VirtualHost> containers you may define later in the file.
#
# All of these directives may appear inside <VirtualHost> containers,
# in which case these default settings will be overridden for the
# virtual host being defined.
#
Include /etc/apache2/default-server.conf
# Another way to include your own files
#
# The file below is generated from /etc/sysconfig/apache2,
# include arbitrary files as named in APACHE_CONF_INCLUDE_FILES and
# APACHE_CONF_INCLUDE_DIRS
Include /etc/apache2/sysconfig.d/include.conf
### Virtual server configuration ############################################
#
# VirtualHost: If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
# <URL:http://httpd.apache.org/docs-2.0/vhosts/>
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.
#
Include /etc/apache2/vhosts.d/*.conf
# Note: instead of adding your own configuration here, consider
# adding it in your own file (/etc/apache2/httpd.conf.local)
# putting its name into APACHE_CONF_INCLUDE_FILES in
# /etc/sysconfig/apache2 -- this will make system updates
# easier
#LoadModule cgi_module /usr/lib/apache2/modules/mod_cgi.so
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
Ja, das wären auch Verzeichnisse gewesen, aber ich sehe schon, das es bei Dir etwas anders Strukturiert istDie Datei /etc/apache2/sites-enabled gibt es nicht !!!!!
/etc/apache2/mods-enabled gibt es nicht
Code: Select all
# generated from APACHE_MODULES in /etc/sysconfig/apache2
Include /etc/apache2/sysconfig.d/loadmodule.conf
Code: Select all
### Virtual server configuration ############################################
#
# VirtualHost: If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
# <URL:http://httpd.apache.org/docs-2.0/vhosts/>
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.
#
Include /etc/apache2/vhosts.d/*.conf
Hier findest Du dann auch sicher die Konfiguration die den "DocumentRoot" Fehler auswerfen lässt.
Frage: Konfigurierst Du das ganze via Yast??
-
- Znuny newbie
- Posts: 30
- Joined: 26 Jan 2006, 10:09
Nein, nur apache2 über yast installiert - keine konfiguration.Darkside wrote:Ja, das wären auch Verzeichnisse gewesen, aber ich sehe schon, das es bei Dir etwas anders Strukturiert istDie Datei /etc/apache2/sites-enabled gibt es nicht !!!!!
/etc/apache2/mods-enabled gibt es nicht
Hier müsstest Du die Module finden, die Apache läd. Hier sollte sich dann auch ein Eintrag zum cgi Modul befinden. Und hier ist er auch richtig.Code: Select all
# generated from APACHE_MODULES in /etc/sysconfig/apache2 Include /etc/apache2/sysconfig.d/loadmodule.conf
Diese Sektion ist ja beschrieben und sagt was sie macht. Und das File am Ende beinhaltet dann entsprechendes.Code: Select all
### Virtual server configuration ############################################ # # VirtualHost: If you want to maintain multiple domains/hostnames on your # machine you can setup VirtualHost containers for them. Most configurations # use only name-based virtual hosts so the server doesn't need to worry about # IP addresses. This is indicated by the asterisks in the directives below. # # Please see the documentation at # <URL:http://httpd.apache.org/docs-2.0/vhosts/> # for further details before you try to setup virtual hosts. # # You may use the command line option '-S' to verify your virtual host # configuration. # Include /etc/apache2/vhosts.d/*.conf
Hier findest Du dann auch sicher die Konfiguration die den "DocumentRoot" Fehler auswerfen lässt.
Frage: Konfigurierst Du das ganze via Yast??
Was mich ein wenig wundert sind die sql benchmarks
das zeigt der otrs benchmark :
Ergebnis: SQL
Schlüssel Wert Zeit
Insert Time: 10000 7 s Sad
Update Time: 10000 11 s Sad
Select Time: 10000 15 s Sad
Delete Time: 1 0 s Smile
Multiplier: * 1
Ja nun, 10000 Selects in 15s härt sich net so schön an. Aber mir fehlen da echt Kenntnisse.
Das was wir hier bisher gemacht haben, war ja kleine Fehlerbereinigung apache2. Aber ich sagte ja bereits, bin da absolut kein Experte. Ist mehr nen Versuch zu Hilfe gewesen
Bin jetzt erst mal Ratlos. Ham die anderen hier ne Idee????
Das was wir hier bisher gemacht haben, war ja kleine Fehlerbereinigung apache2. Aber ich sagte ja bereits, bin da absolut kein Experte. Ist mehr nen Versuch zu Hilfe gewesen
Bin jetzt erst mal Ratlos. Ham die anderen hier ne Idee????
hallo michael,
ich wollte einfach mal nachfragen was aus deinen Performanceproblemen so geworden ist und wie du die gegebenenfalls gelöst hast. Unser System ist nämlich auch nicht gerade sonderlich schnell, allerdings grad frisch installiert und nicht nach einem Update (zum Vergleich steht mir nur ein OTRS auf nem dedizierten Win2k-PC zur Verfügung, das ist aber deutlich schneller...)
ich wollte einfach mal nachfragen was aus deinen Performanceproblemen so geworden ist und wie du die gegebenenfalls gelöst hast. Unser System ist nämlich auch nicht gerade sonderlich schnell, allerdings grad frisch installiert und nicht nach einem Update (zum Vergleich steht mir nur ein OTRS auf nem dedizierten Win2k-PC zur Verfügung, das ist aber deutlich schneller...)