Error Messages

This topic lists error messages that you may encounter in Workbench.

Unable to connect to Solver Manager

Another application might be using the Solver Manager port (10002 by default). Try changing the port number by editing the Ansys.SolverManager.exe.config file located in the installation directory at \AISOL\Bin\<platform>.

If you are having difficulty launching other applications/editors, it is also possible that the Windows hosts file has been corrupted. Make sure that localhost is specified in the Windows <os drive>:\Windows\system32\drivers\etc\hosts file.

Warning at File: myxml, line 1, col 40, Encoding (utf-16, from XMLDecl or manually set) contradicts the auto-sensed encoding, ignoring it

The message is sometimes displayed in the Remote Solve Manager (RSM) log; you can ignore it.

System.IO.IOException: Too many open files

Many Linux distributions set a default maximum for the number of files a process can have open and this can be exceeded when solving some cases. You must increase the maximum number of open files allowed by editing limits.conf, which on most Linux distributions is found in /etc/security/limits.conf.

For example, adding the lines

# ANSYS file handle limits modification
*       soft    nofile  2048
*       hard    nofile  2048

to limits.conf sets the maximum number of open files to 2048 (the default on most Linux distributions is 1024). Increase the maximum number of open files allowed by powers of 2, trying 2048, 4096, 8192.

Further information can be found in the manual page for limits.conf, which can be accessed using the command man limits.conf on any Linux machine with the man command installed.

You can check the current limit by using the command ulimit -a in a bash shell session or limit in a tcsh shell session. In the output, the maximum number of open files is displayed under open files or descriptors, respectively.