16
Kloxo-MR Technical Helps / Re: Tweaks with config.
« on: 2013-02-22, 01:34:37 »
the number of apache processes are starting, i even had 30 visits per second it started 60-80
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
<IfModule worker.c>
StartServers 20
MaxClients 1500
MinSpareThreads 10
MaxSpareThreads 20
ThreadsPerChild 250
MaxRequestsPerChild 4000
ThreadStackSize 81960
MaxMemFree 200
SendBufferSize 655360
ReceiveBufferSize 655360
</IfModule>
my.cnf
[mysqld]
skip-innodb
skip-bdb
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1
#log-bin
log-slow-queries=/var/lib/mysql/slow.log
log=/var/log/mysqlupdate.log
log-error=/var/log/mysqlupdate.log
max_connections = 2000
key_buffer = 512M
myisam_sort_buffer_size = 128M
join_buffer_size = 2M
read_buffer_size = 2M
sort_buffer_size = 4M
table_cache = 5000
thread_cache_size = 268
interactive_timeout = 25
wait_timeout = 7000
connect_timeout = 10
max_allowed_packet = 32M
max_connect_errors = 10
query_cache_limit = 4M
query_cache_size = 32M
query_cache_type = 1
tmp_table_size = 32M
..::
Monetize Your Website with ylliXmedia ::..
..:: Online Advertising that Sale Anything with ylliXmedia ::.. |
Page created in 0.03 seconds with 17 queries.