1und1 Rootserver L
-
michaelroelle
- Posts: 36
- Joined: 2003-10-19 16:15
- Location: Pfalz
1und1 Rootserver L
Hallo,
ich ärgere mich seit Tagen mit einem 1und1 Rootserver herrum. Vielleicht kennt sich ja zufällig jemand mit diesem Serverangebot aus.
Ich bin kein Profi was Server betrifft kann jedoch mit Linux soweit umgehen.
Mein Problem wie folgt:
Wir haben eine Homepage von einem 1&1 Hostingpaket auf einen 1&1 Rootserver L umgezogen. Wir haben uns für SUSE 9.0 entschieden. Die Homepage läuft soweit wie vorher, jedoch hält Sie keiner Belastung mehr stand. Auf dem Hostingpaket konnten leicht 40 User gleichzeitig online sein, jetzt hat die Seite damit starke Probleme. Wenn ich versuche die Seite aufzurufen, habe ich eine Reaktionszeit von bis zu 8 Sekunden. Der Seitenaufbau ist dann sehr schnell.
PHP 4.3.8 habe ich selbst gebacken. Sonst habe ich alle Einstellungen gelassen.
Meine Frage:
Ist die Default-Einstellung der Serverkonfiguration so schlecht oder übersehe ich vielleicht etwas? Ich schicke gerne einen Auszug von meinen Konfigurationsdateien, weiss aber nicht, welche von interesse sind.
Die Error_log ist soweit in Ordnung.
Ich würde mich über Eure Mithilfe sehr freuen.
Gruss Michael
ich ärgere mich seit Tagen mit einem 1und1 Rootserver herrum. Vielleicht kennt sich ja zufällig jemand mit diesem Serverangebot aus.
Ich bin kein Profi was Server betrifft kann jedoch mit Linux soweit umgehen.
Mein Problem wie folgt:
Wir haben eine Homepage von einem 1&1 Hostingpaket auf einen 1&1 Rootserver L umgezogen. Wir haben uns für SUSE 9.0 entschieden. Die Homepage läuft soweit wie vorher, jedoch hält Sie keiner Belastung mehr stand. Auf dem Hostingpaket konnten leicht 40 User gleichzeitig online sein, jetzt hat die Seite damit starke Probleme. Wenn ich versuche die Seite aufzurufen, habe ich eine Reaktionszeit von bis zu 8 Sekunden. Der Seitenaufbau ist dann sehr schnell.
PHP 4.3.8 habe ich selbst gebacken. Sonst habe ich alle Einstellungen gelassen.
Meine Frage:
Ist die Default-Einstellung der Serverkonfiguration so schlecht oder übersehe ich vielleicht etwas? Ich schicke gerne einen Auszug von meinen Konfigurationsdateien, weiss aber nicht, welche von interesse sind.
Die Error_log ist soweit in Ordnung.
Ich würde mich über Eure Mithilfe sehr freuen.
Gruss Michael
Re: 1und1 Rootserver L
Stell mal die persistenten DB-Verbindungen in der php.ini ab und den MySQL-Query-Cache an. Desweiteren kann auch die resolv.conf suboptimal konfiguriert sein...
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.
-
michaelroelle
- Posts: 36
- Joined: 2003-10-19 16:15
- Location: Pfalz
Re: 1und1 Rootserver L
das probiere ich gleich mal, danke!
-
michaelroelle
- Posts: 36
- Joined: 2003-10-19 16:15
- Location: Pfalz
Re: 1und1 Rootserver L
Code: Select all
search pureserver.info
nameserver 212.227.21.251
nameserver 195.20.224.99
nameserver 195.20.224.234
Re: 1und1 Rootserver L
Setze die 217 mal ans Ende, die Reihenfolge führte bereits desöfteren zu Problemen...
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.
-
michaelroelle
- Posts: 36
- Joined: 2003-10-19 16:15
- Location: Pfalz
Re: 1und1 Rootserver L
Eine 217 gibt es nicht aber ich hab mal die 212 nach hinten gesetzt ;-)
Code: Select all
search pureserver.info
nameserver 195.20.224.99
nameserver 195.20.224.234
nameserver 212.227.21.251
-
michaelroelle
- Posts: 36
- Joined: 2003-10-19 16:15
- Location: Pfalz
Re: 1und1 Rootserver L
Ich habe es umgestellt:
Was hat es mit dem MySQL-Query-Cache auf sich?
Wäre das in der my.cnf richtig?
Code: Select all
mysql.allow_persistent = Off
Wäre das in der my.cnf richtig?
Code: Select all
query-cache-type = 1
query-cache-size = 20M
Re: 1und1 Rootserver L
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.
-
michaelroelle
- Posts: 36
- Joined: 2003-10-19 16:15
- Location: Pfalz
Re: 1und1 Rootserver L
Hab es gemerkt. Hab es so eingestellt:
Code: Select all
query_cache_size=1000000-
michaelroelle
- Posts: 36
- Joined: 2003-10-19 16:15
- Location: Pfalz
Re: 1und1 Rootserver L
Wenn ich den Server neu starte, bekomme ich folgende Warnung:
Kann es daran liegen?
Code: Select all
[warn] Init: Session Cache is not configured-
michaelroelle
- Posts: 36
- Joined: 2003-10-19 16:15
- Location: Pfalz
Re: 1und1 Rootserver L
Hallo,
damit:
Ich würde mich sehr über Eure Mithilfe freuen.
Gruss Michael
damit:
hat sich einiges zum positiven Verändert. Die Reaktionszeit ist viel schneller. Jedoch ist der Server noch immer etwas langsamer als das Hostingpaket. Weiss zufällig jemand noch, an welchen Stellen ich mal nachschauen sollte?Stell mal die persistenten DB-Verbindungen in der php.ini ab und den MySQL-Query-Cache an
Ich würde mich sehr über Eure Mithilfe freuen.
Gruss Michael
Re: 1und1 Rootserver L
Wie sind Apache und PHP konfiguriert?
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.
-
michaelroelle
- Posts: 36
- Joined: 2003-10-19 16:15
- Location: Pfalz
Re: 1und1 Rootserver L
Hier die php.ini:
Code: Select all
[PHP]
engine = On
short_open_tag = On
asp_tags = Off
precision = 12
y2k_compliance = On
output_buffering = Off
zlib.output_compression = Off
implicit_flush = Off
unserialize_callback_func=
serialize_precision = 100
allow_call_time_pass_reference = On
safe_mode = Off
safe_mode_gid = Off
safe_mode_include_dir =
safe_mode_exec_dir =
safe_mode_allowed_env_vars = PHP_
safe_mode_protected_env_vars = LD_LIBRARY_PATH
disable_functions =
disable_classes =
expose_php = On
;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;
max_execution_time = 30 ; Maximum execution time of each script, in seconds
max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
memory_limit = 8M ; Maximum amount of memory a script may consume (8MB)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Error handling and logging ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
error_reporting = E_ALL & ~E_NOTICE
display_errors = Off
display_startup_errors = Off
log_errors = On
log_errors_max_len = 1024
ignore_repeated_errors = Off
ignore_repeated_source = Off
report_memleaks = On
track_errors = Off
;;;;;;;;;;;;;;;;;
; Data Handling ;
;;;;;;;;;;;;;;;;;
variables_order = "EGPCS"
register_globals = Off
register_argc_argv = On
post_max_size = 8M
gpc_order = "GPC"
magic_quotes_gpc = On
magic_quotes_runtime = Off
magic_quotes_sybase = Off
auto_prepend_file =
auto_append_file =
default_mimetype = "text/html"
default_charset = "iso-8859-1"
;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and Directories ;
;;;;;;;;;;;;;;;;;;;;;;;;;
doc_root =
user_dir =
extension_dir = "./"
extension_dir = /usr/share/extensions/no-debug-non-zts-20020429
enable_dl = On
[MySQL]
; Allow or prevent persistent links.
mysql.allow_persistent = Off
; Maximum number of persistent links. -1 means no limit.
mysql.max_persistent = -1
; Maximum number of links (persistent + non-persistent). -1 means no limit.
mysql.max_links = -1
; Default port number for mysql_connect(). If unset, mysql_connect() will use
; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
; at MYSQL_PORT.
mysql.default_port =
; Default socket name for local MySQL connects. If empty, uses the built-in
; MySQL defaults.
mysql.default_socket =
; Default host for mysql_connect() (doesn't apply in safe mode).
mysql.default_host =
; Default user for mysql_connect() (doesn't apply in safe mode).
mysql.default_user =
; Default password for mysql_connect() (doesn't apply in safe mode).
; Note that this is generally a *bad* idea to store passwords in this file.
; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
; and reveal this password! And of course, any users with read access to this
; file will be able to reveal the password as well.
mysql.default_password =
; Maximum time (in secondes) for connect timeout. -1 means no limimt
mysql.connect_timeout = 60
; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
; SQL-Erros will be displayed.
mysql.trace_mode = Off
[Session]
; Handler used to store/retrieve data.
session.save_handler = files
; Argument passed to save_handler. In the case of files, this is the path
; where data files are stored. Note: Windows users have to change this
; variable in order to use PHP's session functions.
; As of PHP 4.0.1, you can define the path as:
; session.save_path = "N;/path"
; where N is an integer. Instead of storing all the session files in
; /path, what this will do is use subdirectories N-levels deep, and
; store the session data in those directories. This is useful if you
; or your OS have problems with lots of files in one directory, and is
; a more efficient layout for servers that handle lots of sessions.
; NOTE 1: PHP will not create this directory structure automatically.
; You can use the script in the ext/session dir for that purpose.
; NOTE 2: See the section on garbage collection below if you choose to
; use subdirectories for session storage
session.save_path = /tmp
; Whether to use cookies.
session.use_cookies = 1
; This option enables administrators to make their users invulnerable to
; attacks which involve passing session ids in URLs; defaults to 0.
; session.use_only_cookies = 1
; Name of the session (used as cookie name).
session.name = PHPSESSID
; Initialize session on request startup.
session.auto_start = 0
; Lifetime in seconds of cookie or, if 0, until browser is restarted.
session.cookie_lifetime = 0
; The path for which the cookie is valid.
session.cookie_path = /
; The domain for which the cookie is valid.
session.cookie_domain =
; Handler used to serialize data. php is the standard serializer of PHP.
session.serialize_handler = php
; Define the probability that the 'garbage collection' process is started
; on every session initialization.
; The probability is calculated by using gc_probability/gc_divisor,
; e.g. 1/100 means there is a 1% chance that the GC process starts
; on each request.
session.gc_probability = 1
session.gc_divisor = 100
; After this number of seconds, stored data will be seen as 'garbage' and
; cleaned up by the garbage collection process.
session.gc_maxlifetime = 1440
; NOTE: If you are using the subdirectory option for storing session files
; (see session.save_path above), then garbage collection does *not*
; happen automatically. You will need to do your own garbage
; collection through a shell script, cron entry, or some other method.
; For example, the following script would is the equivalent of
; setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
; cd /path/to/sessions; find -cmin +24 | xargs rm
; PHP 4.2 and less have an undocumented feature/bug that allows you to
; to initialize a session variable in the global scope, albeit register_globals
; is disabled. PHP 4.3 and later will warn you, if this feature is used.
; You can disable the feature and the warning seperately. At this time,
; the warning is only displayed, if bug_compat_42 is enabled.
session.bug_compat_42 = 1
session.bug_compat_warn = 1
; Check HTTP Referer to invalidate externally stored URLs containing ids.
; HTTP_REFERER has to contain this substring for the session to be
; considered as valid.
session.referer_check =
; How many bytes to read from the file.
session.entropy_length = 0
; Specified here to create the session id.
session.entropy_file =
;session.entropy_length = 16
;session.entropy_file = /dev/urandom
; Set to {nocache,private,public,} to determine HTTP caching aspects
; or leave this empty to avoid sending anti-caching headers.
session.cache_limiter = nocache
; Document expires after n minutes.
session.cache_expire = 180
; trans sid support is disabled by default.
; Use of trans sid may risk your users security.
; Use this option with caution.
; - User may send URL contains active session ID
; to other person via. email/irc/etc.
; - URL that contains active session ID may be stored
; in publically accessible computer.
; - User may access your site with the same session ID
; always using URL stored in browser's history or bookmarks.
session.use_trans_sid = 0
; The URL rewriter will look for URLs in a defined set of HTML tags.
; form/fieldset are special; if you include them here, the rewriter will
; add a hidden <input> field with the info which is otherwise appended
; to URLs. If you want XHTML conformity, remove the form entry.
; Note that all valid entries require a "=", even if no value follows.
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="
[Sockets]
; Use the system read() function instead of the php_read() wrapper.
sockets.use_system_read = On
[com]
; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
;com.typelib_file =
; allow Distributed-COM calls
;com.allow_dcom = true
; autoregister constants of a components typlib on com_load()
;com.autoregister_typelib = true
; register constants casesensitive
;com.autoregister_casesensitive = false
; show warnings on duplicate constat registrations
;com.autoregister_verbose = true
-
michaelroelle
- Posts: 36
- Joined: 2003-10-19 16:15
- Location: Pfalz
Re: 1und1 Rootserver L
Hier die httpd.conf:
Code: Select all
#Diesen Eintrag habe ich hier eingesetzt
HostnameLookups off
Include /etc/apache2/uid.conf
Include /etc/apache2/server-tuning.conf
ErrorLog /var/log/apache2/error_log
Include /etc/apache2/sysconfig.d/loadmodule.conf
Include /etc/apache2/listen.conf
Include /etc/apache2/mod_log_config.conf
Include /etc/apache2/sysconfig.d/global.conf
Include /etc/apache2/mod_status.conf
Include /etc/apache2/mod_info.conf
Include /etc/apache2/mod_autoindex-defaults.conf
TypesConfig /etc/apache2/mime.types
DefaultType text/plain
Include /etc/apache2/mod_mime-defaults.conf
Include /etc/apache2/errors.conf
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
Include /etc/apache2/default-server.conf
Include /etc/apache2/sysconfig.d/include.conf
Include /etc/apache2/vhosts.d/*.conf
Include /etc/apache2/confixx_mhost.conf
-
michaelroelle
- Posts: 36
- Joined: 2003-10-19 16:15
- Location: Pfalz
Re: 1und1 Rootserver L
Und hier die in der httpd.conf included server-tuning.conf:
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 5
# minimum number of server processes which are kept spare
MinSpareServers 5
# maximum number of server processes which are kept spare
MaxSpareServers 10
# maximum number of server processes allowed to start
MaxClients 150
# maximum number of requests a server process serves
#MaxRequestsPerChild 0
# set to 1 because of a bug in php - this will slow down the server
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 Off
#
# 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
#
# 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-carefully
-
michaelroelle
- Posts: 36
- Joined: 2003-10-19 16:15
- Location: Pfalz
Re: 1und1 Rootserver L
So habe ich PHP gebacken:
Code: Select all
./configure '--prefix=/usr' '--datadir=/usr/share/php' '--mandir=/usr/share/man' '--bindir=/usr/bin' '--libdir=/usr/share' '--includedir=/usr/include' '--sysconfdir=/etc' '--with-_lib=lib' '--with-config-file-path=/etc' '--with-exec-dir=/usr/lib/php/bin' '--disable-debug' '--enable-inline-optimization' '--enable-memory-limit' '--enable-magic-quotes' '--enable-safe-mode' '--enable-sigchild' '--disable-ctype' '--enable-session' '--with-mysql' '--disable-cli' '--without-pear' '--with-openssl' '--with-apxs2=/usr/sbin/apxs2-prefork' 'i586-suse-linux' '--with-gd' '--with-png-dir=/usr/lib' '--with-jpeg-dir' '--with-zlib-dir'
-
michaelroelle
- Posts: 36
- Joined: 2003-10-19 16:15
- Location: Pfalz
Re: 1und1 Rootserver L
Ich hoffe ich hab da nichts vergessen?
Re: 1und1 Rootserver L
:!: Mit deinem Webhosting-Paket lief deine Homepage auf zwei Servern: einem fetten Webserver und einem fetten Datenbankserver. Das zwar neben Projekten anderer Kunden, aber du bekamst da sicher einen guten Anteil der verfügbaren Leistung. Jetzt hast du nur einen Server (ausgerechnet einen mit einem Celeron-ProzessorMichaelRoelle wrote:ich ärgere mich seit Tagen mit einem 1und1 Rootserver herrum. [...] Wir haben eine Homepage von einem 1&1 Hostingpaket auf einen 1&1 Rootserver L umgezogen. [...] Die Homepage läuft soweit wie vorher, jedoch hält Sie keiner Belastung mehr stand. Auf dem Hostingpaket konnten leicht 40 User gleichzeitig online sein, jetzt hat die Seite damit starke Probleme. [...]
Meine Frage: Ist die Default-Einstellung der Serverkonfiguration so schlecht oder übersehe ich vielleicht etwas? [...]
:idea: Jetzt ist es an der Zeit, die Serverkonfguration, die Datenbank oder die Skripte zu optimieren.
-
michaelroelle
- Posts: 36
- Joined: 2003-10-19 16:15
- Location: Pfalz
Re: 1und1 Rootserver L
Hallo kawfy,
diese Tatsache hab ich wohl übersehen. Mit dem Celeron bin ich auch nicht so glücklich, jedoch ist das Angebot von 1&1 im Preis- / Leistungsverhältnis nicht schlecht. Ich werde wohl an allen Kanten ein wenig schleifen müssen. Mit den Ã?nderungen, wie sie Joe User vorgeschlagen hat, gibt es auf jeden Fall schon eine spürbare Verbesserung.
Wie schätzt ihr eigentlich den ZEND-Optimizer ein?
Gruss und einen schönen Tag
Michael
diese Tatsache hab ich wohl übersehen. Mit dem Celeron bin ich auch nicht so glücklich, jedoch ist das Angebot von 1&1 im Preis- / Leistungsverhältnis nicht schlecht. Ich werde wohl an allen Kanten ein wenig schleifen müssen. Mit den Ã?nderungen, wie sie Joe User vorgeschlagen hat, gibt es auf jeden Fall schon eine spürbare Verbesserung.
Wie schätzt ihr eigentlich den ZEND-Optimizer ein?
Gruss und einen schönen Tag
Michael
Zend Performance Suite
Ich habe die Zend Performance Suite am laufen und hab derzeit in der Spitze rund 80.000 Hits/Hour in der "PrimeTime". Alle dynamisch aber gecacht im RAM... Systemlast rund bei 0.15 - 0.20, in der Spitze ~ 0.5.
Root Server XL als Basis.
Root Server XL als Basis.
-
michaelroelle
- Posts: 36
- Joined: 2003-10-19 16:15
- Location: Pfalz
Re: 1und1 Rootserver L
Das hört sich ganz gut an. Dann werde ich es auch mal ausprobieren. Dake für die Info.
Eine andere Frage: Der MySQL-Query-Cache, wie finde ich herraus, wie hoch ich den einstelle? Gibt es da Faustregeln oder kann ich die Ausnutzung messen?
Gruss Michael
Eine andere Frage: Der MySQL-Query-Cache, wie finde ich herraus, wie hoch ich den einstelle? Gibt es da Faustregeln oder kann ich die Ausnutzung messen?
Gruss Michael
Re: 1und1 Rootserver L
Ich habe das gleiche Problem. Nur habe ich einen anderen Vergleich.
Zuvor lief mein 1und1 Rootserver mit Suse 8.1, Apache 1.3, MySQL 4 und PHP 4.3.0. Er lief recht schnell und Zugriffe auf Webseiten (insbesondere das Forum 3dfusion.net) wurden sehr schnell bearbeitet.
Nachdem ich den Server reinitialisieren musste, wurde mir Suse 9.1, Apache 2.0.42 und PHP 4.3.4 drauf gemacht. Und damit fingen die Probleme an - das Forum, was vorher innerhalb von 1-2 Sekunde geladen war, lahmt sehr. Manchmal geht es schnell (1-2 Sekunden), manchmal dauert es bis zu 15 Sekunden.
Die Installation von Zend hat nur wenig geholfen.
Ich nehme auch an, dass die Grundkonfiguration nicht optimal ist. Aber woran liegt es? Apache, PHP oder MySQL? Oder alle auf einmal? Hm ...
Zuvor lief mein 1und1 Rootserver mit Suse 8.1, Apache 1.3, MySQL 4 und PHP 4.3.0. Er lief recht schnell und Zugriffe auf Webseiten (insbesondere das Forum 3dfusion.net) wurden sehr schnell bearbeitet.
Nachdem ich den Server reinitialisieren musste, wurde mir Suse 9.1, Apache 2.0.42 und PHP 4.3.4 drauf gemacht. Und damit fingen die Probleme an - das Forum, was vorher innerhalb von 1-2 Sekunde geladen war, lahmt sehr. Manchmal geht es schnell (1-2 Sekunden), manchmal dauert es bis zu 15 Sekunden.
Die Installation von Zend hat nur wenig geholfen.
Ich nehme auch an, dass die Grundkonfiguration nicht optimal ist. Aber woran liegt es? Apache, PHP oder MySQL? Oder alle auf einmal? Hm ...
Re: 1und1 Rootserver L
Wenn Dir die Zend-Suite zu teuer ist, kann ich PECL::APC empfehlen, der läuft bei mir wunderbar und ist sehr einfach zu installieren:MichaelRoelle wrote:Das hört sich ganz gut an. Dann werde ich es auch mal ausprobieren. Dake für die Info.
Code: Select all
pear install apcDas hängt von vielen Faktoren ab. Z.B. was Du für Abfragen hast, wie viele, wieviel RAM Du überhaupt für MySQL zur Verfügung hast... der Optimierung ist ein komplettes Kapitel des MySQL-Manuals gewidmet: http://dev.mysql.com/doc/mysql/de/MySQL ... ation.htmlMichaelRoelle wrote:Eine andere Frage: Der MySQL-Query-Cache, wie finde ich herraus, wie hoch ich den einstelle? Gibt es da Faustregeln oder kann ich die Ausnutzung messen?
Im MySQL-Quellcode gibt es Beispiel-Konfigurationsdateien (my.cnf) für verschiedene Systeme im Verzeichnis conf-samples:
Code: Select all
my-huge.cnf my-large.cnf my-medium.cnf my-small.cnfGrüße
Andreas
Re: 1und1 Rootserver L
Der Zend-Optimizer bringt fast nichts, da die Optimierung ja bei jedem Request erneut passieren muss. Erheblich mehr hilft da ein opcode-cache wie PECL::APC oder ZPS. Diese parsen scripte nur wenn sie sich geändert haben, und behalten sonst dessen opcode im RAM.Adagio wrote:Die Installation von Zend hat nur wenig geholfen.
Allerdings löst das keine Probleme mit der Datenbank.
Hast Du Dir denn die Konfigurationen vom alten Server aufgehoben? Bzw. noch ein Backup rumfliegen...? Dann würde ich einfach mal sämtliche beteiligten Konfigurations-Dateien vergleichen (vor allem httpd.conf, php.ini, my.cnf), und nach Unterschieden suchen.
Wäre sicher interessant das Ergebnis hier zu posten!
Re: Zend Performance Suite
bezieht sich 80.000 auf "PHP-Requests"? Wieviele DB-Abfragen hast Du pro Stunde? Du setzt vermutlich mod_php ein, ja?ToXIcS wrote:Ich habe die Zend Performance Suite am laufen und hab derzeit in der Spitze rund 80.000 Hits/Hour in der "PrimeTime". Alle dynamisch aber gecacht im RAM... Systemlast rund bei 0.15 - 0.20, in der Spitze ~ 0.5.
Root Server XL als Basis.
