Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Openlitespeed 503 - lsphp states: no space left on device but there is enough free space available on the server
I set up a server following the tutorial on: https://docs.litespeedtech.com/cloud/images/wordpress
I regularly get a 503 error; when I check the logs I see the following:
ERROR [lsphp]: Failed to listen socket [/tmp/lshttpd/lsphp.sock]: No space left on device WARN [uds://tmp/lshttpd/lsphp.sock] Can not start this external application.
However, there is plenty of space left when I check:
Filesystem Size Used Avail Use% Mounted on udev 2.0G 0 2.0G 0% /dev tmpfs 395M 628K 394M 1% /run /dev/vda1 78G 6.7G 71G 9% / tmpfs 2.0G 1.2M 2.0G 1% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup /dev/vda15 105M 3.6M 101M 4% /boot/efi /dev/loop0 1.5G 25M 1.3G 2% /tmp tmpfs 395M 0 395M 0% /run/user/0
Also, the image should have set the following limits:
Max SSL Connections 5000 10000 lsphp Max Connections 35 100 PHP_LSAPI_CHILDREN 35 100
However my limit are this:
max ssl connections 1000 (not even the 5000 as it should been standard?) lsphp Max Connections 35 PHP_LSAPI_CHILDREN=35
How come the image didn’t set those and can I just change them via the webadmin console?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×