Error posible dead lock pada cyberpanel litespeed mysql

Bismillaahirrohmaanirrohiim…

Jika web diakses oleh banyak orang, khususnya yang berbasis wordpress, maka secara normal proses query access ke mysql akan semakin meningkat, dengan konfigurasi standar bisa membuat website down dan bahkan sama sekali tidak dapat diakses.

Error yang muncul di log adalah “No request delivery notification has been received from LSAPI application, possible dead lock.”, ini sangat fatal menyebabkan web down meskipun cpu usage rendah, memory usage juga rendah.

Solusinya adalah mengedit konfigurasi server, php, dan mysqlnya.

Max Connections: 50
Environment: PHP_LSAPI_CHILDREN=50
             PHP_LSAPI_MAX_REQUESTS=500
             LSAPI_PGRP_MAX_IDLE=10
             LSAPI_AVOID_FORK=1
Initial Request Timeout (secs): 60
Connection Keep-Alive Timeout: 60
Memory Soft Limit (bytes): 4024M
Memory Hard Limit (bytes): 4024M
Process Soft Limit: 2400
Process Hard Limit: 2500

Pada server configuration set CPU Affinity menjadi 1.
Disable Gzip compression jika ada error database memory full.
Alternatif lainnya fix for database memory full error adalah dengan meningkatkan temporary file storage size.

Bagikan
Baca Juga:   [solved] generate SSL cyberpanel error

You May Also Like

About the Author: rasupe

Leave a Reply

Your email address will not be published. Required fields are marked *