QLC Stops calling shell scripts
Posted: Fri Jul 07, 2023 1:31 am
I'm using shell scripts to control LED lights using the WLED API, I trigger the .sh scripts from QLCPlus scripts fixtures, all works perfectly but after a while of operating the scripts begin to fail and I see the below in the command line which I've launched QLC from using the below command.
qlcplus --open /home/cookeub/Downloads/DiscoLights.qxw --web --operate
Error seen once script fails.
QProcessPrivate::createPipe: Cannot create pipe 0x7f24d0108320 (Too many open files)
QProcessPrivate::createPipe: Cannot create pipe 0x7f24d0108860 (Too many open files)
QProcessPrivate::createPipe: Cannot create pipe 0x7f24d0108c70 (Too many open files)
QProcessPrivate::createPipe: Cannot create pipe 0x7f24d0108ea0 (Too many open files)
QProcessPrivate::createPipe: Cannot create pipe 0x7f24d0109180 (Too many open files)
QProcessPrivate::createPipe: Cannot create pipe 0x7f24d0109380 (Too many open files)
QProcessPrivate::createPipe: Cannot create pipe 0x7f24d0106570 (Too many open files)
Anyone got any ideas? Attached is the workspace below the script syntax (won't let me attach)
#!/bin/bash
set -e
curl -X POST "http://192.168.1.115/json/state" -d '{"ps":21}' -H "Content-Type: application/json"
exit 0
qlcplus --open /home/cookeub/Downloads/DiscoLights.qxw --web --operate
Error seen once script fails.
QProcessPrivate::createPipe: Cannot create pipe 0x7f24d0108320 (Too many open files)
QProcessPrivate::createPipe: Cannot create pipe 0x7f24d0108860 (Too many open files)
QProcessPrivate::createPipe: Cannot create pipe 0x7f24d0108c70 (Too many open files)
QProcessPrivate::createPipe: Cannot create pipe 0x7f24d0108ea0 (Too many open files)
QProcessPrivate::createPipe: Cannot create pipe 0x7f24d0109180 (Too many open files)
QProcessPrivate::createPipe: Cannot create pipe 0x7f24d0109380 (Too many open files)
QProcessPrivate::createPipe: Cannot create pipe 0x7f24d0106570 (Too many open files)
Anyone got any ideas? Attached is the workspace below the script syntax (won't let me attach)
#!/bin/bash
set -e
curl -X POST "http://192.168.1.115/json/state" -d '{"ps":21}' -H "Content-Type: application/json"
exit 0