LWC icon indicating copy to clipboard operation
LWC copied to clipboard

LWC Admin Cleanup causing lag and not cleaning up after itself.

Open mibby opened this issue 9 years ago • 6 comments

@Hidendra

LWC v4.5.0-SNAPSHOT dev build 938

/lwc admin cleanup is causing some severe performance issues and not "cleaning up" after itself when it loads all the protections to check if they are still valid.

link

You can see that when I ran the cleanup command, 25,000 entities and 133,000 tiles loaded. Before the cleanup command, it was only 3,000 and 7,000 respectively. So the cleanup command is not correctly unloading all the protections after checking, causing massive tick drop and requiring a restart after the command is initiated.

Shouldn't the cleanup command run in phases to prevent lag and correctly unload what it needs to after checking?

mibby avatar Aug 31 '15 04:08 mibby

Well to be fair it has to check 133,722 tiles. Why do you have so many tiles :laughing:

Time6628 avatar Sep 30 '15 15:09 Time6628

Because I operate a large community with thousands of protections?

mibby avatar Sep 30 '15 22:09 mibby

That would be why then.

Time6628 avatar Sep 30 '15 23:09 Time6628

For some reason I'm getting the bug reported https://github.com/Hidendra/LWC/issues/752 and https://github.com/Hidendra/LWC/issues/835

ghost avatar Jan 03 '16 23:01 ghost

have you test by increasing the cache, and removing all the dead world protections: /lwc admin deleteprotections world='World1'

saturnux avatar Feb 10 '16 10:02 saturnux

i also have a similar issue/question: when i run the command it says i have 1556 protections, but only checks 1500 of them? what gives?

[05:51:25] [Server thread/INFO]: lwc admin cleanup
[05:51:25] [Server thread/INFO]: You have: 1556 protections. 
[05:51:25] [Server thread/INFO]: This may take a while depending on how many protections you have
[05:51:25] [Craft Scheduler Thread - 119/INFO]: Processing cleanup request now in a separate thread
[05:51:26] [Craft Scheduler Thread - 119/INFO]: Cleanup @ 80% [ 1250/1556 protections ] [ removed 0 protections ]
[05:51:26] [Craft Scheduler Thread - 119/INFO]: Cleanup completed. Removed 0 protections out of 1500 checked protections.

leasoncre avatar Mar 22 '16 11:03 leasoncre