Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with OpenID
Advertise on LowEndTalk.com

In this Discussion

Wordpress keeps crashing

Wordpress keeps crashing

stefemanstefeman Member

I am managing a wordpress site for a small non-profit women drivers association club, but lately we've had problems with sudden website crashes.. for some reason apache stops serving content 24-48 hours after each restart.

Comments

  • WHTWHT Member

    There is an magic tool called apache.log

    Misterhost.NET (aff) 30% OFF with coupon LET30

    Thanked by 1DianTama
  • Do you get any specific error on the browser?

  • alownalown Member

    Check Apache logs. That may very well point to php logs.

  • vishalpatelzvishalpatelz Member
    edited July 13

    Php Apache logs best Or post here for more fixings

  • florianbflorianb Member

    Good for you?

  • stefemanstefeman Member
    edited July 13

    None of you gets the joke? :( I actually got free domain name for this with sharkserve.rs

  • Not fun if you are joking on women drivers......

    PM me if you would like to apply for Chase Freedom/Chase Freedom Unlimited cards; I will pay you $50 for each successful application via my referral.

  • DewlanceVPSDewlanceVPS Member, Provider

    Do not restart Apache.

    Its your fault

    Cheap $9/Year Hosting(US/UK/Canada/ES) - Cheap Windows VPS Hosting from Dewlance & Linux Xen VPS at low price. PreMadeKb.com WHMCS/Blesta Readymade Knowledgebase
  • imokimok Member

    @DewlanceVPS said: Do not restart Apache.

    Its your fault

    What? I think he has to restart to restart Apache because it stops serving content.

  • quickquick Member
    edited July 13

    sudo apt-get remove apache2

    sudo apt-get install nginx

  • stefemanstefeman Member

    @quick said: sudo apt-get remove apache2

    sudo apt-get install nginx

    That worked. Thank you so much!

    Thanked by 2quick WSS
  • ClouviderClouvider Member, Provider

    Wordpress crashes - well, that was very accurate.

    Clouvider Leading UK Cloud Hosting solution provider || UK Dedicated Servers Sale || Tasty KVM Slices || Latest LET Offer

    Web hosting in Cloud | SSD & SAS True Cloud VPS on OnApp | Private Cloud | Dedicated Servers | Colocation | Managed Services

    Thanked by 1WSS
  • Honestly, man. What do you think this place is? If you're hosting websites, you should know that no one can truly help you without something useful (logs, error messages, SOMETHING, ANYTHING!).

  • @hackerman said: Honestly, man. What do you think this place is? If you're hosting websites, you should know that no one can truly help you without something useful (logs, error messages, SOMETHING, ANYTHING!).

    Yeah... and here's what's great about this:

    @quick posted his solution at 12:54 p.m. and @stefeman said it worked at 12:55 p.m. even though:

    @stefeman said: apache stops serving content 24-48 hours after each restart.

    Emphasis mine.

    :emoji shrug icon here:

    Thanked by 1quick
  • CConnerCConner Member, Provider

    Just make a cronjob that restarts apache every 12 hours xd

  • stefemanstefeman Member

    @CConner said: Just make a cronjob that restarts apache every 12 hours xd

    Now.. this guy gets it xD

    Thanked by 2Hxxx CConner
  • HxxxHxxx Member

    @CConner well said.

    Thanked by 1CConner
  • WSSWSS Member

    @Clouvider said: Wordpress crashes - well, that was very accurate.

    I thought "Well, no shit", but I like your wording much better.

  • doghouchdoghouch Member

    @imok said:

    @DewlanceVPS said: Do not restart Apache.

    Its your fault

    What? I think he has to restart to restart Apache because it stops serving content.

    Don't worry. He'll have Apache AutoBoot (tm) installed shortly.

    #WSSForked

  • Apache crashing means the processing is being overloaded, which hints to something malicious injected in your site or server that is causing the spike.

    First check your mailq and see if the server is sending out SPAM. Check your Apache visit and error logs for the time right before Apache stopped/crashed Install Wordfence/Sucuri Sitecheck to scan your site. Run a maldet scan on your site and file system to see if any malicious scripts are detected.

    Restarting Apache is not the solution, you got to find the real problem that's causing it.

    Thanked by 1Falzo
  • joereidjoereid Member

    Most likely someone is hammering the rpc script. This brings Web servers to their knees.

    Some people just rename or delete that script, but it's required for things like the mobile app and other stuff.

    You can setup fail2ban to block it if abused.

  • HxxxHxxx Member

    Sounds like a good way to start checking. Install Wordfence.

    @joereid said: Most likely someone is hammering the rpc script. This brings Web servers to their knees.

    Some people just rename or delete that script, but it's required for things like the mobile app and other stuff.

    You can setup fail2ban to block it if abused.

Sign In or Register to comment.