Make WordPress Core

Opened 12 months ago

#58817 new defect (bug)

Edit page in wordpress default editor cousing overload on 3 diffrent servers.

Reported by: 123nadav's profile 123nadav Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:


Hello guys, how are you?
I think i found something very wired and i not so sure issue connected to the core, but it is worth a try.

I have 3 different machines on Google cloud, dedicated machine for 1 WordPress site. (e2-micro machine)

All my 3 websites identical with the same design, theme, plugins and code.

The only different between them is the language of WordPress.

The problem is, i am experience overload on all the machines when editing a page in the default WordPress editor.
Even if i only get in the default editor and only refresh the editor (F5), i get overload on my machine.
I notice jumps of 150mb – 200mb when i refreshing the page.

What causing kswapd0 to be triggered on my server and this is look like this:

In the start all the 3 VMs was experience the same overload.
I was suspect on the post revision + autosave and wp-cron.

So, i limit the time of wp-cron and turn off the post revision completely + autosave for 1 day in wp-config:
define( 'AUTOSAVE_INTERVAL', 86400 );

define( 'WP_POST_REVISIONS', false );

define( 'WP_CRON_LOCK_TIMEOUT', 60 );

This helps a lot for all the 3 websites in general.
But still i was getting overload on 2 different machines.
Only in my English, WordPress not experience overload anymore. (this way i think isiue is with the language of WordPress as well)

My other 2 WordPress websites in different language experience overload after 24 any time i am editing a page… (the other WordPress is in Catalan and Spanish)

So for the final conclusion:

  1. I suspect in Autosave, because issue happens after 24 hours (i change the wp-config).
  2. I think it is a language issue too. (websites identical as i said before)
  3. In the English WordPress, we not experience the overload (we're still seeing 150 – 200mb when refreshing the page, but don't have overload).
  4. Why when i refresh the default page editor it consumes 150mb – 200mb?

Be happy for your help guys.

Change History (0)

Note: See TracTickets for help on using tickets.