I can't Stop MATLAB and matlab-proxy-app from my browser.
MATLAB instance is down but matlab-proxy-app shows MATALB Status as Stopping on status info screen.
In terminal I see repeating messages:
MATLABProxyApp - DEBUG - track_embedded_connector_state:: MATLAB Embedded Connector is up, not checking for any errors in MATLABs stderr pipe. Sleeping for 10 seconds...
During troubleshooting I found that there are MathWorksServiceHost services that still running after MATLAB is stopped.
Killing MathWorksServiceHost service allow matlab-proxy-app to change MATLAB status to 'Not running'.
After this it's possible to shutdown matlab-proxy-app too.
============================
Python and pip executables
python - None [31m X[0m
Recommendation: python is not installed. Please install python.
pip - /usr/local/bin/pip [32mOK[0m
pip 24.3.1 from /usr/local/lib/python3.11/dist-packages/pip (python 3.11)
python3 - /usr/local/bin/python3 [32mOK[0m
Python 3.11.10
============================
Xvfb
Xvfb - /usr/bin/Xvfb [32mOK[0m
============================
OS information
Linux
5.15.153.1-microsoft-standard-WSL2
Linux-5.15.153.1-microsoft-standard-WSL2-x86_64-with-glibc2.35
uname_result(system='Linux', node='cce96ba50a95', release='5.15.153.1-microsoft-standard-WSL2', version='#1 SMP Fri Mar 29 23:14:13 UTC 2024', machine='x86_64')
Summary
I can't Stop MATLAB and matlab-proxy-app from my browser.
MATLAB instance is down but matlab-proxy-app shows MATALB Status as Stopping on status info screen.
In terminal I see repeating messages:
MATLABProxyApp - DEBUG - track_embedded_connector_state:: MATLAB Embedded Connector is up, not checking for any errors in MATLABs stderr pipe. Sleeping for 10 seconds...
During troubleshooting I found that there are
MathWorksServiceHost
services that still running after MATLAB is stopped. KillingMathWorksServiceHost
service allow matlab-proxy-app to change MATLAB status to 'Not running'. After this it's possible to shutdown matlab-proxy-app too.Can you please take a look and investigate? ps_aux.txt log_INFO.txt
Browser(s) used
Chrome
Script output
============================ MATLAB
matlab - /usr/local/bin/matlab [32mOK[0m
============================ matlab-proxy-app
matlab-proxy-app - /usr/local/bin/matlab-proxy-app [32mOK[0m
============================ Python and pip executables
python - None [31m X[0m Recommendation: python is not installed. Please install python.
pip - /usr/local/bin/pip [32mOK[0m
pip 24.3.1 from /usr/local/lib/python3.11/dist-packages/pip (python 3.11)
python3 - /usr/local/bin/python3 [32mOK[0m
Python 3.11.10
============================ Xvfb
Xvfb - /usr/bin/Xvfb [32mOK[0m
============================ OS information
Linux 5.15.153.1-microsoft-standard-WSL2 Linux-5.15.153.1-microsoft-standard-WSL2-x86_64-with-glibc2.35 uname_result(system='Linux', node='cce96ba50a95', release='5.15.153.1-microsoft-standard-WSL2', version='#1 SMP Fri Mar 29 23:14:13 UTC 2024', machine='x86_64')
============================ Conda information
conda - None
============================ Installed packages
/bin/sh: 1: python: not found
============================ Environment variables
MWI_BASE_URL=/matlab MWI_MATLAB_STARTUP_SCRIPT=matlab.engine.shareEngine('MATLAB_GUI') MWI_APP_PORT=8888 MWI_LOG_FILE=/tmp/matlab_proxy_logs.txt MATLAB_IMAGE_VERSION=1.1.0_rc0_debug3 MATLAB_ENGINE_SESSION=MATLAB_GUI MWI_LOG_LEVEL=DEBUG
============================ matlab-proxy logs