question

Sebastián Cañas avatar image
0 Likes"
Sebastián Cañas asked Jordan Johnson commented

Experimenter crashes on Citrix environment

Hi all,

A customer is running FlexSim on Citrix. It runs smoothly, but they are having problems with Experimenter, since it crashes when they try to run it.

error-flexim-1.png

error-flexim-2.png

Client computer information is as such:

  • Processor: Intel Xeon w-2133 CPU 3.6 Ghz
  • RAM: 32 GB
  • GPU: Nvidia Quadro p4000 8 GB

They found out that something related with XenDesktop of Citrix is causing the Experimenter to crash. From this post and this one, I know there is no test done on any virtualize environment, however, do you have any idea how to solve this issue? or could you recommend anything to try out or considered when FlexSim is used on a virtualize environment.

@Ben Wilson

Thanks!

FlexSim 23.0.0
citrixvirtualization machine
error-flexim-1.png (258.7 KiB)
error-flexim-2.png (465.2 KiB)
· 6
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Jordan Johnson avatar image
1 Like"
Jordan Johnson answered Jordan Johnson commented

Hi @Sebastián Cañas,

It's difficult to say with virtual environments because there are so many configurations for each environment. Here are some ideas:

  • Verify that FlexSim has permission to write the database file. The experimenter now uses an output file. When you click the run button, FlexSim attempts to create that file and to write a bunch of data to it. If for some reason the user doesn't have permission to create that file, then the Experimenter won't work.
  • Verify that no other software attempts to use that file while the Experimenter is running. Sometimes, there is anti-virus software or file-backup software that opens the file. If that happens, FlexSim won't be able to open the file for writing.
  • Verify that FlexSim has permission to bind listening sockets to ports 9000 through 9100. The child processes of FlexSim become servers that the main FlexSim process connects to. If they don't have permission to become servers on those sockets, or if those sockets are already taken by another process, then the Experimenter might not work.
  • Try running FlexSim as an administrator. Does the Experimenter work in that case?
  • Try running the Experimenter with only one CPU (on the Advanced tab). Does the Experimenter work in that case?
  • Try changing the path for the Experiment results file to the desktop. Does the Experimenter work in that case?
  • You can do some debugging. All the Experimenter functions that write to the database are in this node in the tree: MAIN:/project/library/Experimenter>behaviour/eventfunctions. Try adding breakpoints to "initializeDatabase" through "assertTask". Which of those functions are called before the crash? Which ones finish before the crash?

Let me know what you can find out.

· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.