Howdy, Stranger!

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

Advertise on LowEndTalk.com
Wordpress keeps crashing
New on LowEndTalk? Please read our 'Community Rules' by clicking on it in the right menu!

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

    Easy Website Backup Script: easybackup Extremely affordable FTP backup storage: 1Fichier

  • Do not restart Apache.



    Its your fault

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

    Janitor @ Netflix
    CORONAVIRUS ALERT

  • 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, Provider

    Wordpress crashes - well, that was very accurate.

    Thanked by 1WSS

    Clouvider Limited - Leading Hosting Provider & Connectivity Partner || Dedicated Server Sale - Our Latest LET Offer

    Cloud Web Hosting | SSD & SAS HA OnApp VPS | UK, NL & DE Dedicated Servers | Network Services | Colocation | Managed Services

  • 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

    GameDash, an AIO solution uniting billing, support & game server management platform.
    Visit our website or join our Discord to find out more.

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