How to speed up WordPress site




Fast WordPress Hosting:

A small example was a site, getting around 200 visits within a minute, this started around 90 wp-crons. It started to fill up in the queue for the CPU, which resulted in slower processing of the wp-cron.php. Not only did it become slower, but it also resulted in 150 PHP processes running in the background for that specific site. This took some CPU, but especially memory was used, because each process was taking 18 megabyte of memory, due to some hooks in the WP-Cron. So that minute, the memory usage for that specific site increased 2700 megabyte.

There was a PHP memory limit of 256 megabyte, but this memory limit is for each php process running, and since the WP-Cron starts another process, this means that it doesn’t hit the limit at all.

Since the server had a lot of memory it didn’t really matter at all, but let’s say a few sites on a server is running with this amount of memory, it will eat the memory pretty fast. There’s systems like CloudLinux that fixes this problem, because you allocate x amount of memory to each user, and when the user reaches this limit, it won’t use more. But this means if it’s executing something, it will become slower for the end user, because it’s not able to use more memory, so it will save the server indeed. But might slow down the site a lot.

Another way to fix this, is to disable the cron in the wp-config.php


Fuente – Source

How to speed up WordPress site

Necesitas ayuda con wp? Entonces WPVideo es tu sitio.
Encuentra lo que buscas entre cientos de miles de videos y experiencias personales de otros usuarios. Todos los que empezamos con wp deberíamos tener acceso a esta web, ojalá yo hubiera tenido algo así cuando empecé mi camino como webmaster 🙂
Pero ahora quiero y puedo poner esta web a vuestra disposición.
Disfrutadla 😉

Need help with wp? Then WPVideo is your site.
Find what you are looking for among hundreds of thousands of videos and personal experiences of other users. All of us who started with wp should have access to this website, I wish I had something like that when I started my journey as webmaster 🙂
But now I want and I can put this website at your disposal.
Enjoy it 😉

https://www.wpvideo.eu

Publicado en Soluciones (Problems solved), Wordpress y etiquetado , , , , , , .

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *