السلام عليكم

اخواني ما هي افضل اعدادات لسرفر بهذي المواصفات

x2 intel xeon 2.8

ram 1024

fedora cor 4

cpanel

وهذا ناتج الأمر top / اللود يصل احيانا الى 160 وغالبا ثابت على 8


top - 15:59:19 up 1 day, 4:28, 1 user, load average: 2.65, 4.39, 5.68
Tasks: 167 total, 4 running, 163 sleeping, 0 stopped, 0 zombie
Cpu(s): 25.0% us, 19.0% sy, 0.0% ni, 52.0% id, 3.8% wa, 0.0% hi, 0.2% si
Mem: 1031748k total, 984504k used, 47244k free, 126928k buffers
Swap: 1052248k total, 77240k used, 975008k free, 383972k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
878 mysql 15 0 204m 64m 2840 S 99.9 6.4 29:13.78 mysqld
1533 nobody 15 0 18328 10m 2332 S 9.3 1.0 0:09.47 httpd
1522 nobody 15 0 18364 10m 2664 S 9.0 1.1 0:09.71 httpd
1892 nobody 16 0 19708 11m 2312 R 9.0 1.2 0:05.64 httpd
1529 nobody 16 0 18308 10m 2312 S 8.3 1.0 0:09.93 httpd
1538 nobody 15 0 23984 15m 2340 S 7.3 1.6 0:11.24 httpd
2297 nobody 16 0 19000 11m 2292 S 4.6 1.1 0:00.82 httpd
1807 nobody 16 0 23188 15m 2636 S 2.3 1.5 0:10.23 httpd
1524 nobody 15 0 18220 10m 2336 S 0.3 1.0 0:09.20 httpd
1531 nobody 15 0 18300 10m 2336 S 0.3 1.0 0:12.11 httpd
1537 nobody 16 0 18404 10m 2408 S 0.3 1.1 0:11.27 httpd
1889 root 16 0 2140 1068 800 R 0.3 0.1 0:02.93 top
1929 nobody 15 0 21052 13m 2316 S 0.3 1.3 0:09.50 httpd
2243 nobody 15 0 18124 10m 2308 S 0.3 1.0 0:03.12 httpd
2272 nobody 15 0 18344 10m 2308 S 0.3 1.0 0:00.54 httpd
2310 nobody 15 0 14400 6596 2144 S 0.3 0.6 0:00.01 httpd
1 root 16 0 1744 468 440 S 0.0 0.0 0:04.74 init
2 root RT 0 0 0 0 S 0.0 0.0 0:00.14 migration/0
3 root 34 19 0 0 0 S 0.0 0.0 0:00.02 ksoftirqd/0
4 root RT 0 0 0 0 S 0.0 0.0 0:12.80 migration/1
5 root 34 19 0 0 0 S 0.0 0.0 0:00.03 ksoftirqd/1
6 root RT 0 0 0 0 S 0.0 0.0 0:00.07 migration/2
7 root 34 19 0 0 0 S 0.0 0.0 0:00.01 ksoftirqd/2
8 root RT 0 0 0 0 S 0.0 0.0 0:00.10 migration/3
9 root 34 19 0 0 0 S 0.0 0.0 0:00.03 ksoftirqd/3
10 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 events/0



وهذي اعدادات sql



[mysqld]
port = 3306
socket= /var/lib/mysql/mysql.sock
safe-show-database
old_passwords
back_log = 100
skip-innodb
max_connections = 500
key_buffer = 32M
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 = 128M
max_heap_table_size = 128M
max_allowed_packet = 64M
max_connect_errors = 10
read_rnd_buffer_size = 524288
bulk_insert_buffer_size = 8M
query_cache_limit = 4M
query_cache_size = 128M
query_cache_type = 1
query_prealloc_size = 163840
query_alloc_block_size = 32768
default-storage-engine = MyISAM
old-passwords = 1

[mysqld_safe]
open_files_limit = 8192


وهذا الأباتشي


Timeout 200
KeepAlive Off
MaxKeepAliveRequests 100
KeepAliveTimeout 15

MinSpareServers 10
MaxSpareServers 15
StartServers 5
MaxRequestsPerChild 250







والف شكر سلفا