÷ÏÚÎÉËÌÁ ÔÁËÁÑ ÓÉÔÕÁÃÉÑ. åÓÔØ ÓÅÒ×ÅÒ. îÁ Î£Í ËÒÕÔÉÔÓÑ Apache2 É MySQL.
ðÏÓÔÏÑÎÎÏ ÒÁÓÔ£Ô ËÏÌÉÞÅÓÔ×Ï ÜËÚÅÍÐÌÑÒÏ× mysql.
ps ax | grep httpd | wc -l
60
ps ax | grep mysql | wc -l
267
þÅÒÅÚ ÎÅËÏÔÏÒÏÅ ×ÒÅÍÑ
ps ax | grep httpd | wc -l
61
ps ax | grep mysql | wc -l
307
þÅÒÅÚ ÎÅËÏÔÏÒÏÅ ×ÒÅÍÑ
ps ax | grep httpd | wc -l
61
ps ax | grep mysql | wc -l
308
þÅÒÅÚ ÎÅËÏÔÏÒÏÅ ×ÒÅÍÑ
ps ax | grep httpd | wc -l
60
ps ax | grep mysql | wc -l
308
þÅÒÅÚ ÎÅËÏÔÏÒÏÅ ×ÒÅÍÑ
ps ax | grep httpd | wc -l
61
ps ax | grep mysql | wc -l
314
åÓÌÉ ÚÁÖÁÔØ ËÏÌÉÞÅÓÔ×Ï ËÏÎÎÅËÔÏ× ÓËÁÖÅÍ ÎÁ 200-Á, ÔÏ ×ÏÚÎÉËÁÅÔ ÏÛÉÂËÁ - ÂÁÚÁ ÄÁÎÎÙÈ ÎÅÄÏÓÔÕÐÎÁ, ÈÏÔÑ ËÏÌÉÞÅÓÔ×Ï ÓÏÅÄÉÎÅÎÉÊ ÎÁ httpd ÓÔÏÉÔ - 200.
ëÁË ÜÔÏ ÉÓÐÒÁ×ÉÔØ ÉÌÉ ËÕÄÁ ÓÍÏÔÒÅÔØ?
cat /etc/my.cnf
[mysqld]
set-variable = max_connections=500
set-variable = back_log=120
skip-locking
set-variable = key_buffer=64M
set-variable = max_allowed_packet=10M
set-variable = table_cache=256
set-variable = sort_buffer=40M
set-variable = record_buffer=20M
set-variable = myisam_sort_buffer_size=64M
set-variable = thread_cache=8
set-variable = thread_concurrency=2
log-bin
server-id = 1
tmpdir = /tmp/
[mysqldump]
quick
set-variable = max_allowed_packet=16M
[isamchk]
set-variable = key_buffer=128M
set-variable = sort_buffer=128M
set-variable = read_buffer=2M
set-variable = write_buffer=2M