Applicable to:
- Plesk for Linux
Symptoms
- Plesk is installed on a CloudLinux server with LVE Manager.
-
When opening a website or webmail, the page fails to load with one of the following error messages:
CONFIG_TEXT: 508 Resource limit is reached
CONFIG_TEXT: 508 Insufficient Resource
-
The following message is logged in domain's log
/var/www/vhosts/system/example.com/logs/error_log:CONFIG_TEXT: mod_hostinglimits: Error on LVE enter: LVE(10598) HANDLER(fcgid-script)
Cause
The subscription system user has hit the Entry Processes limit defined in CloudLinux LVE Manager.
Resolution
Adjust the limit for the system user:
- Connect to your Plesk server via SSH.
-
Find the system user name (
login) of the domain (in the command below, replace example.com with the affected domain name):# plesk db "select name, login from domains join hosting on domains.id=hosting.dom_id join sys_users on hosting.sys_user_id=sys_users.id where name='example.com'"
+-------------+----------+
| name | login |
+-------------+----------+
| example.com | john_doe |
+-------------+----------+ -
Find the USER ID using the system user name from step 2:
# grep -i "john_doe" /etc/passwd
johndoe:x:10008:1003::/var/www/vhosts/example.com:/bin/false - Adjust the Entry Processes limit:
-
set your custom value:
# lvectl set 10008 –-maxEntryProcs=50 –save
where
- 10008 - UID of the subscription user;
- 50 - new number of connections. The default value is 20.
-
remove the limit:
# lvectl set 10008 --unlimited
-
- Connect to your Plesk server via SSH.
- Find the webmail USER ID:
-
for Roundcube
# grep -i roundcube_sysuser /etc/passwd
roundcube_sysuser:x:991:1007:roundcube webmail user:/usr/share/psa-roundcube:/usr/sbin/nologin -
for Horde
# grep -i horde_sysuser /etc/passwd
horde_sysuser:x:985:1009:horde webmail user:/usr/share/psa-horde:/usr/sbin/nologin
-
- Adjust the Entry Processes limit:
-
set your custom value:
# lvectl set 10008 –-maxEntryProcs=50 –save
where
- 10008 - UID of the subscription user;
- 50 - new number of connections. The default value is 20.
-
remove the limit:
# lvectl set 10008 --unlimited
-
Comments
Please sign in to leave a comment.