[wp-trac] [WordPress Trac] #58817: Edit page in wordpress default editor cousing overload on 3 diffrent servers.
WordPress Trac
noreply at wordpress.org
Mon Jul 17 06:00:35 UTC 2023
#58817: Edit page in wordpress default editor cousing overload on 3 diffrent
servers.
--------------------------+-----------------------------
Reporter: 123nadav | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
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:
https://ibb.co/fNdYrxn
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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58817>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list