Results 1 to 15 of 15
  1. #1

    Dedicated or VPS?

    what would you choose if both cost the same?

    VPS:

    dual xeon 3.20GHz
    Dedicated memory (RAM)
    384MB
    Burstable Memory
    10GB

    DS:

    P4-HT 3.0GHz
    1024MB DDR RAM
    160GB SATA HDD

    i have the latter one but find it not performing as hoped for. whenever there are over 100 users, my forum simply goes down....

    thanks in advance

  2. #2
    Of course I would choose Dedicated Server

  3. #3
    Join Date
    Mar 2004
    Location
    Dallas, TX
    Posts
    38

  4. #4
    Join Date
    Mar 2005
    Location
    NY USA
    Posts
    839
    The VPS has about twice the processing power but less than half the RAM, and who knows who you are sharing the VPS with or how many people?

    If you're forum is killing a P4 3.0, the VPS provider will probably say you are using too much CPU and need to upgrade to a dedicated solution anyway.

  5. #5
    Join Date
    Oct 2005
    Location
    California
    Posts
    207
    A dedicated server is generally the way to go if you know your traffic and load is already hitting high numbers.

    You are saying that even with a P4-HT 3.0GHz, 1024MB DDR RAM, 160GB SATA HDD your forum goes down? This shouldn't be the case with only 100 users. It should support more than that.

    You probably should check your database to make sure they are optimized first.
    Dedicated Servers. Resellers Welcome.
    www.dediwebhost.com

  6. #6
    that's what really puzzling me...

    i used to host that (xoops based) forum on a VPS with just 256MB ram (burstable to 1GB) b4 and loaded OK even with 2XX users online.

    and now with a DS and everything sucks... could it be becasue the difference in CPU?

  7. #7
    Join Date
    Oct 2005
    Location
    California
    Posts
    207
    I don't think that a P4 3.0GHz HT is that bad of a CPU.

    Have you looked at your load and what processes are eating away your CPU power?
    Dedicated Servers. Resellers Welcome.
    www.dediwebhost.com

  8. #8
    Of cource everyone would get dedicated, even though it's a bit more pricey.
    Easy Image Hosting - http://easyimagehosting.net
    Your ultimate image hosting

  9. #9
    I guess you might already had issue with your dedicated server, but you might not realize that, try to re-check it or get server management company to check it and optimize it included your database.

  10. #10
    yeah, i agree with l0ck_up. but these issues have been bothering me since day one. always thought it would be an "upgrade" from vps to ds but it turned out differently...

    are there any other areas i should be looking into other than my.cnf, httpd.conf and php.ini?

    here is the cpuinfo

    Code:
    [[email protected] /]# cat /proc/cpuinfo
    processor       : 0
    vendor_id       : GenuineIntel
    cpu family      : 15
    model           : 4
    model name      : Intel(R) Pentium(R) 4 CPU 3.00GHz
    stepping        : 1
    cpu MHz         : 3001.588
    cache size      : 1024 KB
    physical id     : 0
    siblings        : 2
    fdiv_bug        : no
    hlt_bug         : no
    f00f_bug        : no
    coma_bug        : no
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 5
    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 pni monitor ds_cpl cid xtpr
    bogomips        : 5914.62

  11. #11
    You should check your server load, your apache configuration and database configuration and might be you have a bad stick of memmory. Anything can be happened.
    If you have such control panel like cpanel or others, it will be a good start to check instantly of your software installed on server.

  12. #12
    Join Date
    Jan 2003
    Location
    bc
    Posts
    78
    Try running top from the command line to see what processes. Shell into your server, and from the command line type exactly the following
    Code:
    top -i
    This will weed out any idle or zombie processes and you will only see the active and currently running processes. When you are done with top, Take note of the active processes, and hit the q key on your keyboard to quit. This is just for starters, and try this when the server server load is at its lowest as their must be a time when things are very quiet on your forum, and also observe when the server peaks. Compare notes, and begin to diagnose the situation.
    -Bones

  13. #13
    how to check if i have a "bad stick of memmory"???

    i am using DirectAdmin, what kind of softwares installed i need to check?

    currently with 71 users online, top showed:

    Code:
    top - 05:02:44 up 60 days, 22:11,  1 user,  load average: 1.77, 1.36, 1.35
    Tasks: 137 total,   2 running, 135 sleeping,   0 stopped,   0 zombie
    Cpu(s): 15.5% us,  2.0% sy,  0.0% ni, 82.5% id,  0.0% wa,  0.0% hi,  0.0% si
    Mem:   1025788k total,   861312k used,   164476k free,    99736k buffers
    Swap:  2031608k total,   109896k used,  1921712k free,   357640k cached
      PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
    14199 apache    17   0 28080  18m 9956 R  5.5  1.9   0:00.97 httpd
    14200 root      16   0  3524  972  744 R  1.0  0.1   0:00.02 top
    maybe i'll post my.cnf, php.ini and httpd.conf in here later on...

  14. #14
    Join Date
    Jan 2003
    Location
    bc
    Posts
    78
    The best way to test if you have bad memory is to use a known good stick of memory in place of the suspected stick of memory.
    If you have multiple DIMMS remove 1 DIMM, and run some tests.
    -Bones

  15. #15
    but i'm afriad my server is not next to me ;-( can't just remove the ram and test it... any other idea?

    load when 95 users online....

    Code:
    top - 22:40:04 up 61 days, 15:48,  1 user,  load average: 12.54, 10.42, 6.57
    Tasks: 173 total,   5 running, 168 sleeping,   0 stopped,   0 zombie
    Cpu(s): 81.5% us,  6.3% sy,  0.0% ni, 11.8% id,  0.0% wa,  0.2% hi,  0.3% si
    Mem:   1025788k total,   867456k used,   158332k free,   101908k buffers
    Swap:  2031608k total,    41484k used,  1990124k free,   246564k cached
      PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
    31807 apache    25   0 28440  18m 9948 R 68.6  1.9   0:07.91 httpd
    31833 apache    18   0 25472  15m 9904 R  6.6  1.6   0:00.20 httpd
    28508 root      16   0  2976 1008  748 R  0.7  0.1   0:23.35 top
    31838 apache    16   0 29908  20m 9956 R  0.0  2.0   0:01.41 httpd
    31851 apache    16   0 24024  14m 9940 R  0.0  1.4   0:00.58 httpd

Posting Permissions

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