почему то не получилось запустить mysqltuner.pl
запустил tuning-primer.sh
Вот что он мне выдал
SLOW QUERIES The slow query log is NOT enabled. Current long_query_time = 10 sec. You have 90 out of 4945684 that take longer than 10 sec. to complete Your long_query_time may be too high, I typically set this under 5 sec. BINARY UPDATE LOG The binary update log is NOT enabled. You will not be able to do point in time recovery See http://dev.mysql.com/doc/refman/5.0/en/point-in-time-recovery.html WORKER THREADS Current thread_cache_size = 0 Current threads_cached = 0 Current threads_per_sec = 3 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 = 3 Historic max_used_connections = 58 The number of used connections is 58% of the configured maximum. Your max_connections variable seems to be fine. MEMORY USAGE (standard_in) 2: syntax error [: -gt: unexpected operator Max Memory Ever Allocated : 4.33 G Configured Max Per-thread Buffers : 7.27 G Configured Max Global Buffers : 122 M Configured Max Memory Limit : 7.39 G [: physical_memoryHR: bad number [: physical_memoryHR: bad number [: physical_memoryHR: bad number export: =physical_memoryHR: bad variable name
Только вот не могу разобраться что к чему здесь и какие тут рекомендации??
avgaz добавил 13.10.2009 в 10:13
Ну специалисты подскажите плиз
В смысле везде 10 если не трудно приведите пример
в php.ini
этот параметр повышать?
; Maximum time (in secondes) for connect timeout. -1 means no limitmysql.connect_timeout = 60
И насколько?
Вот ещё конфиг nginx.conf
#user nobody;worker_processes 1;#error_log logs/error.log;#error_log logs/error.log notice;#error_log logs/error.log info;#pid logs/nginx.pid;events { worker_connections 1024;}http { include mime.types; default_type application/octet-stream; #log_format main '$remote_addr - $remote_user [$time_local] $request ' # '"$status" $body_bytes_sent "$http_referer" ' # '"$http_user_agent" "$http_x_forwarded_for"'; #access_log logs/access.log main; sendfile on; tcp_nopush on; reset_timedout_connection on; #keepalive_timeout 0; keepalive_timeout 65; client_max_body_size 16m; client_body_buffer_size 16m; proxy_connect_timeout 360; proxy_send_timeout 360; proxy_read_timeout 360; proxy_buffer_size 16m; proxy_buffers 24 22m; proxy_busy_buffers_size 32m; proxy_temp_file_write_size 32m; server_names_hash_max_size 1024; server_names_hash_bucket_size 128; proxy_buffering off;# proxy_buffers 512 8k;# proxy_buffer_size 8k;# proxy_read_timeout 180;# proxy_connect_timeout 300;# proxy_send_timeout 600; proxy_ignore_client_abort off; proxy_intercept_errors off; #gzip on; # another virtual host using mix of IP-, name-, and port-based configuration # #server { # listen 8000; # listen somename:8080; # server_name somename alias another.alias; # location / { # root html; # index index.html index.htm; # } #} # HTTPS server # #server { # listen 443; # server_name localhost; # ssl on; # ssl_certificate cert.pem; # ssl_certificate_key cert.key; # ssl_session_timeout 5m; # ssl_protocols SSLv2 SSLv3 TLSv1; # ssl_ciphers ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP; # ssl_prefer_server_ciphers on; # location / { # root html; # index index.html index.htm; # } #}
А таймаут у fastcgi где повышать?? и у меня php стоит как CGI а не как fastcgi в этом есть разница для таймаута?
Да и в
такие параметры
ServerRoot "/usr/local"MaxClients 150Timeout 60KeepAlive OffMaxKeepAliveRequests 100KeepAliveTimeout 8StartServers 10MinSpareServers 10MaxSpareServers 15MaxRequestsPerChild 0
и
<IfModule mod_fcgid.c> AddHandler fcgid-script .fcgi</IfModule>IPCConnectTimeout 160IPCCommTimeout 160<IfModule !mpm_winnt_module><IfModule !mpm_netware_module>
Возник вопрос если я оплатил хостнг скажем на полгода попользовался пару месяцев и меня что то не устроили оставшиеся средства вернут?
И другой вопрос как можно протестировать хостинг без оплаты? где то было написано что дается месяц теста или он дается после оплаты?
Интересует вот что как будет держать нагрузку скажем тариф Стандартный
Потянетли этот тариф пару сайтов посещаемость
1. сайт 1500-2000уников онлайн постоянно 100-200
2. Сайт 100-300 уников
На обоих сайтах стоит IPB 2.3 у первого база 300мб второй 50мб
Как будет держать этот тариф? не будет ли что потребуется переходить выше?