Results 1 to 23 of 23
  1. #1

    * Linux Dedicated Server - Is it enough?

    Hey all ,

    I am owener of a big site (max visits a day 100K)

    I have my own Dedicated Server - I think he is strong enough ,

    But in rush hours he carshed a lot and need to be restarted.

    The server has WHM and Cpanel on it .

    The server only running this site., mostly html based with little SQL.

    This is the server info :

    (Dell PowerEdge PE1950)

    ================================
    -bash-3.2# cat /proc/cpuinfo
    processor : 0
    vendor_id : GenuineIntel
    cpu family : 15
    model : 2
    model name : Intel(R) Xeon(TM) CPU 2.40GHz
    stepping : 7
    cpu MHz : 2394.867
    cache size : 512 KB
    physical id : 0
    siblings : 2
    core id : 0
    cpu cores : 1
    fdiv_bug : no
    hlt_bug : no
    f00f_bug : no
    coma_bug : no
    fpu : yes
    fpu_exception : yes
    cpuid level : 2
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr
    bogomips : 4793.30

    processor : 1
    vendor_id : GenuineIntel
    cpu family : 15
    model : 2
    model name : Intel(R) Xeon(TM) CPU 2.40GHz
    stepping : 7
    cpu MHz : 2394.867
    cache size : 512 KB
    physical id : 0
    siblings : 2
    core id : 0
    cpu cores : 1
    fdiv_bug : no
    hlt_bug : no
    f00f_bug : no
    coma_bug : no
    fpu : yes
    fpu_exception : yes
    cpuid level : 2
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr
    bogomips : 4788.90

    processor : 2
    vendor_id : GenuineIntel
    cpu family : 15
    model : 2
    model name : Intel(R) Xeon(TM) CPU 2.40GHz
    stepping : 7
    cpu MHz : 2394.867
    cache size : 512 KB
    physical id : 3
    siblings : 2
    core id : 3
    cpu cores : 1
    fdiv_bug : no
    hlt_bug : no
    f00f_bug : no
    coma_bug : no
    fpu : yes
    fpu_exception : yes
    cpuid level : 2
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr
    bogomips : 4789.00

    processor : 3
    vendor_id : GenuineIntel
    cpu family : 15
    model : 2
    model name : Intel(R) Xeon(TM) CPU 2.40GHz
    stepping : 7
    cpu MHz : 2394.867
    cache size : 512 KB
    physical id : 3
    siblings : 2
    core id : 3
    cpu cores : 1
    fdiv_bug : no
    hlt_bug : no
    f00f_bug : no
    coma_bug : no
    fpu : yes
    fpu_exception : yes
    cpuid level : 2
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr
    bogomips : 4789.00
    ================================

    What do you think? its bad configortion of Apache and sql ? or the server is not enough?

    suggestions will be great !


    Thank you

  2. #2
    Join Date
    Feb 2008
    Location
    Houston, Texas, USA
    Posts
    2,955
    The server should be able to handle more than 100K visits/day with mainly HTML and MySQL. What server side scripting language are you using (ex: PHP)? Also what does the server load look like (uptime; sar -q)?

    Can you post the output of sar -q here and also a screen shot of top during high traffic periods?

    Regards
    UNIXy - Fully Managed Servers and Clusters - Established in 2006
    [ cPanel Varnish Nginx Plugin ] - Enhance LiteSpeed and Apache Performance
    www.unixy.net - Los Angeles | Houston | Atlanta | Rotterdam
    Love to help pro bono (time permitting). joe > unixy.net

  3. #3
    Most of it is simple HTML.
    sar-q will follow, is 375 Euro is a good price for this kind of server?

  4. #4
    Join Date
    May 2006
    Location
    NJ, USA
    Posts
    6,456
    Those are OLD xeons. You are getting ripped off. Even 100 euro is too expensive. If you're renting it. If you're buying it out right, 200 euro is about a good price.
    simplywww: directadmin and cpanel hosting that will rock your socks
    Need some work done in a datacenter in the NYC area? NYC Remote Hands can do it.

    Follow my "deals" Twitter for hardware specials.. @dougysdeals

  5. #5
    Join Date
    Feb 2008
    Location
    Houston, Texas, USA
    Posts
    2,955
    Quote Originally Posted by KoPas View Post
    Most of it is simple HTML.
    sar-q will follow, is 375 Euro is a good price for this kind of server?
    What bandwidth agreement do you have and what kind of management service are you getting?

    Regards
    UNIXy - Fully Managed Servers and Clusters - Established in 2006
    [ cPanel Varnish Nginx Plugin ] - Enhance LiteSpeed and Apache Performance
    www.unixy.net - Los Angeles | Houston | Atlanta | Rotterdam
    Love to help pro bono (time permitting). joe > unixy.net

  6. #6
    Full management.

  7. #7
    Since it's full management why aren't you getting your host to diagnose the issue? The processors do seem quite old, to be honest.
    478east
    High Bandwidth Servers
    Custom Hosting Solutions

  8. #8
    They say I need load balance cluster.

    I dont buy it.

    My Q sar:
    20:02:51 up 18 min, 0 users, load average: 0.03, 0.06, 0.07
    -bash-3.2# sar -q
    Linux 2.6.9-023stab048.4-smp (opvision.customer.attikh.net) 08/09/09

    00:00:01 runq-sz plist-sz ldavg-1 ldavg-5 ldavg-15
    00:10:01 2 148 0.35 0.38 0.43
    00:20:01 3 135 0.42 0.32 0.36
    00:30:01 1 127 0.38 0.32 0.33
    00:40:01 1 124 0.22 0.22 0.26
    00:50:01 0 126 0.80 0.49 0.33
    01:00:01 1 121 0.18 0.24 0.26
    01:10:01 2 120 0.10 0.12 0.18
    01:20:01 1 120 0.13 0.20 0.18
    01:30:01 3 119 0.18 0.19 0.18
    01:40:01 1 117 0.10 0.10 0.13
    01:50:01 1 118 0.05 0.13 0.13
    02:00:01 1 117 0.19 0.16 0.12
    02:10:01 1 116 0.02 0.11 0.12
    02:20:01 1 116 0.21 0.18 0.14
    02:30:03 0 117 0.52 0.24 0.14
    02:40:02 0 120 0.09 0.14 0.14
    02:50:01 2 116 0.11 0.20 0.18
    03:00:01 2 117 0.29 0.17 0.15
    03:10:01 2 116 0.02 0.12 0.15
    03:20:01 1 117 0.07 0.10 0.12
    03:30:01 2 117 0.23 0.19 0.12
    03:40:01 3 115 0.07 0.12 0.10
    03:50:01 0 117 0.05 0.10 0.09
    04:00:01 2 115 0.21 0.13 0.10
    04:10:01 1 117 0.19 0.24 0.17
    04:20:01 2 121 0.33 0.35 0.25
    04:30:01 2 117 0.36 0.24 0.22
    04:40:01 1 121 0.32 0.30 0.25
    04:50:01 3 119 0.13 0.16 0.18
    05:00:01 1 127 0.06 0.17 0.17
    05:10:01 3 158 0.31 0.41 0.31
    05:20:01 0 157 0.99 0.80 0.54
    05:30:01 3 159 0.87 1.11 0.84
    05:40:02 1 135 0.60 1.07 0.96

    05:40:02 runq-sz plist-sz ldavg-1 ldavg-5 ldavg-15
    05:50:01 1 139 0.99 0.89 0.89
    06:00:01 5 153 1.22 0.90 0.84
    06:10:01 1 144 0.53 0.73 0.78
    06:20:01 3 162 0.33 0.60 0.71
    06:30:01 1 136 1.27 1.06 0.88
    06:40:01 1 131 0.65 0.63 0.71
    06:50:01 2 132 0.50 0.53 0.65
    07:00:01 1 134 0.70 0.61 0.60
    07:10:01 3 119 0.21 0.30 0.44
    07:20:01 1 119 0.35 0.26 0.34
    07:30:01 1 126 0.38 0.21 0.25
    07:40:01 2 120 0.36 0.35 0.29
    07:50:01 1 117 0.19 0.20 0.23
    08:00:01 2 119 0.70 0.32 0.23
    08:10:01 1 117 0.12 0.15 0.18
    08:20:01 1 117 0.07 0.07 0.13
    08:30:01 1 117 0.10 0.11 0.11
    08:40:01 2 117 0.10 0.07 0.08
    08:50:01 2 117 0.20 0.14 0.10
    09:00:01 3 118 0.13 0.16 0.11
    09:10:01 1 117 0.21 0.20 0.15
    09:20:01 1 117 0.14 0.13 0.13
    09:30:01 1 117 0.28 0.16 0.11
    09:40:01 1 117 0.02 0.12 0.12
    09:50:01 1 116 0.15 0.16 0.12
    10:00:01 2 117 0.57 0.23 0.14
    10:10:01 1 117 0.14 0.17 0.14
    10:20:01 2 118 0.22 0.18 0.13
    10:30:01 1 117 0.20 0.20 0.17
    10:40:01 1 117 0.29 0.25 0.19
    10:50:01 1 117 0.24 0.23 0.19
    11:00:01 1 118 0.17 0.16 0.16
    11:10:01 1 116 0.34 0.40 0.32
    11:20:01 1 115 0.39 0.39 0.35

    11:20:01 runq-sz plist-sz ldavg-1 ldavg-5 ldavg-15
    11:30:01 1 116 0.25 0.23 0.27
    11:40:01 2 117 0.35 0.36 0.30
    11:50:01 1 117 0.45 0.46 0.36
    12:00:01 1 118 0.40 0.34 0.34
    12:10:01 3 120 0.21 0.28 0.32
    12:20:01 1 119 0.28 0.36 0.35
    12:30:01 2 127 0.63 0.50 0.41
    12:40:01 2 136 0.08 0.16 0.27
    12:50:01 1 121 0.12 0.11 0.18
    13:00:01 6 125 0.11 0.12 0.15
    13:10:01 1 121 0.19 0.17 0.14
    13:20:01 2 128 0.20 0.23 0.18
    13:30:01 1 139 0.14 0.23 0.19
    13:40:01 1 134 0.20 0.16 0.16
    13:50:01 1 130 0.38 0.36 0.25
    14:00:01 1 129 0.30 0.23 0.21
    14:10:01 0 131 0.43 0.26 0.20
    14:20:01 2 142 0.45 0.32 0.23
    14:30:01 1 151 0.48 0.36 0.28
    14:40:01 1 144 0.17 0.25 0.25
    14:50:01 1 162 0.33 0.27 0.26
    15:00:01 2 154 0.28 0.28 0.27
    15:10:01 1 151 0.37 0.33 0.29
    15:20:01 2 150 0.48 0.51 0.37
    15:30:01 2 161 0.49 0.46 0.38
    15:40:01 1 169 0.38 0.43 0.38
    15:50:01 2 190 0.45 0.52 0.44
    16:00:01 1 179 0.65 0.57 0.48
    16:10:02 3 269 0.58 0.60 0.51
    16:20:01 4 246 0.72 0.60 0.55
    16:30:02 2 270 1.21 1.07 0.82
    16:40:05 2 368 5.07 6.93 3.97
    16:50:27 0 793 135.71 87.10 41.61
    17:11:07 8 1401 727.67 688.25 444.17

    17:11:07 runq-sz plist-sz ldavg-1 ldavg-5 ldavg-15
    17:21:39 72 1421 150.25 256.11 336.94
    17:31:50 44 1384 211.96 254.01 306.81
    18:00:32 35 1536 468.07 431.45 377.60
    18:10:12 0 1634 51.13 174.94 276.92
    18:20:19 11 1837 107.39 87.66 177.64
    Average: 3 219 17.67 18.86 18.64

    18:41:11 LINUX RESTART

    19:44:27 LINUX RESTART

    19:50:01 runq-sz plist-sz ldavg-1 ldavg-5 ldavg-15
    20:00:01 2 124 0.01 0.07 0.08
    Average: 2 124 0.01 0.07 0.08

  9. #9
    Can you post the results of the top command during a high traffic time?
    478east
    High Bandwidth Servers
    Custom Hosting Solutions

  10. #10
    Quote Originally Posted by cristibighea View Post
    Can you post the results of the top command during a high traffic time?
    I dont have it. sorry

  11. #11
    Join Date
    Feb 2008
    Location
    Houston, Texas, USA
    Posts
    2,955
    First of all, that's no dedicated server. It's a VPS. Based on the SAR output you provided, the server peaks at 727 load average before it kneels down hard. That's big enough to kill a hefty dedicated server. Reduce your MPM prefork ServerLimit/MaxClients to a manageable number to stabilize the server. Once that's done, look into migrating to a leaner setup.

    Good luck
    UNIXy - Fully Managed Servers and Clusters - Established in 2006
    [ cPanel Varnish Nginx Plugin ] - Enhance LiteSpeed and Apache Performance
    www.unixy.net - Los Angeles | Houston | Atlanta | Rotterdam
    Love to help pro bono (time permitting). joe > unixy.net

  12. #12
    I would expect that there is probably a script on your website that is either:
    - really badly written
    - inefficient
    - being asked to do something crazy
    - exploited
    - being hit *tons*
    - or all of the above.

    I think the plan for you should be to:

    1. Login via SSH and run "top" and watch it.
    2. Login to WHM and keep looking at the server status page.
    3. Wait for it to crash, and make a note of what you saw in top and the status page.
    4. Repeat until you see a pattern.

    Then post back here.

  13. #13
    Join Date
    Dec 2006
    Location
    Netherlands
    Posts
    1,430
    In cPanel, you can install Munin Service Monitor and watch it show you very important statistics.

    You should discontinue whatever you have now and buy/rent a new server from a reputable company.

    Check LeaseWeb.com - they have new offer running right now with loads of bandwidth!

  14. #14
    Join Date
    Jun 2002
    Posts
    1,376
    Quote Originally Posted by UNIXy View Post
    First of all, that's no dedicated server. It's a VPS.
    How are you telling this? I'm not seeing this indicated.

    To the original poster -- this whole request is strange. For one, you're way overpaying at 375 Euros a month. You're in the right place to find a new host, though.

    You give very few details. Some things I'd like to know about your setup:

    - How much RAM do you have? (Can you run "free" in a terminal and paste the output?)

    - What do you have for disks? Can you paste the output of the "mount" command for starters, unless you know exactly what's in the machine?

    - I have never, ever encountered a Linux box that did not have the "top" command installed, be it a monster server or an embedded firewall. Could you paste the output of "top -bn1" (which will run it in "batch" mode one time, making it much easier to copy-and-paste).

    - You left out many details. What Linux distribution are you running? What are you using for a webserver -- I assume Apache as WHM/cPanel provided?

    - Do you use WHM/cPanel? It seems like overkill for a server hosting one site. I doubt that it's the cause of your problems, it's just odd to me.

    - You hint that SQL queries are being run, but never elaborated. I think it would be a big help to explore this area more, since it's a common bottleneck on sites. Specifically...

    - What is running the SQL? Are you using PHP or something like that? Is it a custom-written application, or an existing package like phpBB or something?

    - Do you run MySQL on this server? Have you tuned it at all? (You might want to install the "mytop" package, which would let you watch long-running queries.)

    Sorry for all of the questions, but specifics will make it much, much easier for us to help you.

  15. #15
    Join Date
    Feb 2008
    Location
    Houston, Texas, USA
    Posts
    2,955
    Quote Originally Posted by fog View Post
    How are you telling this? I'm not seeing this indicated.
    Hi Fog,

    Check out the uname -a from SAR:

    Linux 2.6.9-023stab048.4-smp (opvision.customer.attikh.net) 08/09/09
    That's a Virtuozzo kernel. Please correct me if I'm wrong.

    Best
    UNIXy - Fully Managed Servers and Clusters - Established in 2006
    [ cPanel Varnish Nginx Plugin ] - Enhance LiteSpeed and Apache Performance
    www.unixy.net - Los Angeles | Houston | Atlanta | Rotterdam
    Love to help pro bono (time permitting). joe > unixy.net

  16. #16
    Join Date
    Sep 2008
    Location
    Dallas, TX
    Posts
    4,552
    Quote Originally Posted by UNIXy View Post
    Hi Fog,

    Check out the uname -a from SAR:



    That's a Virtuozzo kernel. Please correct me if I'm wrong.

    Best
    It's the virtuozzo kernel from '08.


    OP, I think you need to find an honest provider.


    Leaseweb - Netherlands
    OVH - France
    Softlayer - US
    HiVelocity - US
    Singlehop(Great server management) - US
    JaguarPC - US
    Jacob Wall - GetCloak.com

  17. #17
    Join Date
    Feb 2008
    Location
    Houston, Texas, USA
    Posts
    2,955
    Quote Originally Posted by Jacob Wall View Post
    It's the virtuozzo kernel from '08.
    That's correct as mentioned earlier.

    Quote Originally Posted by Jacob Wall View Post
    OP, I think you need to find an honest provider.


    Leaseweb - Netherlands
    OVH - France
    Softlayer - US
    HiVelocity - US
    Singlehop(Great server management) - US
    JaguarPC - US
    This list is by no means an all-comprehensive list of honest providers . Perhaps Jacob's good list.

    Regards
    UNIXy - Fully Managed Servers and Clusters - Established in 2006
    [ cPanel Varnish Nginx Plugin ] - Enhance LiteSpeed and Apache Performance
    www.unixy.net - Los Angeles | Houston | Atlanta | Rotterdam
    Love to help pro bono (time permitting). joe > unixy.net

  18. #18
    Join Date
    Sep 2008
    Location
    Dallas, TX
    Posts
    4,552
    Quote Originally Posted by UNIXy View Post
    That's correct as mentioned earlier.



    This list is by no means an all-comprehensive list of honest providers . Perhaps Jacob's good list.

    Regards
    Yeah, those are some providers I like : - )
    Jacob Wall - GetCloak.com

  19. #19
    Are you 100 % sure its a VPS?

  20. #20
    Join Date
    Nov 2006
    Location
    Karachi, Pakistan
    Posts
    1,349
    Quote Originally Posted by KoPas View Post
    Are you 100 % sure its a VPS?
    I'd like to have this answered too. I mean is there a chance its the host node for a viruozzo system? Some providers provision dedis with VPS host node kernels installed so that users can setup VPS easily.

  21. #21
    Join Date
    Feb 2008
    Location
    Houston, Texas, USA
    Posts
    2,955
    Quote Originally Posted by Website themes View Post
    I'd like to have this answered too. I mean is there a chance its the host node for a viruozzo system? Some providers provision dedis with VPS host node kernels installed so that users can setup VPS easily.
    It's very possible the providers installed Virtuozzo kernel on the hardware node to virtualize the machine then create one VPS with unlimited resources. That's nothing new but this is something that should have been explained to OP when purchasing the dedicated server.

    We pose the question on each new server sign up too. The advantages being upgrades to new hardware platforms is done with a few clicks of a mouse and is zero downtime.

    Regards
    UNIXy - Fully Managed Servers and Clusters - Established in 2006
    [ cPanel Varnish Nginx Plugin ] - Enhance LiteSpeed and Apache Performance
    www.unixy.net - Los Angeles | Houston | Atlanta | Rotterdam
    Love to help pro bono (time permitting). joe > unixy.net

  22. #22
    Join Date
    Feb 2008
    Location
    Houston, Texas, USA
    Posts
    2,955
    Quote Originally Posted by KoPas View Post
    Are you 100 % sure its a VPS?
    Yes, 100% sure. Ask your provider for access to the virtuozzo or Hypervm admin interface.

    Regards
    UNIXy - Fully Managed Servers and Clusters - Established in 2006
    [ cPanel Varnish Nginx Plugin ] - Enhance LiteSpeed and Apache Performance
    www.unixy.net - Los Angeles | Houston | Atlanta | Rotterdam
    Love to help pro bono (time permitting). joe > unixy.net

  23. #23
    Join Date
    Feb 2008
    Location
    Houston, Texas, USA
    Posts
    2,955
    A quick addition. There's nothing wrong with virtualizing a server if the intent is to provide better service and ease the upgrade path. Just work with them to resolve your load issue.

    Keep in mind that virtualization adds some overhead to system calls in general so performance is slightly less than what you'd get when running an OS on bare metal.

    Regards
    UNIXy - Fully Managed Servers and Clusters - Established in 2006
    [ cPanel Varnish Nginx Plugin ] - Enhance LiteSpeed and Apache Performance
    www.unixy.net - Los Angeles | Houston | Atlanta | Rotterdam
    Love to help pro bono (time permitting). joe > unixy.net

Similar Threads

  1. Replies: 0
    Last Post: 01-08-2009, 03:31 PM
  2. Affordable Linux Server Grids (Dedicated Server Bundles)
    By leeware in forum Dedicated Hosting Offers
    Replies: 0
    Last Post: 11-06-2008, 08:19 AM
  3. [takeover] linux dedicated server, 10mbit dedicated 90$
    By rruunn in forum Dedicated Hosting Offers
    Replies: 3
    Last Post: 11-20-2006, 08:14 PM
  4. Special offer - 2 T-1 dedicated bandwidth lines + Linux dedicated server!!
    By code_renegade in forum Shared Hosting Offers
    Replies: 10
    Last Post: 01-09-2002, 07:23 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •