إنضمامك إلي منتديات استراحات زايد يحقق لك معرفة كل ماهو جديد في عالم الانترنت ...

انضم الينا
استراحات زايد الصفحة الرئيسية


إضافة رد
 
LinkBack أدوات الموضوع انواع عرض الموضوع
  #1  
قديم 05-01-2009, 03:00 PM
عضو ماسي
بيانات محروم.كوم
 رقم العضوية : 503
 تاريخ التسجيل : Dec 2007
الجنس : female
علم الدوله :
 المشاركات : 2,100,610
عدد الـنقاط :3341
 تقييم المستوى : 2139

1. Dedicated Server
2. Server Specs.

Core 2 Quad Q6600 2.4GHz 8MB CACHE 1066MHZ
4 GB Ram
SATA2 Harddisk
CENTOS 4.7 i686 standard
Server Version: Apache/2.2.9 (Unix)
mod_ssl/2.2.9
OpenSSL/0.9.7a
mod_auth_passthrough/2.1
mod_bwlimited/1.4
FrontPage/5.0.2.2635
PHP/5.2.6
MySQL 5


3. Powered by vBulletin® Version 3.8.2
4. -
5. -
6. your top stats. So log into your server via ssh telnet as root user and type the command in bold - top
bad time.
Code:
[root@server ~]# top
top - 13:50:56 up 2 days, 20:53, 1 user, load average: 15.01, 5.39, 2.49
Tasks: 225 total, 2 running, 222 sleeping, 0 stopped, 1 zombie
Cpu(s): 13.2% us, 1.8% sy, 0.1% ni, 78.1% id, 4.1% wa, 2.6% hi, 0.0% si
Mem: 4151900k total, 3374856k used, 777044k free, 187848k buffers
Swap: 8385920k total, 16840k used, 8369080k free, 2270900k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
8848 nobody 18 0 144m 25m 11m S 34.3 0.6 0:00.52 httpd
9309 root 17 0 3488 1000 688 R 34.3 0.0 0:00.56 top
8400 nobody 15 0 139m 21m 11m S 18.4 0.5 0:00.62 httpd
8898 nobody 15 0 139m 19m 9964 S 18.4 0.5 0:00.19 httpd
7442 nobody 16 0 143m 29m 15m R 17.2 0.7 0:09.19 httpd
6896 nobody 15 0 139m 23m 13m S 7.4 0.6 0:01.63 httpd
27426 root 15 0 0 0 0 D 7.4 0.0 0:21.20 pdflush
8899 nobody 16 0 138m 14m 5576 S 3.7 0.4 0:00.04 httpd
30799 mysql 15 0 545m 245m 3780 S 3.7 6.1 76:08.83 mysqld
8413 nobody 15 0 139m 19m 9536 S 1.2 0.5 0:00.88 httpd
8801 nobody 15 0 139m 18m 9488 S 1.2 0.5 0:00.66 httpd
8838 nobody 16 0 139m 21m 12m S 1.2 0.5 0:01.10 httpd
1 root 16 0 3388 544 468 S 0.0 0.0 0:06.12 init
2 root RT 0 0 0 0 S 0.0 0.0 0:01.08 migration/0
3 root 34 19 0 0 0 S 0.0 0.0 0:00.89 ksoftirqd/0
4 root RT 0 0 0 0 S 0.0 0.0 0:08.86 migration/1
5 root 34 19 0 0 0 S 0.0 0.0 0:00.06 ksoftirqd/1
6 root RT 0 0 0 0 S 0.0 0.0 0:00.17 migration/2
7 root 34 19 0 0 0 S 0.0 0.0 0:00.04 ksoftirqd/2

8 root RT 0 0 0 0 S 0.0 0.0 0:01.05 migration/3
9 root 34 19 0 0 0 S 0.0 0.0 0:00.09 ksoftirqd/3
10 root 5 -10 0 0 0 S 0.0 0.0 0:00.16 events/0
11 root 5 -10 0 0 0 S 0.0 0.0 0:48.40 events/1
12 root 5 -10 0 0 0 S 0.0 0.0 0:01.88 events/2
13 root 5 -10 0 0 0 S 0.0 0.0 0:18.31 events/3
14 root 6 -10 0 0 0 S 0.0 0.0 0:00.02 khelper
15 root 15 -10 0 0 0 S 0.0 0.0 0:00.00 kacpid
43 root 5 -10 0 0 0 S 0.0 0.0 0:00.20 kblockd/0
44 root 5 -10 0 0 0 S 0.0 0.0 0:02.49 kblockd/1
45 root 5 -10 0 0 0 S 0.0 0.0 0:00.12 kblockd/2
46 root 5 -10 0 0 0 S 0.0 0.0 0:01.03 kblockd/3
47 root 15 0 0 0 0 S 0.0 0.0 0:00.00 khubd
66 root 15 0 0 0 0 S 0.0 0.0 2:17.93 kswapd0
67 root 12 -10 0 0 0 S 0.0 0.0 0:00.00 aio/0
68 root 12 -10 0 0 0 S 0.0 0.0 0:00.00 aio/1
69 root 12 -10 0 0 0 S 0.0 0.0 0:00.00 aio/2
70 root 12 -10 0 0 0 S 0.0 0.0 0:00.00 aio/3
214 root 25 0 0 0 0 S 0.0 0.0 0:00.00 kseriod
[root@server ~]#

good time.
Quote:
top - 2031 up 2 days, 3:31, 2 users, load average: 0.71, 0.89, 0.79
Tasks: 195 total, 1 running, 192 sleeping, 0 stopped, 2 zombie
Cpu(s): 6.8% us, 1.5% sy, 0.0% ni, 91.6% id, 0.0% wa, 0.1% hi, 0.0% si
Mem: 4151900k total, 3596456k used, 555444k free, 164324k buffers
Swap: 8385920k total, 25964k used, 8359956k free, 2161544k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
8288 nobody 15 0 139m 18m 9284 S 5.7 0.5 0:00.25 httpd
7916 nobody 16 0 139m 22m 13m S 4.7 0.6 0:01.02 httpd
30799 mysql 15 0 489m 169m 3640 S 4.3 4.2 15:09.21 mysqld
8882 nobody 17 0 139m 16m 7660 S 2.0 0.4 0:00.06 httpd
8880 nobody 15 0 139m 17m 8104 S 1.7 0.4 0:00.09 httpd
7872 nobody 17 0 139m 22m 12m S 1.3 0.6 0:01.90 httpd
8466 nobody 16 0 143m 25m 11m S 1.3 0.6 0:00.48 httpd
8583 nobody 16 0 139m 21m 11m S 1.3 0.5 0:00.98 httpd
8775 nobody 15 0 139m 20m 10m S 1.3 0.5 0:00.22 httpd
7901 nobody 15 0 139m 22m 13m S 1.0 0.6 0:01.04 httpd
7912 nobody 16 0 139m 21m 11m S 1.0 0.5 0:00.98 httpd
8014 nobody 15 0 139m 20m 11m S 1.0 0.5 0:00.24 httpd
8740 nobody 16 0 139m 19m 9628 S 1.0 0.5 0:00.14 httpd
20938 root 17 0 2124 1132 816 S 1.0 0.0 0:22.87 htop
7165 nobody 15 0 139m 21m 11m S 0.3 0.5 0:01.25 httpd
7484 nobody 15 0 139m 19m 9952 S 0.3 0.5 0:01.93 httpd
8846 nobody 15 0 139m 17m 8476 S 0.3 0.4 0:00.22 httpd

7.

Quote:
[mysqld]
basedir =/usr/
max_connections = 500
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
old_passwords=1
skip-innodb
skip-locking
key_buffer = 384M
table_cache = 1500
query_cache_size = 32M
query_cache_type = 1
max_allowed_packet=1M
long_query_time = 1
8.
Quote:
Server version 5.0.67-community
Protocol version 10
Connection Localhost via UNIX socket
UNIX socket /var/lib/mysql/mysql.sock
Uptime: 18 hours 46 min 10 sec

Threads: 6 Questions: 3380708 Slow queries: 603 Opens: 7471 Flush tables: 1 Open tables: 1500 Queries per second avg: 50.033
+--------+----------------+-----------+---------------+---------+------+-------- ----------------------+--------------------------------------------------------- ---------------------------------------------+
| Id | User | Host | db | Command | Time | State | Info |
+--------+----------------+-----------+---------------+---------+------+-------- ----------------------+--------------------------------------------------------- ---------------------------------------------+
| 243666 | eximstats | localhost | eximstats | Sleep | 36 | | |
| 245090 | gidacila_volki | localhost | gidacila_goki | Query | 7 | Copying to tmp table on disk | SELECT k.keyword,k.id
FROM gks_keywords AS k
RIGHT JOIN gks_index AS i ON (i.kid=k.id)
GROUP B |
| 245124 | grafiktr_abdul | localhost | grafiktr_frm | Sleep | 3 | | |
| 245130 | gidacila_volki | localhost | gidacila_goki | Sleep | 2 | | |
| 245136 | grafiktr_abdul | localhost | grafiktr_frm | Sleep | 0 | | |
| 245137 | root | localhost | | Query | 0 | | show processlist |
+--------+----------------+-----------+---------------+---------+------+-------- ----------------------+--------------------------------------------------------- ---------------------------------------------+
9. is your vB the only thing on the server? or other scripts & sites which utilise php and mysql?
There are, but the vbulletin site is 99% of the hits on the server.

10. how many average and max concurrent users on your vB forum ? and what your cookie timeout is ?

Average: 600
Max: 4500
cookie timeout: 900

>11. create a file named phpinfo.php and place this code in it and post the url/link to it from your web site.

phpinfo()

>12. if you run Apache and you have your own dedicated server or access to your httpd.conf (apache configuration file) can you post the values you have set for the following

Code:
KeepAlive on
MaxKeepAliveRequests 100
KeepAliveTimeout 5
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxClients 150
MaxRequestsPerChild 0

AND Maxrequestsperchild value =
13.check to see if any files i.e. apache log files are hitting 2GB or 4GB max file size limits

none found


>14. Post output from these 3 commands

Linux server.grafikerler.net 2.6.9-67.0.15.ELsmp #1 SMP Thu May 8 10:52:19 EDT 2008 i686 i686 i386 GNU/Linux



ulimit -aH
Code:
core file size (blocks, -c) 1000000
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
pending signals (-i) 1024
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) unlimited
open files (-n) 4096
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 14335
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited


Code:
processor : 3
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz
stepping : 11
cpu MHz : 2399.994
cache size : 4096 KB
physical id : 0
siblings : 4
core id : 3
cpu cores : 4
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl est tm2 xtpr
bogomips : 4799.97
__DEFINE_LIKE_SHARE__
رد مع اقتباس
إضافة رد

مواقع النشر (المفضلة)

أدوات الموضوع
انواع عرض الموضوع

تعليمات المشاركة
لا تستطيع إضافة مواضيع جديدة
لا تستطيع الرد على المواضيع
لا تستطيع إرفاق ملفات
لا تستطيع تعديل مشاركاتك

BB code is متاحة
كود [IMG] متاحة
كود HTML معطلة
Trackbacks are متاحة
Pingbacks are متاحة
Refbacks are متاحة


المواضيع المتشابهه
الموضوع كاتب الموضوع المنتدى مشاركات آخر مشاركة
Server Optimizing Request محروم.كوم منتدى أخبار المواقع والمنتديات العربية والأجنبية 0 05-18-2009 09:10 PM
Server Optimizing Request محروم.كوم منتدى أخبار المواقع والمنتديات العربية والأجنبية 0 05-14-2009 01:30 PM
Server Optimizing Request محروم.كوم منتدى أخبار المواقع والمنتديات العربية والأجنبية 0 05-11-2009 01:30 AM
Server Optimizing Request محروم.كوم منتدى أخبار المواقع والمنتديات العربية والأجنبية 0 05-02-2009 11:10 AM
Server Optimizing Request محروم.كوم منتدى أخبار المواقع والمنتديات العربية والأجنبية 0 05-01-2009 01:40 PM


الساعة الآن 08:51 AM


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

RSS RSS 2.0 XML MAP HTML