PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : V-Server von Strato geht in die Knie



BlackBaron106
14.01.2008, 21:22
Hallo,

Nachdem ich mit den Leistungen meines letzten hosters (webspaceverkauf.de) nicht zufrieden war, hatte ich mich entschlossen auf einen V-server umzusteigen um mehr performance zu erlangen.

Jetzt läuft alles auf dem neuen Server, 1 Vbulletin im Aufbau und eins das jetzt von einem wbb importiert wurde und zuvor 3 jahre online war.

Serverdaten:

CPU GenuineIntel, Intel(R) Celeron(R) CPU 2.40GHz

OS Linux 2.6.9-023stab044.16-enterprise

CPU NutzungLetzte 1 Minute 0.60
Letzte 5 Minuten 0.49
Letzte 15 Minuten 0.35

Gesamt Benutzt Frei
1.48 GB 1.45 GB 30.29 MB



Also der CPU scheint ja nicht wirklich belastet zu sein, aber wenn man eine Seite aufruft, läft man des öfteren 30 sekunden lang... bilder, zb die photoplog anzeige im vbadvanced im portal laden teilweise erst nach einer minute.

www.small-devils.de

Online sind rund 20 bis 30 user (mit gästen!)

Wieso habe ich dann ewig lange wartezeiten?

Hoffi
14.01.2008, 21:31
Wer weiss was noch alles auf dem Server läuft...

Markus79
14.01.2008, 21:36
Hatte auch ein Forum auf einen V-Server bei Strato.
Sobald 20 User online waren, ging der Server in die Knie, obwohl Strato sagt, dass max. 10 Kunden auf einen Server sind.

Das ganze habe ich mir 2 Wochen angeguckt und danach das Forum auf meinen Server aufgespielt. Auch bei Strato allerdings ein dedicated Server.

Gruß Markus

BlackBaron106
14.01.2008, 21:38
Aber mal ehrlich, das Vbulletin ist eins der sparsamsten Scripte in Sachen Forensoftware. Wie kann man damit einen Server, wenn auch V-server bezwingen?

Gibts da keine Configs die ich übersehen haben könnte?

Hoffi
14.01.2008, 21:54
Was sagt der die RAM Auslastung bei Top?

Du kannst das vielleicht mit mySQL Einstellungen optinmieren, aber das vB braucht RAM. Und wenn die httpd und die my.cnf nicht aufeinander und auf das RAM abgestimmt sind gibt Downtimes.

Aber ich denke Dein Forum ist schon zu groß für einen einfachen V-Server. Zumindest für einen kleinen.

BlackBaron106
14.01.2008, 22:08
kann ich die configs anpassen???

Gibts alternative Epfehlungen?

Mir werden mind. 128 MB ram zugeteilt - das ist wohl zu wenig oder? wiviel braucht ein Vbulletin denn ?

Christian
14.01.2008, 22:42
Aber mal ehrlich, das Vbulletin ist eins der sparsamsten Scripte in Sachen Forensoftware. Wie kommst du den darauf? vBulletin braucht mehr Speicher, wie das aktuelle wBB3.

vBulletin ist schon sehr Performant programmiert, aber all die vielen Funktionen und Einstellungsmöglichkeiten fordern ihren Tribut und das ist der aktuelle Speicherbedarf.

Ein kleiner Benchmark:

CODE:
----------
Der Inhalt dieses Abschnitts ist nur für Lizenznehmer sichtbar, Sie werden derzeit jedoch nicht als Lizenzinhaber erkannt.<br />
<br />
Bitte öffnen Sie den <a href="http://members.vbulletin-germany.com/membersupport_priority.php">Kundenbereich</a>, tragen Sie Ihre E-Mail-Adresse ein, mit der Sie sich hier registriert haben und aktivieren Sie die Lizenzüberprüfung für http://www.vbulletin-germany.org.
----------Wobei mich wundert warum phpBB3 soviel benotigt, da es im Gegensatz zu den anderen Vergleichsmäßig wenig Möglichkeiten hat, kann das mal jemand gegentesten?

BlackBaron106
15.01.2008, 06:58
wow 3MB Ram ? kapier ich das bloss nicht oder is das nicht viel?

Hoffi
15.01.2008, 08:35
Die 3MB müsste der Bedarf an Apache je Verbindung sein.

Der Bedarf von mySQL hängt von vielen weiteren Faktoren ab wie Anzahl der Foren usw.

128MB ist ein Witz!

Für Dein Forum würde ich auf 512MB setzen um noch ein wenig Reserve zu haben, du willst ja nicht ständig updaten.

Optimierung: http://www.vbulletin-germany.org/showthread.php?t=1153

Oder von Hoster anpassen lassen. Bei den meisten Hostern ist die Einstellung Installations-Default. Die taugt nicht die Bohne.

ragtek
15.01.2008, 08:48
Das von Hoffi genannte Skript ist echt gut!
Aber ja, ein v-Server ist kein Power-Wunderwerk. Durfte ich an eigenem Leibe/Forum spüren, als ich für 1,2 Wochen bei Webperoni war.
Es steckt absolut keine Power dahinter.
Das ist auch das, wo die meißten drauf reinfallen :/, man glaubt das es ein "billiger" Serverersatz ist(=>besser als Webhost), dabei kommt es meißt aufs gleiche, nur das man Rootrechte hat, was aber auch ein riesen Schuss nach hinten sein kann, wenn man keine Ahnung von der Materie hat und sich auch nicht im Geringsten damit auseinand setzen will(so wie ich zB)

Vossi
15.01.2008, 10:33
Könnte es vielleicht an der Größe Deiner DB liegen? Wie groß ist die und welche Größe belegen die Anhänge davon?

BlackBaron106
15.01.2008, 18:22
Anhänge wurden garnicht erst übernommen, allerdings aht die DB trotzdem aufgrund der vielen themen runde 30 MB.

Naja sofern Strato das Teil nicht so anpasst, dass ich glücklich werde, nehm ich mir nen dedicated.

Hat jemand Erfahrungen mit server4you ? Der Eco dort gefällt mir :)

Vor allem soll bald ein zweites Projekt anlaufen wovon ich mir ähnlich viele User verspreche, wenn nicht sogar mehr.

Christian
15.01.2008, 18:47
wow 3MB Ram ? kapier ich das bloss nicht oder is das nicht viel?Das bezog sich auf deine Aussage, das vB eins der sparsamsten Scripte in Sachen Forensoftware ist und dass ist es nunmal nicht.

BlackBaron106
15.01.2008, 18:48
-- MYSQL PERFORMANCE TUNING PRIMER --
- By: Matthew Montgomery -

MySQL Version 5.0.18 i686

/usr/bin/tuning-primer.sh: line 388: bc: command not found
/usr/bin/tuning-primer.sh: line 389: bc: command not found
/usr/bin/tuning-primer.sh: line 390: bc: command not found
/usr/bin/tuning-primer.sh: line 391: bc: command not found
/usr/bin/tuning-primer.sh: line 392: bc: command not found
/usr/bin/tuning-primer.sh: line 393: bc: command not found
Uptime = days hrs min sec
Avg. qps = 5
Total Questions = 457299
Threads Connected = 1

Warning: Server has not been running for at least 48hrs.
It may not be safe to use these recommendations

To find out more information on how each of these
runtime variables effects performance visit:
http://dev.mysql.com/doc/refman/5.0/en/server-system-variables.html
Visit http://www.mysql.com/products/enterprise/advisors.html
for info about MySQL's Enterprise Monitoring and Advisory Service

SLOW QUERIES
Current long_query_time = 10 sec.
You have 0 out of 457311 that take longer than 10 sec. to complete
The slow query log is NOT enabled.
Your long_query_time may be too high, I typically set this under 5 sec.

WORKER THREADS
Current thread_cache_size = 0
Current threads_cached = 0
Current threads_per_sec = 1
Historic threads_per_sec = 0
Your thread_cache_size is fine

MAX CONNECTIONS
Current max_connections = 100
Current threads_connected = 1
Historic max_used_connections = 8
The number of used connections is 8% of the configured maximum.
You are using less than 10% of your configured max_connections.
Lowering max_connections could help to avoid an over-allocation of memory
See "MEMORY USAGE" section to make sure you are not over-allocating

MEMORY USAGE
/usr/bin/tuning-primer.sh: line 1164: bc: command not found
/usr/bin/tuning-primer.sh: line 1165: bc: command not found
/usr/bin/tuning-primer.sh: line 1189: bc: command not found
/usr/bin/tuning-primer.sh: line 1192: bc: command not found
/usr/bin/tuning-primer.sh: line 1193: bc: command not found
/usr/bin/tuning-primer.sh: line 1195: bc: command not found
/usr/bin/tuning-primer.sh: line 1197: [: -gt: unary operator expected
/usr/bin/tuning-primer.sh: line 350: [: max_memoryHR: integer expression expecte d
/usr/bin/tuning-primer.sh: line 356: [: max_memoryHR: integer expression expecte d
/usr/bin/tuning-primer.sh: line 362: [: max_memoryHR: integer expression expecte d
/usr/bin/tuning-primer.sh: line 369: export: `0=max_memoryHR': not a valid ident ifier
Max Memory Ever Allocated : bytes
/usr/bin/tuning-primer.sh: line 350: [: per_thread_buffersHR: integer expression expected
/usr/bin/tuning-primer.sh: line 356: [: per_thread_buffersHR: integer expression expected
/usr/bin/tuning-primer.sh: line 362: [: per_thread_buffersHR: integer expression expected
/usr/bin/tuning-primer.sh: line 369: export: `0=per_thread_buffersHR': not a val id identifier
Configured Max Per-thread Buffers : bytes
/usr/bin/tuning-primer.sh: line 350: [: global_buffersHR: integer expression exp ected
/usr/bin/tuning-primer.sh: line 356: [: global_buffersHR: integer expression exp ected
/usr/bin/tuning-primer.sh: line 362: [: global_buffersHR: integer expression exp ected
/usr/bin/tuning-primer.sh: line 369: export: `0=global_buffersHR': not a valid i dentifier
Configured Max Global Buffers : bytes
/usr/bin/tuning-primer.sh: line 350: [: total_memoryHR: integer expression expec ted
/usr/bin/tuning-primer.sh: line 356: [: total_memoryHR: integer expression expec ted
/usr/bin/tuning-primer.sh: line 362: [: total_memoryHR: integer expression expec ted
/usr/bin/tuning-primer.sh: line 369: export: `0=total_memoryHR': not a valid ide ntifier
Configured Max Memory Limit : bytes
/usr/bin/tuning-primer.sh: line 331: bc: command not found
Physical Memory : G
Max memory limit seem to be within acceptable norms

KEY BUFFER
/usr/bin/tuning-primer.sh: line 331: bc: command not found
/usr/bin/tuning-primer.sh: line 612: bc: command not found
/usr/bin/tuning-primer.sh: line 613: bc: command not found
/usr/bin/tuning-primer.sh: line 331: bc: command not found
Current MyISAM index space = M
/usr/bin/tuning-primer.sh: line 331: bc: command not found
Current key_buffer_size = M
Key cache miss rate is 1 : 88
Key buffer fill ratio = %
/usr/bin/tuning-primer.sh: line 646: [: -ge: unary operator expected
/usr/bin/tuning-primer.sh: line 650: [: -ge: unary operator expected
/usr/bin/tuning-primer.sh: line 654: [: -le: unary operator expected
Your key_buffer_size seems to be fine

QUERY CACHE
Query cache is supported but not enabled
Perhaps you should set the query_cache_size

SORT OPERATIONS
/usr/bin/tuning-primer.sh: line 331: bc: command not found
Current sort_buffer_size = K
/usr/bin/tuning-primer.sh: line 331: bc: command not found
Current record/read_rnd_buffer_size = K
Sort buffer seems to be fine

JOINS
/usr/bin/tuning-primer.sh: line 331: bc: command not found
Current join_buffer_size = K
You have had 6308 queries where a join could not use an index properly
You should enable "log-queries-not-using-indexes"
Then look for non indexed joins in the slow query log.
If you are unable to optimize your queries you may want to increase your
join_buffer_size to accommodate larger joins in one pass.

Note! This script will still suggest raising the join_buffer_size when
ANY joins not using indexes are found.

OPEN FILES LIMIT
Current open_files_limit = 1024 files
The open_files_limit should typically be set to at least 2x-3x
that of table_cache if you have heavy MyISAM usage.
Your open_files_limit value seems to be fine

TABLE CACHE
Current table_cache value = 64 tables
You have a total of 912 tables
You have 64 open tables.
Current table_cache hit rate is 0%, while 100% of your table cache is in use
You should probably increase your table_cache

TEMP TABLES
/usr/bin/tuning-primer.sh: line 331: bc: command not found
Current max_heap_table_size = M
/usr/bin/tuning-primer.sh: line 331: bc: command not found
Current tmp_table_size = M
Of 14065 temp tables, 38% were created on disk
Effective in-memory tmp_table_size is limited to max_heap_table_size.
Perhaps you should increase your tmp_table_size and/or max_heap_table_size
to reduce the number of disk-based temporary tables
Note! BLOB and TEXT columns are not allow in memory tables.
If you are using these columns raising these values might not impact your
ratio of on disk temp tables.

TABLE SCANS
/usr/bin/tuning-primer.sh: line 331: bc: command not found
Current read_buffer_size = K
Current table scan ratio = 40 : 1
read_buffer_size seems to be fine

TABLE LOCKING
Current Lock Wait ratio = 1 : 2903
You may benefit from selective use of InnoDB.
If you have long running SELECT's against MyISAM tables and perform
frequent updates consider setting 'low_priority_updates=1'
If you have a high concurrency of inserts on Dynamic row-length tables
consider setting 'concurrent_insert=2'.

Das hat mir eben der tuning-primer erzählt... leider spricht er nicht ganz meine sprache.

Hoffi
16.01.2008, 11:22
Einen Dedicated musst du aber auch selber anpassen. Evtl. wäre ein Managed besser für Dich?

Die Meldung besagt, das das Kommando bc nicht auf Ddeinem System verfügbar ist. ragtek hatte das auch, vielleicht kanne er was dazu sagen.

BlackBaron106
16.01.2008, 21:31
Ok, hab das mit bc hinbekommen...

Was sagt ihr zu den neuen Werten?



-- MYSQL PERFORMANCE TUNING PRIMER --
- By: Matthew Montgomery -

MySQL Version 5.0.18 i686

Uptime = 1 days 21 hrs 37 min 48 sec
Avg. qps = 5
Total Questions = 850360
Threads Connected = 1

Warning: Server has not been running for at least 48hrs.
It may not be safe to use these recommendations

To find out more information on how each of these
runtime variables effects performance visit:
MySQL AB :: MySQL 5.0 Reference Manual :: 5.1.3 System Variables (http://dev.mysql.com/doc/refman/5.0/en/server-system-variables.html)
Visit MySQL AB :: MySQL Enterprise Advisors (http://www.mysql.com/products/enterprise/advisors.html)
for info about MySQL's Enterprise Monitoring and Advisory Service

SLOW QUERIES
Current long_query_time = 10 sec.
You have 0 out of 850372 that take longer than 10 sec. to complete
The slow query log is NOT enabled.
Your long_query_time may be too high, I typically set this under 5 sec.

WORKER THREADS
Current thread_cache_size = 0
Current threads_cached = 0
Current threads_per_sec = 2
Historic threads_per_sec = 0
Threads created per/sec are overrunning threads cached
You should raise thread_cache_size

MAX CONNECTIONS
Current max_connections = 100
Current threads_connected = 1
Historic max_used_connections = 9
The number of used connections is 9% of the configured maximum.
You are using less than 10% of your configured max_connections.
Lowering max_connections could help to avoid an over-allocation of memory
See "MEMORY USAGE" section to make sure you are not over-allocating

MEMORY USAGE
Max Memory Ever Allocated : 32 M
Configured Max Per-thread Buffers : 155 M
Configured Max Global Buffers : 18 M
Configured Max Memory Limit : 174 M
Physical Memory : 1.47 G
Max memory limit seem to be within acceptable norms

KEY BUFFER
Current MyISAM index space = 140 M
Current key_buffer_size = 16 M
Key cache miss rate is 1 : 109
Key buffer fill ratio = 11.00 %
Your key_buffer_size seems to be too high.
Perhaps you can use these resources elsewhere

QUERY CACHE
Query cache is supported but not enabled
Perhaps you should set the query_cache_size

SORT OPERATIONS
Current sort_buffer_size = 512 K
Current record/read_rnd_buffer_size = 508 K
Sort buffer seems to be fine

JOINS
Current join_buffer_size = 132.00 K
You have had 8394 queries where a join could not use an index properly
You should enable "log-queries-not-using-indexes"
Then look for non indexed joins in the slow query log.
If you are unable to optimize your queries you may want to increase your
join_buffer_size to accommodate larger joins in one pass.

Note! This script will still suggest raising the join_buffer_size when
ANY joins not using indexes are found.

OPEN FILES LIMIT
Current open_files_limit = 1024 files
The open_files_limit should typically be set to at least 2x-3x
that of table_cache if you have heavy MyISAM usage.
Your open_files_limit value seems to be fine

TABLE CACHE
Current table_cache value = 64 tables
You have a total of 912 tables
You have 64 open tables.
Current table_cache hit rate is 0%, while 100% of your table cache is in use
You should probably increase your table_cache

TEMP TABLES
Current max_heap_table_size = 16 M
Current tmp_table_size = 32 M
Of 28570 temp tables, 38% were created on disk
Effective in-memory tmp_table_size is limited to max_heap_table_size.
Perhaps you should increase your tmp_table_size and/or max_heap_table_size
to reduce the number of disk-based temporary tables
Note! BLOB and TEXT columns are not allow in memory tables.
If you are using these columns raising these values might not impact your
ratio of on disk temp tables.

TABLE SCANS
Current read_buffer_size = 252 K
Current table scan ratio = 34 : 1
read_buffer_size seems to be fine

TABLE LOCKING
Current Lock Wait ratio = 1 : 2643
You may benefit from selective use of InnoDB.
If you have long running SELECT's against MyISAM tables and perform
frequent updates consider setting 'low_priority_updates=1'
If you have a high concurrency of inserts on Dynamic row-length tables
consider setting 'concurrent_insert=2'.

BlackBaron106
16.01.2008, 23:45
Apache error log



[Wed Jan 02 16:57:15 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Wed Jan 02 16:57:16 2008] [notice] Apache/2.2.0 (Linux/SUSE) configured -- resuming normal operations
[Wed Jan 02 16:57:19 2008] [notice] Graceful restart requested, doing restart
[Wed Jan 02 16:57:19 2008] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Wed Jan 02 16:57:20 2008] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Wed Jan 02 16:57:20 2008] [notice] Apache/2.2.0 (Linux/SUSE) configured -- resuming normal operations
[Wed Jan 02 17:00:04 2008] [notice] Graceful restart requested, doing restart
[Wed Jan 02 17:00:04 2008] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Wed Jan 02 17:00:06 2008] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Wed Jan 02 17:00:06 2008] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Wed Jan 02 17:00:06 2008] [warn] Init: SSL server IP/port conflict: default-85-214-110-54:443 (/etc/apache2/conf.d/zz010_psa_httpd.conf:76) vs. webmail:443 (/etc/apache2/conf.d/zz010_psa_httpd.conf:131)
[Wed Jan 02 17:00:06 2008] [warn] Init: You should not use name-based virtual hosts in conjunction with SSL!!
[Wed Jan 02 17:00:06 2008] [notice] Apache/2.2.0 (Linux/SUSE) configured -- resuming normal operations
[Wed Jan 02 17:00:20 2008] [notice] Graceful restart requested, doing restart
[Wed Jan 02 17:00:20 2008] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Wed Jan 02 17:00:21 2008] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Wed Jan 02 17:00:21 2008] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Wed Jan 02 17:00:21 2008] [warn] Init: SSL server IP/port conflict: default-85-214-110-54:443 (/etc/apache2/conf.d/zz010_psa_httpd.conf:76) vs. webmail:443 (/etc/apache2/conf.d/zz010_psa_httpd.conf:131)
[Wed Jan 02 17:00:21 2008] [warn] Init: You should not use name-based virtual hosts in conjunction with SSL!!
[Wed Jan 02 17:00:22 2008] [notice] Apache/2.2.0 (Linux/SUSE) configured -- resuming normal operations
[Wed Jan 02 17:00:22 2008] [notice] child pid 13572 exit signal Segmentation fault (11)
[Wed Jan 02 17:00:23 2008] [notice] child pid 13647 exit signal Segmentation fault (11)
[Wed Jan 02 17:00:24 2008] [notice] child pid 13676 exit signal Segmentation fault (11)
[Wed Jan 02 17:00:25 2008] [notice] child pid 13693 exit signal Segmentation fault (11)
[Wed Jan 02 17:00:27 2008] [notice] child pid 13708 exit signal Segmentation fault (11)
[Wed Jan 02 17:00:28 2008] [notice] child pid 13774 exit signal Segmentation fault (11)
[Wed Jan 02 17:00:30 2008] [notice] child pid 13884 exit signal Segmentation fault (11)
[Wed Jan 02 17:00:31 2008] [notice] child pid 13911 exit signal Segmentation fault (11)
[Wed Jan 02 17:00:33 2008] [notice] child pid 13912 exit signal Segmentation fault (11)
[Wed Jan 02 17:00:35 2008] [notice] child pid 13913 exit signal Segmentation fault (11)
[Wed Jan 02 17:00:36 2008] [notice] child pid 13914 exit signal Segmentation fault (11)
[Wed Jan 02 17:00:38 2008] [notice] child pid 13915 exit signal Segmentation fault (11)
[Wed Jan 02 17:00:40 2008] [notice] child pid 13916 exit signal Segmentation fault (11)
[Wed Jan 02 17:00:41 2008] [notice] child pid 13917 exit signal Segmentation fault (11)