Weird: My wordpress/server hangs at the end of every month!

So I get an email the 1st of every month from users saying the website is down.

There seems to be a bit of a CPU and I/O spike at 12:00AM end of the month and no response from Apache (I guess).

Ubuntu 14.04 LTS Disk, Apache, Wordpress set up.

I've been rebooting the node every time and wondering if anyone knows what could be causing this. This wasn't happening on my old provider running similar set up but with CentOS.

Thanks

2 Replies

Log into the box & check your crontabs, for starters.

Like devnullNZ says, check your crontabs. How long has this been happening? Does it lock up your whole VPS or just Apache?

How much traffic and how many users do you have? It sounds like something is taking its sweet time. log rotate isn't really that resource intensive but then again, I don't know how much traffic you serve. WordPress itself has its own cron too and some plugins will tap into that to do maintenance. To compound the problem, WP's will only start when a user hits it. It could also be a rogue plugin. Use something like Advanced Cron Manager to check out what's going on.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct