私は16GBのRAM(CPU:4 * 2Ghz)を備えたDebianVPSを持っています。
約2,000リクエスト/秒になると、パフォーマンスの問題が発生します。
CPUは次の場所にあります。
41% user, 8% kernel, 2% IO, 49% idle
とラム:
15.71 GB total, 4.97 GB used
私はサーバーに関しては完全な初心者なので、あまりいじりたくありません。max_connectionsを1,000から2,000に上げ、key_bufferを512から1024Mに上げると、パフォーマンスが向上することに気付きました。
誰かが以下の値を見て、私ができる微調整があるかどうか私に知らせてくれるなら、それは素晴らしいことです。前もって感謝します:
# * Fine Tuning
#
key_buffer = 1024M
max_allowed_packet = 512M
thread_stack = 192K
thread_cache_size = 8
# This replaces the startup script and checks MyISAM tables if needed
# the first time they are touched
myisam-recover = BACKUP
max_connections = 2000
#table_cache = 64
#thread_concurrency = 10
#
# * Query Cache Configuration
#
query_cache_limit = 32M
query_cache_size = 128M