[WTB] Expert with VPS (Debian OS), PHP, MySQL, Apache2

Discussion in 'Site & Server Administration' started by WCMU101, Nov 29, 2011.

  1. #1
    I've recently moved a couple sites from shared hosting to VPS - I'm on the X2 Linux plan which you can view here http://www.ixwebhosting.com/vps-hosting.

    I've never done this stuff before so it was a bit of an adventure. Initially everything seemed to be working well. Then after a couple days the sites started running really slowly - like I'm talking >1min load times. Then I ran the optimisation script available here (http://aleembawany.com/2010/11/26/vps-configuration-for-apache-mysql-php/) and now the sites are loading much faster. However I'm still concerned. In Parallels Power Panel I have lots of resource alerts - even a couple red ones for counter_cpu_share_used. Our host said there were periods of time when our VPS was heavily loaded. Further, the apache error log is filling up fast (it is already quiet large ~ 18MB, after only a couple days). Most of the errors are 'file does not exist' errors - here is a snippet:

    
    [Mon Nov 28 19:32:59 2011] [error] [client 75.172.198.152] File does not exist: /var/www/sweetboxing.com/mgc_cb_evo_refresh.gif, referer: http://sweetboxing.com/showthread.php?t=12656
    [Mon Nov 28 19:32:59 2011] [error] [client 75.172.198.152] File does not exist: /var/www/sweetboxing.com/mgc_cb_evo_rules.gif, referer: http://sweetboxing.com/showthread.php?t=12656
    [Mon Nov 28 19:32:59 2011] [error] [client 75.172.198.152] File does not exist: /var/www/sweetboxing.com/mgc_cb_evo_help.gif, referer: http://sweetboxing.com/showthread.php?t=12656
    [Mon Nov 28 19:32:59 2011] [error] [client 75.172.198.152] File does not exist: /var/www/sweetboxing.com/mgc_cb_evo_full.gif, referer: http://sweetboxing.com/showthread.php?t=12656
    
    Code (markup):
    I don't know why this is happening. Those files exist, but in a different directory. And, from what I can tell, the referer page references the files in the correct directory. Also, it looks like most of the problems are coming from only a couple IP addresses. All up, I'm out of my league. I need someone to look at the error logs and tell me if anything suspect is going on.

    The sites usually have around 100-130 people browsing them at all times.

    I need a professional to take a look around, check I haven't stuffed up any settings, check the error logs and figure out what is going on, and give advice on the resource issue - can you fix it by changing some configurations. I do not have a control panel set up - this will put too much strain on resources.

    Please PM me if you are a professional in this area. Pay will be discussed via PM.

    Nick.
     
    WCMU101, Nov 29, 2011 IP
  2. kalseo

    kalseo Active Member

    Messages:
    733
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    80
    #2
    Nick, I think your website is infected. I have seen this previously. Blocking IPs may just fix the problem temporary. Generally the best is to contact your web hosting to see whats going on, but as I see who is your hosting service provider, most likely you will get inadequate response. Is your website based on WordPress as I have seen this error several times on blogs?
     
    kalseo, Dec 2, 2011 IP