503 Service Unavailable Virtual Server overloaded – high load (or servicing) in

Posted in: Newsmag
Post count: 15

Hi I have problem with my backend. It works very very slow and also sometimes I have 503 error.
I have called to my server operator and they told me that my index.php is poorly optimized.

Could You check this?

Thank You!

Post count: 9544

Did you
a) increase default memory in your wp-config.php file ?
b) turn off all plugins except visual composer to try to debug what might be causing overload?
c) optimize site for fewer queries, optimized photos, pagespeed, etc.

(a) is best thing to start with.

Post count: 15

Yes

Post count: 9544

TagdiV back on Monday.

On our site we actually turned off Visual Composer and using the beta ‘shim’ for homepage, and added function in functions.php to disable loading visual composer on post pages.

VC is a memory hog. On our server we were getting spikes going from .70 to 70 (!) — with quad Xeons 32GB RAM and gigabit switch.

You can also try some simple optimizations:
a) turn off the “related” posts “more by author” bottom of post pages
b) limit number of queries on home page – try to have no more than 10 blocks
c) try not using megamenu
d) try not using the flyout “you might like …”
e) on sidebars try using only one module type; try using module with text only vs thumbs.

All those things cut waaaaaaay back on queries.

Post count: 9544

In our case, these also helped a lot:
a) limit login attempts plugin, help stop ping bots from hackers
b) turn off XMLRPC entirely

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newsmag’ is closed to new topics and replies.