By m86
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?
Thanks.
Regards,
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
This comment has been deleted
Hey. Could not solve the problem? I have exactly the same problem, the server often crashes …
After a reboot, after a couple of days of work, the server again crashes and the error logs:
[ERROR] [abudhab.655340]: Failed to listen socket [/tmp/lshttpd/abudhab.sock]: No space left on device
[WARN] [UDS://tmp/lshttpd/abudhab.sock] Can not start this external application.
df -i and sudo ipcs -a have similar values, inodes use 1% and ipcs is empty…
I was able to “fix” this, by upping the numbers manually in openlitespeed:
Max SSL Connections 10000 lsphp Max Connections 100 PHP_LSAPI_CHILDREN 100
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.