top - 13:26:29 up 14:55, 1 user, load average: 24.98, 23.40, 18.71
Tasks: 272 total, 13 running, 259 sleeping, 0 stopped, 0 zombie
Cpu(s): 86.9% us, 2.8% sy, 0.0% ni, 10.2% id, 0.0% wa, 0.0% hi, 0.0% si
Mem: 2066400k total, 1878512k used, 187888k free, 39464k buffers
Swap: 2040244k total, 208k used, 2040036k free, 604368k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
31557 nobody 15 0 28276 16m 2792 S 13 0.8 0:06.50 httpd
31877 nobody 16 0 27868 16m 2448 R 11 0.8 0:01.57 httpd
31558 nobody 16 0 28468 17m 2788 R 11 0.8 0:08.16 httpd
31896 nobody 16 0 26840 15m 2416 S 10 0.7 0:00.80 httpd
31539 nobody 16 0 28348 16m 2800 R 10 0.8 0:04.99 httpd
31838 nobody 15 0 27700 16m 2780 S 10 0.8 0:02.91 httpd
31126 mysql 15 0 747m 91m 3552 S 9 4.5 1:47.27 mysqld
31599 nobody 16 0 28124 16m 2804 S 9 0.8 0:05.38 httpd
31569 nobody 16 0 28400 17m 2792 S 7 0.8 0:04.23 httpd
31637 nobody 16 0 29232 17m 2796 S 7 0.9 0:07.30 httpd
31571 nobody 16 0 28036 16m 2796 S 6 0.8 0:05.28 httpd
31583 nobody 15 0 28884 17m 2792 S 5 0.9 0:07.17 httpd
31750 nobody 16 0 28256 16m 2448 R 5 0.8 0:03.43 httpd
31824 nobody 15 0 21608 11m 1792 S 5 0.6 0:04.38 httpd
31610 nobody 16 0 28136 16m 2796 S 5 0.8 0:06.67 httpd
31892 nobody 16 0 27892 16m 2780 R 5 0.8 0:01.42 httpd
31893 nobody 15 0 27636 15m 2444 S 5 0.8 0:00.35 httpd
31897 nobody 15 0 27436 15m 2444 S 4 0.8 0:00.22 httpd
31846 nobody 17 0 21640 11m 2248 R 4 0.6 0:02.05 httpd
31858 nobody 15 0 21640 11m 2264 R 4 0.6 0:00.62 httpd
31879 nobody 15 0 27636 16m 2776 S 4 0.8 0:00.39 httpd
31541 nobody 15 0 29408 18m 2800 S 3 0.9 0:05.71 httpd
31564 nobody 17 0 29012 17m 2452 R 2 0.9 0:06.32 httpd
sunucu c2duo 6700 ve sadece yaklaşık 15k tekilli smf forum sitesi var. daha öncede aynı problemden 1 gb olan ramini 2 gb a çıkarttım. bunun optimizasyonunu yapabilirmiyiz teşekkürler iyinet.
KeepAlive On
MaxKeepAliveRequests 200
KeepAliveTimeout 15
MinSpareServers 8
MaxSpareServers 16
StartServers 5
MaxClients 250
MaxRequestsPerChild 1000
Port 80
Group nobody
ServerAdmin
[email protected]
DocumentRoot "/usr/local/apache/htdocs"
AccessFileName .htaccess
UseCanonicalName Off
DefaultType text/plain
HostnameLookups Off
ErrorLog /usr/local/apache/logs/error_log
LogLevel warn
my.cnf
[mysqld]
safe-show-database
max_connections = 500
key_buffer = 16M
myisam_sort_buffer_size = 64M
join_buffer_size = 1M
read_buffer_size = 1M
sort_buffer_size = 2M
table_cache = 1800
thread_cache_size = 384
wait_timeout = 180
connect_timeout = 10
tmp_table_size = 64M
max_allowed_packet = 64M
max_connect_errors = 10
query_cache_limit = 1M
query_cache_size = 128M
query_cache_type = 1
query_prealloc_size = 16384
query_alloc_block_size = 16384
[mysqld_safe]
open_files_limit = 8192
[mysqldump]
quick
max_allowed_packet = 16M
[myisamchk]
key_buffer = 64M
sort_buffer = 64M
read_buffer = 16M
[mysqld_safe]
open_files_limit = 8192
[mysqldump]
quick
max_allowed_packet = 16M
[myisamchk]
key_buffer = 64M
sort_buffer = 64M
read_buffer = 16M
write_buffer = 16M