apache tweak
what apache config would you recommend for p4 2.8 GHz / 1 GB RAM (not swaping) to handle 30 requests/second?it was ok with 15 requests/second, but now it's getting instable (sometimes load goes to 3~4 for a few minutes and then go back)
old config:
Code:
RLimitMEM 203787605 RLimitCPU 240 Timeout 30 KeepAlive On MaxKeepAliveRequests 1000 KeepAliveTimeout 3 MinSpareServers 5 MaxSpareServers 10 StartServers 5 MaxClients 250
what about those RLimitXXX?
mysql is being high used too, but i'm using this config:
Code:
[mysqld] max_connections = 500 key_buffer = 16M myisam_sort_buffer_size = 64M join_buffer_size = 1M read_buffer_size = 1M sort_buffer_size = 1M table_cache = 1500 thread_cache_size = 128 wait_timeout = 14400 connect_timeout = 10 max_allowed_packet = 16M max_connect_errors = 10 query_cache_limit = 1M query_cache_size = 32M query_cache_type = 1 skip-innodb