Results 1 to 13 of 13
  1. #1

    Need some advice on a powerful setup

    Hey, I need some advice.

    I am currently on a hosting plan for a dedicated server with the following specs:

    Intel Core i7 860(2.80GHZ-HT-DUAL CHANNEL)
    8GB DDR 3
    500GB 7.2k RPM 16MB Cache
    Lite Speed Web Server
    10TB Transfer

    $290/monthly

    I am hosting two websites on this server:

    1) This is a wordpress based website that has around 15 custom fields loading per page it gets 13~20k visits a day, and

    2) This is a multi mirror file hosting site where a user uploads files onto my server which in turn get uploaded to up to 15 mirrors it gets around 7k a day.

    The problem is that the multi mirror script is causing down times on my server. I keep getting high cpu loads alerts and when the cpu load gets too high and the server can't manage it and it just goes offline.

    What would you recommend I do in a situation like this? Considering my hardware, could it be because of unoptimized scripts? Or do these type of websites require higher specced hardware.

    I was advised by a friend to use scalable cloud hosting so that I can expand as the site activity grows but I would still like to keep my costs low for the time being.

    Thanks in advance!

  2. #2
    Join Date
    May 2011
    Location
    N/A
    Posts
    116
    Try OVH, FR. or, Peer1 managed solutions. It will be best for you.

    If you are looking for Cloud then codero.com +1

  3. #3
    Join Date
    Mar 2010
    Posts
    4,487
    Does your file hosting site upload the files to all the mirrors at once? If so I would get faster hard drives or raid 10. I cannot imagine a file transfer site running on a single drive like that.

    Your Wordpress site is getting a reasonable amount of traffic, other then installing wp super cache which I assume you have, you should be okay. I would not suggest a cloud hosting option if you want to save money. Sure it is good if you are not using much but when you scale high enough, which you probably will assuming the file hosting site becomes very popular the price to space ratio and price to performance ratio just isn't not worth it.


    Could you post the results of TOP and free -m?
    Thanks.

  4. #4
    Join Date
    Nov 2007
    Location
    Chennai, India
    Posts
    2,370
    I would agree with techjr. You have to have faster drive. SAS or SATA on raid-10 should be good for the file mirroring site.

  5. #5
    Quote Originally Posted by techjr View Post
    Does your file hosting site upload the files to all the mirrors at once? If so I would get faster hard drives or raid 10. I cannot imagine a file transfer site running on a single drive like that.

    Your Wordpress site is getting a reasonable amount of traffic, other then installing wp super cache which I assume you have, you should be okay. I would not suggest a cloud hosting option if you want to save money. Sure it is good if you are not using much but when you scale high enough, which you probably will assuming the file hosting site becomes very popular the price to space ratio and price to performance ratio just isn't not worth it.


    Could you post the results of TOP and free -m?
    Thanks.
    Hey thanks for your response. Yeah I think I should definitely look into raid 10. It isn't currently uploading them all at once, it's doing it one by one. My website doesn't host the files. It just uploads them to all those mirrors and then deletes the files from the HDD itself.

    I haven't currently looked into CDN for my WordPress website yet but I guess I will now. I hear it works wonders with W3 Total cache.

    I will try to post the stats that you need ASAP.

  6. #6
    I can't seem to edit my post above so I guess I will have to double post (sorry!).

    Any recommendations for good hosts that offer RAID 10 configuration? My current host doesn't seem to offer that.

  7. #7
    Here's the info you asked for:


    Code:
    [email protected] [~]# top
    top - 16:02:16 up 11:23,  1 user,  load average: 128.58, 122.87, 118.59
    Tasks: 343 total, 135 running, 207 sleeping,   0 stopped,   1 zombie
    Cpu(s): 86.3%us, 12.7%sy,  0.0%ni,  0.4%id,  0.0%wa,  0.1%hi,  0.6%si,  0.0%st
    Mem:   8166552k total,  6324576k used,  1841976k free,   249064k buffers
    Swap:  2096472k total,       16k used,  2096456k free,  3884196k cached
    
      PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
    25212 root      21   0  119m  15m  744 R  9.9  0.2   0:00.24 lfd
    18835 wordpress  16   0  224m  83m  37m S  8.6  1.1   0:08.01 lsphp5
    25259 fileshare      23   0  194m  24m 7716 S  6.6  0.3   0:00.16 lsphp5
    25142 fileshare      23   0     0    0    0 R  6.2  0.0   0:00.15 php
    25111 fileshare      25   0  161m  22m 6800 R  5.7  0.3   0:00.14 php
    25133 fileshare     22   0  161m  23m 6816 R  5.7  0.3   0:00.14 php
    25164 fileshare      22   0  162m  23m 6816 R  5.7  0.3   0:00.14 php
    25165 fileshare     25   0  162m  23m 6816 R  5.7  0.3   0:00.14 php
    25185 fileshare      25   0  158m  20m 6212 R  5.7  0.3   0:00.14 php
    25187 fileshare      22   0  162m  23m 6816 R  5.7  0.3   0:00.14 php
    25199 fileshare      22   0  161m  22m 6816 R  5.7  0.3   0:00.14 php
    25226 fileshare     25   0  161m  23m 6816 R  5.7  0.3   0:00.14 php
     7022 nobody     0 -19 31212  10m  500 S  5.3  0.1   5:32.23 litespeed
    25154 fileshare     25   0  158m  20m 6212 R  4.9  0.3   0:00.12 php
    25189 fileshare     22   0  158m  20m 6212 R  4.9  0.3   0:00.12 php
    25195 fileshare     19   0  158m  20m 6212 R  4.9  0.3   0:00.12 php
    25272 fileshare      22   0  158m  20m 6212 R  4.9  0.3   0:00.12 php
    
    [email protected] [~]# free -m
                 total       used       free     shared    buffers     cached
    Mem:          7975       6297       1677          0        243       3848
    -/+ buffers/cache:       2206       5768
    Swap:         2047          0       2047

  8. #8
    Join Date
    Oct 2009
    Location
    Florida
    Posts
    176
    It seems like your PHP processes are indeed using a lot of CPU time (with little iowait!), but you're not making much use of memory. Are you using a PHP opcode cacher like APC or XCache? If not, consider doing so; if so, consider allocating additional memory to it.

  9. #9
    Quote Originally Posted by InsDel View Post
    It seems like your PHP processes are indeed using a lot of CPU time (with little iowait!), but you're not making much use of memory. Are you using a PHP opcode cacher like APC or XCache? If not, consider doing so; if so, consider allocating additional memory to it.
    Looking into XCache now, thanks!

  10. #10
    Installed APC doesn't seem to make a difference

  11. #11
    Join Date
    May 2006
    Location
    San Francisco
    Posts
    7,200
    Is this multi-mirror script custom-coded or available online? The problem may lie within the code.

  12. #12
    It's Qooy, however the interface has been altered and recoded. Qooy is a script available online for purchasing. The upload functionality is still the same.

  13. #13
    Join Date
    May 2011
    Location
    Geneva, Switzerland
    Posts
    17
    load average: 128.58, 122.87, 118.59
    WOW! Never saw a load that was SO high. How many cores do you have in your server ?
    There are a LOT of php instances there; what does your script exactly do ? Maybe it would be worth considering a much lighter programming alternative. If it's just get/push you may consider taking a look to node.js.

Similar Threads

  1. Best Setup for My Situation? Multiple Servers or 1 powerful one?
    By MadDev in forum Hosting Security and Technology
    Replies: 7
    Last Post: 09-22-2007, 11:18 PM
  2. seeking powerful gallery script advice..
    By sross in forum Web Hosting Lounge
    Replies: 5
    Last Post: 05-20-2005, 08:35 PM
  3. What server setup is more powerful?
    By 2kau in forum Dedicated Server
    Replies: 8
    Last Post: 01-05-2005, 05:22 PM
  4. Replies: 6
    Last Post: 06-03-2003, 04:23 PM
  5. $0 SETUP - Powerful Servers
    By ryza in forum Dedicated Hosting Offers
    Replies: 0
    Last Post: 01-10-2003, 04:20 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
  •