منتدى استراحات زايد

منتدى استراحات زايد (http://vb.ma7room.com/index.php)
-   منتدى أخبار المواقع والمنتديات العربية والأجنبية (http://vb.ma7room.com/forumdisplay.php?f=183)
-   -   Server Optimization Request plz (http://vb.ma7room.com/showthread.php?t=67789)

محروم.كوم 04-09-2009 05:16 AM

Server Optimization Request plz
 
<div>
Some time the site is not working
I see a normal consumption of the server
http://img17.imageshack.us/img17/2203/75380065.jpg


1.
Dedicated server
2.
Code:
Intel Core2Quad Q9300 - 2.5GHz - Yorkfield


4 Gb Ram
CentOS 5.2 - 32 Bit
Apache version2.2.11 (Unix)
PHP version5.2.9
MySQL version5.0.67-community
3. vBulletin 3.6.8
4- not sure
5- I don't know

6.

Code:
top - 19:56:45 up 18 days, 5:24, 1 user, load average: 2.02, 2.40, 2.78
Tasks: 381 total, 7 running, 372 sleeping, 1 stopped, 1 zombie
Cpu(s): 31.1%us, 10.2%sy, 0.0%ni, 58.3%id, 0.0%wa, 0.1%hi, 0.3%si, 0.0%st
Mem: 4137812k total, 3814968k used, 322844k free, 180668k buffers
Swap: 2031608k total, 80k used, 2031528k free, 1374980k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
16094 mysql 5 -10 284m 187m 3428 S 88.6 4.6 626:49.14 mysqld
25976 nobody 16 0 35720 17m 4916 S 13.3 0.4 0:07.61 httpd
26089 nobody 15 0 35676 18m 4912 S 7.0 0.5 0:07.65 httpd
26498 nobody 15 0 37208 19m 4576 S 6.6 0.5 0:02.07 httpd
25693 nobody 16 0 36100 18m 4920 S 6.3 0.5 0:13.94 httpd
26226 nobody 15 0 36900 19m 4916 S 6.0 0.5 0:04.84 httpd
26439 nobody 15 0 33584 16m 5120 S 5.0 0.4 0:04.61 httpd
24823 nobody 15 0 34748 17m 5120 S 3.6 0.4 0:15.27 httpd
25937 nobody 16 0 35856 18m 5124 S 3.0 0.5 0:06.70 httpd
26678 nobody 15 0 34648 17m 4912 S 3.0 0.4 0:04.29 httpd
26868 nobody 16 0 35296 17m 4576 R 3.0 0.4 0:01.91 httpd
23212 nobody 16 0 36176 18m 4912 S 2.3 0.5 0:11.74 httpd
24760 nobody 16 0 35068 17m 4980 S 2.3 0.4 0:07.24 httpd
26219 nobody 15 0 35340 18m 4912 S 2.3 0.4 0:02.51 httpd
26303 nobody 15 0 34876 17m 5112 S 2.3 0.4 0:04.15 httpd
26355 nobody 16 0 36172 19m 5132 S 2.3 0.5 0:02.51 httpd
26356 nobody 15 0 36160 18m 4588 S 2.3 0.5 0:04.45 httpd
7.

Code:
[mysqld]
old_passwords
back_log = 75
skip-innodb
max_connections = 300
key_buffer = 100M
myisam_sort_buffer_size = 64M
join_buffer_size = 1M
read_buffer_size = 1M
table_cache = 2000
thread_cache_size = 64
wait_timeout = 1800
connect_timeout = 30
tmp_table_size = 64M
max_heap_table_size = 64M
max_allowed_packet = 128M
thread_concurrency = 8
max_connect_errors = 10
query_cache_limit = 32M
query_cache_size = 64M
long_query_time=2
query_cache_type = 1
default-storage-engine = MyISAM
[mysqld_safe]
nice = -10
open_files_limit = 8192

[mysqldump]
quick
max_allowed_packet = 2000M


[mysqlhotcopy]
interactive-timeout
safe-show-database
set-variable=local-infile=0
8.


<div style="margin:20px; margin-top:5px"> Code:
+---------------------------------+-----------------------------------+
| Variable_name | Value |
+---------------------------------+-----------------------------------+
| auto_increment_increment | 1 |
| auto_increment_offset | 1 |
| automatic_sp_privileges | ON |
| back_log | 75 |
| basedir | / |
| binlog_cache_size | 32768 |
| bulk_insert_buffer_size | 8388608 |
| character_set_client | latin1 |
| character_set_connection | latin1 |
| character_set_database | latin1 |
| character_set_filesystem | binary |
| character_set_results | latin1 |
| character_set_server | latin1 |
| character_set_system | utf8 |
| character_sets_dir | /usr/share/mysql/charsets/ |
| collation_connection | latin1_swedish_ci |
| collation_database | latin1_swedish_ci |
| collation_server | latin1_swedish_ci |
| completion_type | 0 |
| concurrent_insert | 1 |
| connect_timeout | 30 |
| datadir | /var/lib/mysql/ |
| date_format | %Y-%m-%d |
| datetime_format | %Y-%m-%d %H:%i:%s |
| default_week_format | 0 |
| delay_key_write | ON |
| delayed_insert_limit | 100 |
| delayed_insert_timeout | 300 |
| delayed_queue_size | 1000 |
| div_precision_increment | 4 |
| keep_files_on_create | OFF |
| engine_condition_pushdown | OFF |
| expire_logs_days | 0 |
| flush | OFF |
| flush_time | 0 |
| ft_boolean_syntax | + ->


الساعة الآن 10:28 AM

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.5.2 TranZ By Almuhajir


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227