On a small VPS runing CyberPanel and NextCloud the NextCloud pages were loading forever. When checking the cyberpanel error log the following error stood out:
No request delivery notification has been received from LSAPI application, possible dead lock.
![No request delivery notification has been received from LSAPI application, possible dead lock. image 3 1024x498 - No request delivery notification has been received from LSAPI application, possible dead lock.](https://i0.wp.com/pcx3.com/wp-content/uploads/2022/03/image-3.png?resize=736%2C358&ssl=1)
After restarting the LiteSpeed service, NextCloud started loading but after a few minutes failed again with the same error. upon rechecking the error log again, I noticed that the LSWS service upon restart re-creates swap file and unlocks pid file [/tmp/lshttpd/lsphp.sock.pid]
![No request delivery notification has been received from LSAPI application, possible dead lock. image 4 - No request delivery notification has been received from LSAPI application, possible dead lock.](https://i0.wp.com/pcx3.com/wp-content/uploads/2022/03/image-4.png?resize=615%2C211&ssl=1)
but when going to the /tmp/lshttpd folder the last modified date wasn’t changed, indicating that for some reason (permissions) LiteSpeed failed to recreate them. For a quick fix, instead of changing the permissions, simply stop litespeed web service, rename the directory and restart litespeed. That way Litespeed recreates the entire lshttpd folder in /tmp.
service litespeed stop
mv /tmp/lshttpd/ /tmp/lshttpd1/
service litespeed start