Differences
This shows you the differences between two versions of the page.
litespeed_wiki:cloudlinux:litespeed-admin-503 [2017/06/02 18:37] Jackson Zhang created |
litespeed_wiki:cloudlinux:litespeed-admin-503 [2017/06/02 18:38] Jackson Zhang |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== LiteSpeed Admin returns 503 error on CloudLinux Server ====== | ====== LiteSpeed Admin returns 503 error on CloudLinux Server ====== | ||
- | LiteSpeed Admin URL returns 503 error and error log shows "cannot allocate memory". It is due to CloudLinux unlimited setting change. LiteSpeed Admin runs admin_php as "lsadm" user, normally set as "pmem=0K" in LVE, which means unlimited. However CloudLinux enforced "0K" as real "0" instead of "unlimited", hence execve() function will fail with "cannot allocate memory". | + | LiteSpeed Admin URL returns 503 error and error log shows "cannot allocate memory". It is due to CloudLinux unlimited setting change. LiteSpeed Admin runs admin_php as "lsadm" user, normally set as "pmem=0K" in LVE, which means unlimited. However CloudLinux enforced "0K" as real "0" instead of "unlimited", hence execve() function will fail with "cannot allocate memory". |
| | ||
Quick fix for this is: | Quick fix for this is: | ||
lvectl set-user lsadm --pmem=2G | lvectl set-user lsadm --pmem=2G | ||