Skip to content

Lag caused by amount of queries #977

@martijnpu

Description

@martijnpu

Hi,

We need to restart the server we use every 3-4 hours because the amount of lagg.
I've found the command /lwc admin report wich shows this:

30.01 13:34:55 [Server] INFO Version: 2.1.3-dev-e9744bb
30.01 13:34:55 [Server] INFO Running time: 1 hour 10 minutes 29 seconds
30.01 13:34:55 [Server] INFO Players: 5/50
30.01 13:34:55 [Server] INFO Item entities: 12/586
30.01 13:34:55 [Server] INFO Permissions API: VaultPermissions
30.01 13:34:55 [Server] INFO Currency API: VaultCurrency
30.01 13:34:55 [Server] INFO ==== Modules ====
30.01 13:34:55 [Server] INFO LWC v2.1.3-dev-e9744bb -> 49 registered modules
30.01 13:34:55 [Server] INFO ==== Database ====
30.01 13:34:55 [Server] INFO Engine: MySQL
30.01 13:34:55 [Server] INFO Protections: 28,741
30.01 13:34:55 [Server] INFO Queries: 2,359,738 | 557.99 / second
30.01 13:34:55 [Server] INFO ==== Cache ==== 
30.01 13:34:55 [Server] INFO Usage: 99.90%  ( 10050/10060 [10000+60] )
30.01 13:34:55 [Server] INFO Profile: 
30.01 13:34:55 [Server] INFO isKnownNull: 13,638,985 (3225.11 / second)
30.01 13:34:55 [Server] INFO getProtection: 9,750,181 (2305.55 / second)
30.01 13:34:55 [Server] INFO addKnownNull: 41,876 (9.90 / second)
30.01 13:34:55 [Server] INFO addProtection: 10,106 (2.39 / second)
30.01 13:34:55 [Server] INFO removeProtection: 26 (0.01 / second)

I'm suprised by the amount af queries, speceficly the 'isKnowNull'.
Is here a solution for this?

martijnpu

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions