We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have been seeing (using logging) that we tend to fall into some caugh exceptions when trying to exiting.
Here is the logging while exiting:
DEBUG - pymapdl_global - launcher - get_start_instance - PYMAPDL_START_INSTANCE is unset. Using default value True. DEBUG - GRPC_127.0.0.1:50052 - mapdl_grpc - exit - Exiting MAPDL DEBUG - GRPC_127.0.0.1:50052 - mesh_grpc - _reset_cache - Resetting cache INFO - GRPC_127.0.0.1:50052 - mapdl_core - run - PARAMETER = /home/ubuntu/tmp/tmp/mapdl DEBUG - GRPC_127.0.0.1:50052 - mesh_grpc - _reset_cache - Resetting cache INFO - GRPC_127.0.0.1:50052 - mapdl_core - run - PARAMETER = /home/ubuntu/tmp/tmp/mapdl DEBUG - GRPC_127.0.0.1:50052 - mapdl_grpc - _close_process - Closing processes DEBUG - GRPC_127.0.0.1:50052 - mapdl_grpc - _kill_server - Killing MAPDL server DEBUG - GRPC_127.0.0.1:50052 - mapdl_grpc - _ctrl - Issuing CtrlRequest "EXIT" with option "". DEBUG - GRPC_127.0.0.1:50052 - mapdl_grpc - _kill_process - Killing process using subprocess.Popen.terminate DEBUG - GRPC_127.0.0.1:50052 - mapdl_grpc - _kill_child_process - Killing MAPDL process: 9416 DEBUG - GRPC_127.0.0.1:50052 - mapdl_grpc - _kill_child_process - Process 9416 couldn't be killed in 2 seconds DEBUG - GRPC_127.0.0.1:50052 - mapdl_grpc - _kill_child_process - Killing MAPDL process: 9415 DEBUG - GRPC_127.0.0.1:50052 - mapdl_grpc - _kill_child_process - Process 9415 couldn't be killed in 2 seconds DEBUG - GRPC_127.0.0.1:50052 - mapdl_grpc - _kill_child_process - Killing MAPDL process: 9414 DEBUG - GRPC_127.0.0.1:50052 - mapdl_grpc - connectivity_callback - Channel connectivity changed to: ChannelConnectivity.IDLE DEBUG - GRPC_127.0.0.1:50052 - mapdl_grpc - _kill_child_process - Process 9414 killed properly. DEBUG - GRPC_127.0.0.1:50052 - mapdl_grpc - _kill_child_process - Killing MAPDL process: 9409 DEBUG - GRPC_127.0.0.1:50052 - mapdl_grpc - _kill_child_process - Process 9409 killed properly. DEBUG - GRPC_127.0.0.1:50052 - mapdl_grpc - _kill_child_process - Killing MAPDL process: 9195 DEBUG - GRPC_127.0.0.1:50052 - mapdl_grpc - _kill_child_process - Process 9195 killed properly. DEBUG - GRPC_127.0.0.1:50052 - mapdl_grpc - _kill_child_process - Killing MAPDL process: 9193 DEBUG - GRPC_127.0.0.1:50052 - mapdl_grpc - _kill_child_process - Process 9193 couldn't be killed in 2 seconds DEBUG - GRPC_127.0.0.1:50052 - mapdl_grpc - _ctrl - Issuing CtrlRequest "VERSION" with option "". DEBUG - GRPC_127.0.0.1:50052 - mapdl_grpc - connectivity_callback - Channel connectivity changed to: ChannelConnectivity.CONNECTING DEBUG - GRPC_127.0.0.1:50052 - mapdl_grpc - connectivity_callback - Channel connectivity changed to: ChannelConnectivity.TRANSIENT_FAILURE DEBUG - GRPC_127.0.0.1:50052 - errors - wrapper - Re-connection attempt 1 after waiting 0.150 seconds DEBUG - GRPC_127.0.0.1:50052 - mapdl_grpc - _ctrl - Issuing CtrlRequest "VERSION" with option "". DEBUG - GRPC_127.0.0.1:50052 - errors - wrapper - Re-connection attempt 2 after waiting 0.450 seconds DEBUG - GRPC_127.0.0.1:50052 - mapdl_grpc - _ctrl - Issuing CtrlRequest "VERSION" with option "". DEBUG - GRPC_127.0.0.1:50052 - errors - wrapper - Re-connection attempt 3 after waiting 1.350 seconds DEBUG - GRPC_127.0.0.1:50052 - mapdl_grpc - _ctrl - Issuing CtrlRequest "VERSION" with option "". DEBUG - GRPC_127.0.0.1:50052 - mapdl_grpc - is_alive - MAPDL instance is not alive because the channel is not 'IDLE' o 'READY'. DEBUG - GRPC_127.0.0.1:50052 - mapdl_grpc - _close_process - Closing processes DEBUG - GRPC_127.0.0.1:50052 - mapdl_grpc - _kill_server - Killing MAPDL server DEBUG - GRPC_127.0.0.1:50052 - mapdl_grpc - _ctrl - Issuing CtrlRequest "EXIT" with option "". DEBUG - GRPC_127.0.0.1:50052 - mapdl_grpc - _kill_process - Killing process using subprocess.Popen.terminate DEBUG - GRPC_127.0.0.1:50052 - mapdl_grpc - _kill_child_process - Killing MAPDL process: 9416 DEBUG - GRPC_127.0.0.1:50052 - mapdl_grpc - _kill_child_process - Process 9416 killed properly. DEBUG - GRPC_127.0.0.1:50052 - mapdl_grpc - _kill_child_process - Killing MAPDL process: 9415 DEBUG - GRPC_127.0.0.1:50052 - mapdl_grpc - _kill_child_process - Process 9415 killed properly. DEBUG - GRPC_127.0.0.1:50052 - mapdl_grpc - _kill_child_process - Killing MAPDL process: 9193 DEBUG - GRPC_127.0.0.1:50052 - mapdl_grpc - _kill_child_process - Process 9193 killed properly. DEBUG - GRPC_127.0.0.1:50052 - mapdl_grpc - is_alive - MAPDL instance is not alive because the channel is not 'IDLE' o 'READY'. DEBUG - GRPC_127.0.0.1:50052 - mapdl_grpc - is_alive - MAPDL instance is not alive because retrieving version failed with: Error: MAPDL server connection terminated unexpectedly while running: VERSION called by: _ctrl Suggestions: MAPDL *might* have died because it executed a not-allowed command or ran out of memory. Check the MAPDL command output for more details. Open an issue on GitHub if you need assistance: https://github.com/ansys/pymapdl/issues Error: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:50052: Failed to connect to remote host: connect: Connection refused (111) Full error: <_InactiveRpcError of RPC that terminated with: status = StatusCode.UNAVAILABLE details = "failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:50052: Failed to connect to remote host: connect: Connection refused (111)" debug_error_string = "UNKNOWN:Error received from peer {grpc_message:"failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:50052: Failed to connect to remote host: connect: Connection refused (111)", grpc_status:14, created_time:"2024-10-04T12:51:34.988171862+00:00"}" > DEBUG - GRPC_127.0.0.1:50052 - mapdl_grpc - _remove_lock_file - Removing lock file after exit.
Caugh exceptions are expensive, so we should avoid them as much as possible.
The text was updated successfully, but these errors were encountered:
mapdl.exit
germa89
Successfully merging a pull request may close this issue.
I have been seeing (using logging) that we tend to fall into some caugh exceptions when trying to exiting.
Here is the logging while exiting:
Caugh exceptions are expensive, so we should avoid them as much as possible.
The text was updated successfully, but these errors were encountered: