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

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

محروم.كوم 05-06-2009 10:00 PM

CPU, Ram Always Full / Server Optimization Request
 
heres a Thread I poted in vb.org
http://www.vbulletin.org/forum/showthread.php?t=212756
here is my problem:

i have a VPS witch Running one account only...
this account have Joomla and VB, and the most important thing that few days ago i noticed the the CPS alwayes Full, and when Stoped Joomla it stayed Full..
Few houres ago my hosting company stopped the Account During to Overload on my server
witch costing over load 2 on the entire nod...
and they asked me to move into a dedicated server, and not only a dedicated Server, NO, a very good dedicated server because the hit and Database overload on the server..

now they reactivated it so i can tell my members that the Site will be Stopped, and them, i Tried somthing...
i tried to Stop the Vb, and make the VB url redirects into a page in my Site..
Then the site worked very well and the Cpu not overloaded...

is that a possible reason the VB may take the Whloe CPU ?

My VPS Properties is:
Guaranteed RAM 256+ MB
Max RAM 12GB
Guaranteed CPU 208.8+ Mhz
Max CPU 2x3 Ghz
Storage (+ 1GB free for OS) 15GB

So... Can any bidy safe me from Drowning???




If I Need a Server Optimization Request:
  1. VPS, it have 14 VE's on it :|||||| "WWWWHAT"?
  2. My VPS Properties is:
    Guaranteed RAM 256+ MB
    Max RAM 12GB
    Guaranteed CPU 208.8+ Mhz
    Max CPU 2x3 Ghz
    Storage (+ 1GB free for OS) 15GB
    Mysql 4 + 5

  3. 3.7.4
  4. THE HOST SAYED: Quote:
    Innodb needs to be enabled on your VPS. We don't recommend that you use Innodb though as if there is any issue on your VPS that causes the VE or the database to close it is extremely likely to cause database issues.
  5. CPanel configured/installed
  6. Code:
    login as: root
    [email protected]'s password:
    Last login: Wed May 6 11:41:59 2009 from 213.178.255.12
    root@server [~]# top
    top - 11:42:59 up 1 day, 32 min, 1 user, load average: 4.33, 3.85, 4.26
    Tasks: 80 total, 3 running, 76 sleeping, 0 stopped, 1 zombie
    Cpu0 : 7.3% us, 1.8% sy, 0.0% ni, 89.4% id, 1.5% wa, 0.0% hi, 0.0% si
    Cpu1 : 7.1% us, 1.8% sy, 0.0% ni, 89.5% id, 1.6% wa, 0.0% hi, 0.0% si
    Cpu2 : 6.9% us, 1.7% sy, 0.0% ni, 89.8% id, 1.5% wa, 0.0% hi, 0.0% si
    Cpu3 : 6.8% us, 1.7% sy, 0.0% ni, 90.1% id, 1.4% wa, 0.0% hi, 0.0% si
    Cpu4 : 6.6% us, 1.6% sy, 0.0% ni, 90.3% id, 1.4% wa, 0.0% hi, 0.0% si
    Cpu5 : 6.4% us, 1.6% sy, 0.0% ni, 90.4% id, 1.6% wa, 0.0% hi, 0.0% si
    Cpu6 : 6.3% us, 1.5% sy, 0.0% ni, 90.7% id, 1.5% wa, 0.0% hi, 0.0% si
    Cpu7 : 6.1% us, 1.5% sy, 0.0% ni, 90.9% id, 1.6% wa, 0.0% hi, 0.0% si
    Mem: 16614548k total, 16071780k used, 542768k free, 394336k buffers
    Swap: 16771696k total, 1232k used, 16770464k free, 6369676k cached
  7. Quote:
    [mysqld]
    set-variable = max_connections=500
    safe-show-database

    connect_timeout=10
    interactive_timeout=45
    wait_timeout=20

    join_buffer_size=2M
    key_buffer_size=128M
    max_allowed_packet=8M
    myisam_sort_buffer_size=24M
    read_buffer_size=2M
    sort_buffer_size=2M
    table_cache=1024
    thread_cache_size=98
    tmp_table_size=48M
    query_cache_limit=1M
    query_cache_size=24M
    query_cache_type=1
    long_query_time = 1
  8. I coudn't get that, I'm not the Expert :(((((
  9. Joomla/VB
  10. Somtimes its up to 50, and the hosting company sayed that most of times, there was 150 opened sessions on Apache, and About Coookies.. UHHHH i was Putting that a Very big number, now its a Semi big witch is: 30000
  11. http://www.ana-souri.com/phpinfo.php
  12. KeepAlive On
    MaxKeepAliveRequests 100
    KeepAliveTimeout 5
    StartServers 5
    MinSpareServers 5
    MaxSpareServers 10
    MaxClients 150
    MaxRequestsPerChild 0

  13. Nothing Happeneds When I Entered thatfind / -size +2000000k ..
  14. Quote:
    Linux server.ana-souri.com 2.6.18-028stab060.2-ent #1 SMP Tue Jan 13 10:49:02 MSK 2009 i686 i686 i386 GNU/Linux
  15. Code:
    core file size (blocks, -c) unlimited
    data seg size (kbytes, -d) unlimited
    file size (blocks, -f) unlimited
    pending signals (-i) 137216
    max locked memory (kbytes, -l) 32
    max memory size (kbytes, -m) unlimited
    open files (-n) 1024
    pipe size (512 bytes, -p) 8
    POSIX message queues (bytes, -q) 819200
    stack size (kbytes, -s) unlimited
    cpu time (seconds, -t) unlimited
    max user processes (-u) 137216
    virtual memory (kbytes, -v) unlimited
    file locks (-x) unlimited
    root@server [~]# core file size (blocks, -c) unlimited
    -bash: syntax error near unexpected token `('
    root@server [~]# data seg size (kbytes, -d) unlimited
    -bash: syntax error near unexpected token `('
    root@server [~]# file size (blocks, -f) unlimited
    -bash: syntax error near unexpected token `('
    root@server [~]# pending signals (-i) 137216
    -bash: syntax error near unexpected token `('
    root@server [~]# max locked memory (kbytes, -l) 32
    -bash: syntax error near unexpected token `('
    root@server [~]# max memory size (kbytes, -m) unlimited
    -bash: syntax error near unexpected token `('
    root@server [~]# open files (-n) 1024
    -bash: syntax error near unexpected token `('
    root@server [~]# pipe size (512 bytes, -p) 8
    -bash: syntax error near unexpected token `('
    root@server [~]# POSIX message queues (bytes, -q) 819200
    -bash: syntax error near unexpected token `('
    root@server [~]# stack size (kbytes, -s) unlimited
    -bash: syntax error near unexpected token `('
    root@server [~]# cpu time (seconds, -t) unlimited
    -bash: syntax error near unexpected token `('
    root@server [~]# max user processes (-u) 137216
    -bash: syntax error near unexpected token `('
    root@server [~]# virtual memory (kbytes, -v) unlimited
    -bash: syntax error near unexpected token `('
    root@server [~]# file locks (-x) unlimited
    -bash: syntax error near unexpected token `('
    root@server [~]# core file size (blocks, -c) unlimited
    -bash: syntax error near unexpected token `('
    root@server [~]# data seg size (kbytes, -d) unlimited
    -bash: syntax error near unexpected token `('
    root@server [~]# file size (blocks, -f) unlimited
    -bash: syntax error near unexpected token `('
    root@server [~]# pending signals (-i) 137216
    -bash: syntax error near unexpected token `('
    root@server [~]# max locked memory (kbytes, -l) 32
    -bash: syntax error near unexpected token `('
    root@server [~]# max memory size (kbytes, -m) unlimited
    -bash: syntax error near unexpected token `('
    root@server [~]# open files (-n) 1024
    -bash: syntax error near unexpected token `('
    root@server [~]# pipe size (512 bytes, -p) 8
    -bash: syntax error near unexpected token `('
    root@server [~]# POSIX message queues (bytes, -q) 819200
    -bash: syntax error near unexpected token `('
    root@server [~]# stack size (kbytes, -s) unlimited
    -bash: syntax error near unexpected token `('
    root@server [~]# cpu time (seconds, -t) unlimited
    -bash: syntax error near unexpected token `('
    root@server [~]# max user processes (-u) 137216
    -bash: syntax error near unexpected token `('
    root@server [~]# virtual memory (kbytes, -v) unlimited
    -bash: syntax error near unexpected token `('
    root@server [~]# file locks (-x) unlimited
    -bash: syntax error near unexpected token `('
  16. Code:
    root@server [~]# cat /proc/cpuinfo
    processor : 0
    vendor_id : GenuineIntel
    cpu family : 6
    model : 15
    model name : Intel(R) Xeon(R) CPU L5320 @ 1.86GHz
    stepping : 7
    cpu MHz : 209.664
    cache size : 4096 KB
    physical id : 0
    siblings : 4
    core id : 0
    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 vmx tm2 cx16 xtpr lahf_lm
    bogomips : 3735.22

    processor : 1
    vendor_id : GenuineIntel
    cpu family : 6
    model : 15
    model name : Intel(R) Xeon(R) CPU L5320 @ 1.86GHz
    stepping : 7
    cpu MHz : 209.664
    cache size : 4096 KB
    physical id : 0
    siblings : 4
    core id : 1
    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 vmx tm2 cx16 xtpr lahf_lm
    bogomips : 3732.95

    processor : 2
    vendor_id : GenuineIntel
    cpu family : 6
    model : 15
    model name : Intel(R) Xeon(R) CPU L5320 @ 1.86GHz
    stepping : 7
    cpu MHz : 209.664
    cache size : 4096 KB
    physical id : 0
    siblings : 4
    core id : 2
    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 vmx tm2 cx16 xtpr lahf_lm
    bogomips : 3732.97

    processor : 3
    vendor_id : GenuineIntel
    cpu family : 6
    model : 15
    model name : Intel(R) Xeon(R) CPU L5320 @ 1.86GHz
    stepping : 7
    cpu MHz : 209.664
    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 vmx tm2 cx16 xtpr lahf_lm
    bogomips : 3732.98

    processor : 4
    vendor_id : GenuineIntel
    cpu family : 6
    model : 15
    model name : Intel(R) Xeon(R) CPU L5320 @ 1.86GHz
    stepping : 7
    cpu MHz : 209.664
    cache size : 4096 KB
    physical id : 1
    siblings : 4
    core id : 0
    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 vmx tm2 cx16 xtpr lahf_lm
    bogomips : 3732.98

    processor : 5
    vendor_id : GenuineIntel
    cpu family : 6
    model : 15
    model name : Intel(R) Xeon(R) CPU L5320 @ 1.86GHz
    stepping : 7
    cpu MHz : 209.664
    cache size : 4096 KB
    physical id : 1
    siblings : 4
    core id : 1
    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 vmx tm2 cx16 xtpr lahf_lm
    bogomips : 3732.99

    processor : 6
    vendor_id : GenuineIntel
    cpu family : 6
    model : 15
    model name : Intel(R) Xeon(R) CPU L5320 @ 1.86GHz
    stepping : 7
    cpu MHz : 209.664
    cache size : 4096 KB
    physical id : 1
    siblings : 4
    core id : 2
    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 vmx tm2 cx16 xtpr lahf_lm
    bogomips : 3732.98

    processor : 7
    vendor_id : GenuineIntel
    cpu family : 6
    model : 15
    model name : Intel(R) Xeon(R) CPU L5320 @ 1.86GHz
    stepping : 7
    cpu MHz : 209.664
    cache size : 4096 KB
    physical id : 1
    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 vmx tm2 cx16 xtpr lahf_lm
    bogomips : 3732.99


الساعة الآن 08:44 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