Howdy, Stranger!

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


Wordpress keeps crashing
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

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

    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 2017

    Php Apache logs best
    Or post here for more fixings

  • Good for you?

  • stefemanstefeman Member
    edited July 2017

    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......

  • DewlanceVPSDewlanceVPS Member, Patron Provider

    Do not restart Apache.



    Its your fault

  • 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 2017

    sudo apt-get remove apache2

    sudo apt-get install nginx

  • @quick said:
    sudo apt-get remove apache2

    sudo apt-get install nginx

    That worked. Thank you so much!

    Thanked by 2quick WSS
  • ClouviderClouvider Member, Patron Provider

    Wordpress crashes - well, that was very accurate.

    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, Host Rep

    Just make a cronjob that restarts apache every 12 hours xd

  • @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.

  • @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.

  • 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
  • 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.