Need Help to make the server UP

Discussion in 'Site & Server Administration' started by zahidraf, Oct 12, 2010.

  1. #1
    I am running a IT Tech news blog on a dedicated server.

    Few time I am getting up to 250 to 500 conncorrent hit to my server and it goes down.

    I am running wordpress, with wp-cahce plugin

    I have Pentium core to due with 2 gb ram

    any idea and suggestion ?
     
    zahidraf, Oct 12, 2010 IP
  2. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #2
    Is this just a single site on the server? Are you using any control panel? What are your Apache error logs stating?

    Chris
     
    RHS-Chris, Oct 12, 2010 IP
  3. RonBrown

    RonBrown Well-Known Member

    Messages:
    934
    Likes Received:
    55
    Best Answers:
    4
    Trophy Points:
    105
    #3
    It's not enough information to make a definitive analysis, but I would say you have for too little RAM for a dedicated server. CPU and RAM and only a part of overall server performance, and apart from RAM your next biggest bottleneck (particularly if you are also running MySQL on the same server) will be your disk IO. It's not the most powerful CPU in the world and it's difficult to say whether it will be powerful enough, but until you add more ram and sort out your disks you won't be able to tell.

    When purchasing a dedicated server never get hung up on the CPU. RAM, RAM and more RAM is a good thing, then the disks (not size, but performance) with good RAID preferrably with a hardware raid controller, and THEN the CPU. When it comes to disks, 4No. 250GB drives in RAID 10 is much more preferable to a single 1TB or 2 TB drive. We run hundreds of servers and apart from our backup server and mail servers we could probably fit all the disk size that is actually used onto a couple of large drives. Disk size is one of least important things when it comes to selecting a dedicated server.
     
    RonBrown, Oct 12, 2010 IP
  4. Jamson

    Jamson Active Member

    Messages:
    403
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    60
    #4
    I suggest swapping Apache for something like nginx - much more light weight. If you don't have something like eAccelerator installed, look into that ASAP.
     
    Jamson, Oct 12, 2010 IP
  5. raffo77

    raffo77 Active Member

    Messages:
    234
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #5
    Hello,

    I tested your site, you run a dedicate server with cPanel WHM.
    You use Nginx 0.7.67 as reverse proxy in front of apache2.2

    Seams you use a firewall like IPCop 1.4.x

    You can solve your loading problem without change the server, just using a memorycache in wp and add mod_qos in your Apache configuration. Set to qos max 20 connection sim. for each ip and don't permit slow connections.
    But you can also limit connections in Nginx Configuration and don't install mod_qos.

    Now with your configuration you are vulnerable for PortScan and DDoS attack. This prodice load in your site. Fix this and you find the speed.

    I'm working in System Administration of Unix. If you want any help i can also doing for free. PM me.
     
    raffo77, Oct 13, 2010 IP