Issue
NodeJS or Python Selector gives such an error:
The received data is wrong. Contact support for resolution. Traceback (most recent call last):
File "/usr/share/l.v.e-manager/utils/cloudlinux-cli-user.py", line 16, in
cloudlinux_cli.main()
File "/usr/share/l.v.e-manager/utils/libcloudlinux.py", line 184, in main
self.check_license()
File "/usr/share/l.v.e-manager/utils/libcloudlinux.py", line 393, in check_license
if not self.licence.get_license_status():
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/cloudlinux/venv/lib64/python3.11/site-packages/cllicense/license_lib.py", line 28, in get_license_status
with subprocess.Popen(
^^^^^^^^^^^^^^^^^
File "/opt/alt/python311/lib64/python3.11/subprocess.py", line 1026, in _init_
self._execute_child(args, executable, preexec_fn, close_fds,
File "/opt/alt/python311/lib64/python3.11/subprocess.py", line 1885, in _execute_child
self.pid = _fork_exec(
^^^^^^^^^^^
BlockingIOError: [Errno 11] Resource temporarily unavailable
Environment
- NodeJS Selector
- Python Selector
Solution
Firstly, check if the affected user is hitting any LVE limits:
lveinfo -d --period=1h --by-fault=any --show-columns="ID,CPUf,EPf,PMemF,NprocF,IOf,IOPSf" -u user_name
If one does, you can remount CageFS for the affected user to get its processes restarted:
cagefsctl -m user_nameCheck more details about CageFS remount here: https://cloudlinux.zendesk.com/hc/en-us/articles/6151448049948-CageFS-remount-fixed-my-issue-but-support-states-that-CageFS-is-not-the-problem-why
If the issue's gone, it seems that some processes don't end up properly and are queueing. For such situations there's a possibility to set a timeout for the process - you can do it this way:
https://docs.cloudlinux.com/cloudlinuxos/command-line_tools/#hoster-1
Example of a command:
cloudlinux-selector set --json --interpreter=nodejs --run-script-timeout=60
Comments
0 comments
Please sign in to leave a comment.