Xfwm4: Fatal IO error 11 (Resource temporarily unavailable) on X server

Hi, Running the interactive application Fluent will kill VNC, error message is as follows, what is the cause?
OS environment
CentOS 7.6 x64

Setting VNC password...
Starting VNC server...

Warning: node002:1 is taken because of /tmp/.X11-unix/X1
Remove this file if there is no X server node002:1

Desktop 'TurboVNC: node002:2 (user01)' started on display node002:2

Log file is vnc.log
Successfully started VNC server on node002:5902...
Script starting...
Starting websocket server...
cmdTrace.c(713):ERROR:104: 'restore' is an unrecognized subcommand
cmdModule.c(411):ERROR:104: 'restore' is an unrecognized subcommand
+ fluent
/gfs/soft/ansys_inc/v202/fluent/fluent20.2.0/bin/fluent -r20.2.0

(xfwm4:3750): GLib-CRITICAL **: 17:28:27.919: g_str_has_prefix: assertion 'prefix != NULL' failed

(xfwm4:3750): xfwm4-WARNING **: 17:28:27.941: The property '/general/double_click_distance' of type int is not supported
WebSocket server settings:
  - Listen on :44380
  - Flash security policy server
  - No SSL/TLS support (no cert file)
  - Backgrounding (daemon)
Scanning VNC log file for user authentications...
Generating connection YAML file...
QStandardPaths: XDG_RUNTIME_DIR points to non-existing path '/run/user/1001', please create it with 0700 permissions.

(xfsettingsd:3850): GLib-CRITICAL **: 17:28:28.201: g_str_has_prefix: assertion 'prefix != NULL' failed

(xfsettingsd:3850): GLib-GObject-CRITICAL **: 17:28:28.202: g_value_get_string: assertion 'G_VALUE_HOLDS_STRING (value)' failed

(xfsettingsd:3850): GLib-GObject-CRITICAL **: 17:28:28.203: g_value_get_string: assertion 'G_VALUE_HOLDS_STRING (value)' failed
Setting VNC password...
Generating connection YAML file...
/gfs/soft/ansys_inc/v202/fluent/fluent20.2.0/bin/fluent -r20.2.0 2ddp -t8 -i /gfs/home/user01/Desktop/import_files//_read_fluent_case_.jou -nm -ssh
/gfs/soft/ansys_inc/v202/fluent/fluent20.2.0/cortex/lnamd64/cortex.20.2.0 -f fluent -nm -i /gfs/home/user01/Desktop/import_files//_read_fluent_case_.jou (fluent "2ddp -pshmem  -host -alnamd64 -r20.2.0 -t8 -mpi=intel -path/gfs/soft/ansys_inc/v202/fluent -ssh")

(xfwm4:3847): xfwm4-WARNING **: 17:28:52.850: Unmanaged net_wm_state (window 0xc00005, atom "_NET_WM_STATE_STAYS_ON_TOP")
Cleaning up...
Killing Xvnc process ID 3705
xfwm4: Fatal IO error 11 (Resource temporarily unavailable) on X server :2.
xfsettingsd: Fatal IO error 11 (Resource temporarily unavailable) on X server :2.
xfce4-panel: Fatal IO error 104 (Connection reset by peer) on X server :2.

Hi sorry for the delay. My guess is you’re running into resource constraints. Specifically probably memory. Can you check sacct (if you run Slurm) or similar to see what the exit code of the job was? (Slurm should tell you that it killed it because it went out of memory)

thanks,bc_osc_ansys_workbench environment.
script.sh use runwb2 does not have this problem. script.sh use fluen to cause this problem.
I later solved this by running fluent via runwb2.

1 Like