Faqs ¶
General FAQs ¶
All Platforms ¶
-
Do I need a license to run HQueue? ¶
No. HQueue itself does not require a license.
However, HQueue render and simulation jobs that launch Houdini, Mantra, and Karma require access to the appropriate licenses to run those applications.
-
What are the system requirements? ¶
The HQueue server can run on macOS, Windows, and Linux. The server machine should have at least 2 CPUs and 4GB of RAM. It should also have a decent network card to handle network traffic from client machines and other observers.
The HQueue client has the same system requirements as Houdini. See Houdini System Requirements.
-
What ports does HQueue use? ¶
The HQueue server listens for incoming connections on port 5000.
The HQueue clients listen for incoming connections on port 5001.
These ports must be opened in any local firewalls for the server and clients to communicate with each other.
-
Can I add the HQueue server machine as a client to the farm? ¶
Yes. It is possible to add the HQueue server machine as a client machine to the farm.
This is recommended for mini farms consisting of less than 10 client machines.
For larger farms a dedicated server machine is recommended since job processing can take away hardware resources (i.e. CPU, memory) from the HQueue server.
-
How do I register a network folder with HQueue? ¶
-
How do I submit render or simulation jobs to HQueue? ¶
See How to Submit Jobs.
-
What is $HQROOT? ¶
$HQROOT
is a variable that exists in the environment of a running job. It maps to a folder path that represents the main network folder registered in HQueue. Its value depends on the operating system of the client machine running the job.$HQROOT
can be used in any file or directory path parameter in HQueue Render and Simulation ROPs. For example, it can be used in the Target HFS parameter to specify a copy of Houdini that is installed in the main network folder.See Network Folders Configuration for more information.
-
What is $HQCLIENTARCH? ¶
$HQCLIENTARCH
is a variable that exists in the environment of a running job. It maps to a string representing the platform of the client machine running the job.Mac
$HQCLIENTARCH
translates tomacos-x86_64
on Intel macOS machines andmaos-arm64
on M1 macOS machines.Windows
$HQCLIENTARCH
translates towindows-x86_64
on Window machines.Linux
$HQCLIENTARCH
translates tolinux-x86_64
on Linux machines.$HQCLIENTARCH
is used by the Target HFS parameter in HQueue Render and Simulation ROPs. It allows users to specify a platform-independent path to a platform-dependent Houdin installation. This is only useful for farms that have a mix of macOS, Windows, and Linux client machines. -
How do I stop the HQueue server? ¶
Linux
To stop the server on a Linux machine running systemd, run:
sudo systemctl stop hqueue-server
If your machine does not use systemd, run:
cd /opt/hqueue sudo ./scripts/hqserverd stop
Mac
To stop the server on macOS, run:
sudo launchctl unload -F /Library/LaunchDaemons/com.sidefx.hqserver.plist
Windows
To stop the server on Windows, go to Control Panel ▸ Administrative Tools ▸ Services and stop the
HQueueServer
service. -
How do I restart the HQueue server? ¶
Linux
To restart the server on a Linux machine running systemd, run:
sudo systemctl restart hqueue-server
If your machine does not use systemd, run:
cd /opt/hqueue sudo ./scripts/hqserverd restart
Mac
To restart the server on macOS, run:
sudo launchctl unload -F /Library/LaunchDaemons/com.sidefx.hqserver.plist sudo launchctl load -F /Library/LaunchDaemons/com.sidefx.hqserver.plis
Windows
To restart the server on Windows, go to Control Panel ▸ Administrative Tools ▸ Services and restart the
HQueueServer
service. -
How do I stop the HQueue client on a client machine? ¶
Linux
To stop the client on a Linux machine running systemd, run:
sudo systemctl stop hqueue-client
If your machine does not use systemd, run:
cd /home/hquser/hqclient ./hqclientd stop
Mac
To stop the client on macOS, run:
sudo launchctl unload -F /Library/LaunchDaemons/com.sidefx.hqclient.plist
Windows
To stop the client on Windows, open a Windows Command Prompt with administrator privileges and in the command prompt, run:
cd C:\HQueueClient hqclientd.bat stop
-
How do I restart the HQueue client on a client machine? ¶
Linux
To restart the client on a Linux machine running systemd, run:
sudo systemctl restart hqueue-client
If your machine does not use systemd, run:
cd /home/hquser/hqclient ./hqclientd restart
Mac
To restart the client on macOS, run:
sudo launchctl unload -F /Library/LaunchDaemons/com.sidefx.hqclient.plist sudo launchctl load -F /Library/LaunchDaemons/com.sidefx.hqclient.plist
Windows
To restart the client on Windows, go to Windows Start menu ▸ Task Scheduler. In the Task Scheduler, look for the HQueueClient task, then RMB-click the task and choose End. Then RMB-click the task again and choose Run.
Alternatively, to restart the client on Windows, open a Command Prompt with administrator privileges and in the command prompt, run:
cd C:\HQueueClient hqclientd.bat restart
You can also restart the client on Windows by opening the Windows File Explorer, navigating to C:\HQueueClient and double-clicking the hqclientd.bat file.
-
How do I uninstall the HQueue client? ¶
Linux ¶
Use the Houdini Launcher to uninstall the HQueue client.
If the HQueue client was installed with the old Houdini installer, then instead follow the steps in the Old Houdini Installer tab to uninstall the client.
Houdini LauncherOld Houdini Installer-
In the Houdini Launcher, select HQueue in the product list.
-
Select the for the HQueue Client component and select Uninstall.
-
Select Yes in the confirmation dialog to proceed with the uninstall.
Note
The Launcher may leave behind the HQueue client configuration file,
hqnode.ini
, and log files,hqnode.log
anderrors.log
, in /path/to/hqclient. You can safely remove the /path/to/hqclient directory if you no longer require the configuration and log files.Note
If the
hquser
user account was created during installation, then the user account is removed by the Launcher during uninstallation.-
On a machine that uses systemd, open a terminal and run the following commands:
sudo systemctl stop hqueue-client sudo systemctl disable hqueue-client sudo rm /etc/systemd/system/hqueue-client.service sudo systemctl daemon-reload sudo rm -rf /home/hquser/hqclient
If the machine does not use systemd, open a terminal and run the following commands:
sudo /home/hquser/hqclient/hqclientd stop sudo rm -rf /home/hquser/hqclient
Replace
/home/hquser/hqclient
with the location of the HQueue Client installation. -
(optional) Unmount the network folder
-
This only applies if you chose the option to mount the network folder at install time for an old HQueue client installation.
-
Open
/etc/fstab
in a text editor and remove the line that contains the network folder mount point. Save the changes to the file. -
Then in a terminal run this command:
sudo umount -l /mnt/myShare
Replace
/mnt/myShare
with the actual mount point path.
-
-
(optional) Delete the
hquser
user account-
This only applies if you chose the option to create an
hquser
account at install time. -
Open a terminal and run these commands:
sudo /usr/sbin/userdel hquser sudo rm -rf /home/hqclient sudo /usr/sbin/groupdel hqgroup
-
macOS ¶
Use the Houdini Launcher to uninstall the HQueue client.
If the HQueue client was installed with the old Houdini installer, then instead follow the steps in the
Old Houdini Installer
tab to uninstall the client.Houdini LauncherOld Houdini Installer-
In the Houdini Launcher, select HQueue in the product list.
-
Select the for the
HQueue Client
component and select Uninstall. -
Select Yes in the confirmation dialog to proceed with the uninstall.
Note
The Launcher may leave behind the HQueue client configuration file,
/Library/HQueueClient/hqnode.ini
. You can safely remove the /Library/HQueueClient directory if you no longer require the configuration file.Note
If the
hquser
user account was created during installation, then the user account is removed by the Launcher during uninstallation.-
Delete the
hquser
user account (if one was created during installation)-
This only applies if you chose the option to create an
hquser
account at install time. -
Open a Terminal app and run these commands:
sudo dscl . delete /Groups/hqgroup sudo dscl . delete /Users/hquser rm -rf /Users/hquser
The
hquser
account must be deleted before uninstalling the HQueue client. Otherwise, on macOS 14.0+ versions, the uninstall will fail to remove some files in /Library/HQueueClient.
-
-
Uninstall the HQueue client:
-
Open a Terminal app and run the following commands:
cd /Library/HQueueClient sudo ./uninstall.sh
-
-
(optional) Unmount the network folder
-
This only applies if you chose the option to mount the network folder at install time for an old HQueue client installation.
-
Open
/etc/auto_master
in a text editor and remove the line that contains the textauto_hqshared
. Save the changes to the file. -
Then in a Terminal app run these commands:
sudo rm -f /etc/auto_hqshared* sudo automount -vc
-
Windows ¶
Use the Houdini Launcher to uninstall the HQueue client.
If the HQueue client was installed with the old Houdini installer, then instead follow the steps in the Old Houdini Installer tab to uninstall the client.
Houdini LauncherOld Houdini Installer-
In the Houdini Launcher, select HQueue in the product list.
-
Select the for the HQueue Client component and select Uninstall.
-
Select Yes in the confirmation dialog to proceed with the uninstall.
Note
The Launcher may leave behind the HQueue client configuration file,
C:/HQueueClient/hqnode.ini
. You can safely remove the C:/HQueueClient directory if you no longer require the configuration file.-
Open Windows File Explorer and navigate to C:\HQueueClient.
-
In the folder locate and double-click
Uninstall HQueue Client.exe
to launch the uninstaller. -
Follow the instructions in the uninstaller to uninstall the HQueue client.
-
-
How do I uninstall the HQueue server? ¶
Note
Uninstall all HQueue clients before uninstalling the HQueue server.
Linux ¶
Use the Houdini Launcher to uninstall the HQueue server.
If the HQueue server was installed with the old Houdini installer, then instead follow the steps in the Old Houdini Installer tab to uninstall the server.
Houdini LauncherOld Houdini Installer-
In the Houdini Launcher, select HQueue in the product list.
-
Select the for the HQueue Server component and select Uninstall.
-
Select Yes in the confirmation dialog to proceed with the uninstall.
Note
The Launcher may leave behind the HQueue server configuration files,
hqserver.ini
andnetwork_folders.ini
in the /opt/hqueue directory. The Launcher may also leave behind backup copies of the HQueue Server database. You can safely remove the /opt/hqueue directory if you no longer require these files.On a machine that uses systemd, open a terminal and run the following commands:
sudo systemctl stop hqueue-server sudo systemctl disable hqueue-server sudo rm /etc/systemd/system/hqueue-server.service sudo systemctl daemon-reload sudo rm -rf /opt/hqueue
If the machine does not use systemd, open a terminal and run the following commands:
cd /opt/hqueue sudo ./scripts/hqserverd stop cd - sudo rm -rf /opt/hqueue
macOS ¶
Use the Houdini Launcher to uninstall the HQueue server.
If the HQueue server was installed with the old Houdini installer, then instead follow the steps in the Old Houdini Installer tab to uninstall the server.
Houdini LauncherOld Houdini Installer-
In the Houdini Launcher, select HQueue in the product list.
-
Select the for the HQueue Server component and select Uninstall.
-
Select Yes in the confirmation dialog to proceed with the uninstall.
Note
The Launcher may leave behind the HQueue server configuration files,
hqserver.ini
andnetwork_folders.ini
in the /Library/HQueueServer directory. The Launcher may also leave behind backup copies of the HQueue Server database. You can safely remove the /Library/HQueueServer directory if you no longer require these files.Open a Terminal app and run the following commands:
cd /Library/HQueueServer sudo ./uninstall.sh
Windows ¶
Use the Houdini Launcher to uninstall the HQueue server.
If the HQueue server was installed with the old Houdini installer, then instead follow the steps in the Old Houdini Installer tab to uninstall the server.
Houdini LauncherOld Houdini Installer-
In the Houdini Launcher, select HQueue in the product list.
-
Select the for HQueue Server component and select Uninstall.
-
Select Yes in the confirmation dialog to proceed with the uninstall.
Note
The Launcher may leave behind the HQueue server configuration files,
hqserver.ini
andnetwork_folders.ini
in the C:/HQueueServer directory. The Launcher may also leave behind backup copies of the HQueue Server database. You can safely remove the C:/HQueueServer directory if you no longer require these files.-
Open Windows File Explorer and navigate to C:\HQueueServer.
-
In the folder locate and double-click
Uninstall HQueue Server.exe
to launch the uninstaller. -
Follow the instructions in the uninstaller to uninstall the HQueue server.
-
macOS ¶
-
How do I add a macOS client machine to the farm? ¶
See adding a macOS client in the installation guide.
-
How do I install a copy of Houdini to a location in the network folder? ¶
To install Houdini to a location in the network folder:
-
First download and install the Houdini Launcher.
-
Open a Terminal app and type:
cd /Applications/Houdini Launcher.app/Contents/MacOS # Run the Houdini Launcher's command line interface to install Houdini. # NOTE: This assumes that the network folder is mounted at # /Volumes/myShare and that Houdini is to be installed in the standard # "houdini_distros" folder. sudo ./houdini_installer install --product "Houdini" --version X.Y.ZZZ --settings-file /path/to/launcher_settings.ini --accept-EULA=SideFX-20XX-XX-XX --installdir /Volumes/myShare/houdini_distros/HoudiniX.Y.ZZZ # Create a non-versioned symbolic link to the Houdini distro. # NOTE: Houdini render and simulation jobs by default look for Houdini # at "$HQROOT/houdini_distros/hfs.$HQCLIENTARCH" where $HQROOT maps to # the network folder mount point and $HQCLIENTARCH maps to # "macosx-x86_64" for macOS machines. cd /Volumes/myShare/houdini_distros rm -f hfs.macosx-x86_64 ln -sf HoudiniX.Y.ZZZ/Frameworks/Houdini.framework/Versions/Current/Resources hfs.macosx-x86_64
See Houdini Launcher - Scripting installations for more information on installing Houdini from the command line.
-
-
How do I modify the HQueue client to run with a different user account post-installation? ¶
To change the HQueue client’s user account:
-
Open
/Library/LaunchDaemons/com.sidefx.hqclient.plist
in a text editor. -
Locate this line:
<string>hquser</string>
and replace it with:
<string>MyUser</string>
where
MyUser
is the username of the desired user account.-
Save the changes to the file.
-
Then run these commands in a terminal:
# Stop the HQueue client service. sudo launchctl unload -F /Library/LaunchDaemons/com.sidefx.hqclient.plist # Change ownership to MyUser for the HQueue client files. sudo chown -R MyUser /Library/HQueueClient sudo chown -R MyUser /Library/Logs/HQueueClient # Restart the HQueue client service. sudo launchctl load -F /Library/LaunchDaemons/com.sidefx.hqclient.plist
-
Windows ¶
-
How do I add a Windows client machine to the farm? ¶
See adding a Windows client in the installation guide.
-
How do I install a copy of Houdini to a location in the network folder? ¶
To install Houdini to a location in the network folder:
-
First download and install the Houdini Launcher.
-
Open a Windows command prompt and type:
cd C:\Program Files\Side Effects Software/Launcher # Run the Houdini Launcher's command line interface to install Houdini. # # NOTE: This assumes the network folder is mapped at H: and # Houdini is to be intalled in the standard "houdini_distros" folder. # # NOTE: HQueue render and simulation jobs by default look for Houdini # at "$HQROOT/houdini_distros/hfs.$HQCLIENTARCH" where $HQROOT maps to # the network folder and $HQCLIENTARCH maps to "windows-x86_64" for # Windows machines. houdini_installer.exe install --product "Houdini" --version X.Y.ZZZ --settings-file C:\path\to\launcher_settings.ini --accept-EULA=SideFX-20XX-XX-XX --installdir H:\houdini_distros\hfs.windows-x86_64
See Houdini Launcher - Scripting installations for more information on installing Houdini from the command line.
-
-
How do I modify the HQueue client to run with a different user account? ¶
To change the HQueue client’s user account:
-
Go to Windows Start menu ▸ Task Scheduler.
-
In the Task Scheduler, look for the HQueueClient task, then the task and choose End.
-
Then the task again and choose Properties.
-
In the Properties dialog, click the Change User or Group… button. Enter the desired username in the text field. You can even click on the Check Names button to verify the username.
-
Click OK and then OK again to save the changes and close the dialogs.
-
In the Task Scheduler, the HQueueClient task and choose Run to restart the client.
-
Linux ¶
-
How do I add a Linux client machine to the farm? ¶
See adding a Linux client in the installation guide.
-
How do I install a copy of Houdini to a location in the network folder? ¶
To install Houdini to a location in the network folder:
-
First download and install the Houdini Launcher.
-
Open a terminal and type:
cd /opt/sidefx/launcher/bin # Run the Houdini Launcher's command line interface to install Houdini. # # NOTE: This assumes the network folder is mounted at /mnt/myShare # and Houdini is to be intalled in the standard "houdini_distros" # folder. sudo ./houdini_installer install --product "Houdini" --version X.Y.ZZZ --settings-file /path/to/launcher_settings.ini --accept-EULA=SideFX-20XX-XX-XX --installdir /mnt/myShare/houdini_distros/hfsX.Y.ZZZ-linux-x86_64 # Create a non-versioned symbolic link to the Houdini installation. # # NOTE: HQueue render and simulation jobs by default look for Houdini # at "$HQROOT/houdini_distros/hfs.$HQCLIENTARCH" where $HQROOT maps to # the network folder and $HQCLIENTARCH maps to "linux-x86_64" for # Linux machines. cd /mnt/myShare/houdini_distros ln -sf hfsX.Y.ZZZ-linux-x86_64 hfs.linux-x86_64
See Houdini Launcher - Scripting installations for more information on installing Houdini from the command line.
-
Troubleshooting FAQs ¶
All Platforms ¶
-
HQueue becomes slow after adding X number of client machines to the farm. ¶
If HQueue becomes slow after adding a large number of client machines then it is possible that the server machine is unable to handle the amount of network traffic on the farm. Adding a redundant network card (NIC) to the server machine can help handle network bandwidth and bring HQueue back to a more responsive state.
-
My job has the
abandoned
status ¶If a job is marked as
abandoned
and it staysabandoned
then there are a couple of possible causes:-
The HQueue client machine assigned to the job was terminated. In this case, restart the HQueue client and reschedule the
abandoned
job. -
The HQueue client machine assigned to the job can no longer connect to the HQueue server. In this case, check if network connections from the client machine to the server are possible. This can be tested by opening a web browser on the client machine and navigating to the HQueue server URL,
http://serverMachine:5000
.Once networking connection issues are resolved the HQueue client will be able to contact the HQueue server and the job will move out of the
abandoned
status.
-
-
My job is jumping between
abandoned
andrunning
statuses ¶If a job jumps between the
abandoned
and therunning
statuses then it is likely that the client machine assigned to the job has multiple HQueue Clients running and conflicting with each other.To fix this error kill all HQueue client processes on the client machine and restart the HQueue client.
-
Restarting a client machine from the web interface fails with “Invalid username or password”. ¶
Note
This FAQ only applies to macOS and Linux client machines. Restarting from the web interface is not possible for Windows client machines.
HQueue requires a valid username and password in order to remotely connect to the client machine and restart the HQueue client.
To fix an “Invalid username or password” error:
-
Go to the Clients page on the web interface and click on the client machine name to view the machine’s details.
-
On the next page, click on
Set Username and Password
inside theRemote Login
section. -
Set the
Username
andPassword
fields to the username and password of the user account that runs the HQueue client on the client machine. -
Click
Save
to complete setting the registered username and password.
-
macOS ¶
-
My job fails with a “Permission denied” error when it tries to access files from the network folder. ¶
A “Permission denied” error indicates the HQueue client, which runs with a generic
hquser
user account, does not have permission to access the network folder.To fix this error, change the user account running the HQueue client to a macOS user account with access to the network folder. This must be done on the client machine that failed the job. For details, see this FAQ.
-
Multiple HQueue clients are running on a client machine. ¶
Note
Only one HQueue client listening on port 5001 can run on a machine.
If multiple HQueue clients are running then do the following:
-
Stop the HQueue client
Open a Terminal app and type the following:
sudo launchctl unload -F /Library/LaunchDaemons/com.sidefx.hqclient.plist
-
Kill additional HQueue client processes
In a terminal, list the additional HQueue client processes with this command:
ps -ef | grep hqnode.py
Note
HQueue client processes can be identified by the
hqnode.py
Python script file.The command output will show the ids of the processes, typically in the 2nd column.
Then kill the HQueue client processes by their ids by running this terminal command:
killall -9 <process_id1> <process_id2> ...
-
Restart the HQueue client
Open a Terminal app and type the following:
sudo launchctl load -F /Library/LaunchDaemons/com.sidefx.hqclient.plist
-
Windows ¶
-
My job fails with an “Access is denied” error when it tries to access files from the network folder. ¶
An “Access is denied” error indicates that the HQueue client does not have permission to access the network folder.
To fix this error, change the user account running the HQueue client to a Windows user account with access to the network folder. This must be done on the client machine that failed the job. For details, see this FAQ.
-
My job fails with a “The system cannot find the path specified.” error. ¶
A “cannot find the path” error indicates that the HQueue client cannot locate a file or folder on disk. This can happen for a number of reasons, however, if you are working with mapped network drives, then it is likely that the HQueue client does not have access to a mapped network drive. In this case, first ensure that the task runs with a Windows user account that has access to the mapped network drives. For details on how to do this, see this FAQ. Then register mapped network drives with the HQueue client configuration file as described here and restart the HQueue client.
-
My job fails with a “Cannot find file” error when loading a .hip file from the network folder. ¶
A “Cannot find file” error can indicate that the HQueue client cannot see the network folder.
To fix this error, change the user account running the HQueue client to a Windows user account with access to the network folder. This must be done on the client machine that failed the job. For details, see this FAQ.
-
Multiple HQueue clients are running on a client machine. ¶
Note
Only one HQueue client listening on port 5001 can run on a machine.
If multiple HQueue clients are running then do the following:
-
Stop the HQueue client
Go to the client machine and open a Windows Command Prompt window. In the Command Prompt window, run the following commands:
C: cd HQueueClient hqclientd.bat stop
-
Kill additional HQueue client processes
Open the Windows Task Manager. In the Processes list, kill all
python*.exe
processes by on each matching process and choosing End task. -
Restart the HQueue client
Follow the instructions here to restart the HQueue client.
-
Linux ¶
-
I rebooted a client machine and now it is no longer active on the farm. ¶
-
If your machine is using systemd, make sure that the hqueue-client service is enabled and started:
sudo systemctl enable hqueue-client sudo systemctl start hqueue-client
If the machine still does not appear, inspect the logs of the service:
journalctl -b --no-pager -u hqueue-client
-
If your machine does not use systemd, the HQueue client is not automatically setup as a registered daemon. This means that when the client machine is rebooted the HQueue client does not automatically start up during the machine’s boot sequence.
You need to manually restart the HQueue client after a reboot. See this FAQ for restarting the HQueue client.
Alternatively, you could configure the HQueue client as a registered daemon to automatically start up after a reboot.
For example, if your Linux operating system supports
initd
to manage the initialization of daemons then you can run these terminal commands to register the HQueue client:sudo ln -sf /home/hquser/hqclient/hqclientd /etc/init.d/hqclientd sudo update-rc.d hqclientd defaults
Replace
/home/hquser/hqclient
with the location of the HQueue client installation.
-
-
Multiple HQueue clients are running on a client machine. ¶
Note
Only one HQueue client listening on port 5001 can run on a machine.
If multiple HQueue clients are running then do the following:
-
Stop the HQueue client
If your machine uses systemd, open a terminal and type the following:
sudo systemctl stop hqueue-client
If your machine does not use systemd, open a terminal and type the following:
cd /home/hquser/hqclient ./scripts/hqclientd stop
Replace
/home/hquser/hqclient
with the location of the HQueue client installation. -
Kill additional HQueue client processes
In a terminal, list the additional HQueue client processes with this command:
ps -ef | grep hqnode.py
Note
HQueue client processes can be identified by the
hqnode.py
Python script file.The command output will show the ids of the processes, typically in the 2nd column.
Then kill the HQueue client processes by their ids by running this terminal command:
killall -9 <process_id1> <process_id2> ...
-
Restart the HQueue client
If your machine uses systemd, type the following:
sudo systemctl start hqueue-client
If your machine does not use systemd, type the following:
cd /home/hquser/hqclient ./scripts/hqclientd start
-