Is it safe to delete the node-specific folders under ~/.MathWor​ks/Service​Host/ on Linux?

26 次查看(过去 30 天)
I am using MATLAB R2024 on a Linux environment, and I noticed that folders are being created under the path ~/.MathWorks/ServiceHost/, one for each node I run, and each folder is consuming a significant amount of disk space. Is it safe to delete these folders? If not, is there a way to reduce the disk space usage?

采纳的回答

Angelo Yeo
Angelo Yeo 2024-8-14
Hi Dong Hyuk,
(1) If you delete the MathWorks Service Host folders, it will reinstall them when it's launched.
(2) Is the storage size your only concern? How does it affect your workflow?
(3) What version of service host do you use? Starting with MathWorks Service Host v2024.6.0.6, the size of the Service Host directory does not scale up when the user's home directory is shared across multiple hosts. All hosts will utilize the same shared directory of the MathWorks Service Host without creating a new unique installation for each host. See the official answer below.
(4) Please reach out to Installation Support team for issues related to the MathWorks Service Host.
Contact Support
  2 个评论
Paul Raines
Paul Raines 2024-11-17,17:53
We have a 1000+ user academic site with Linux cluster where user home directories are on volume where each user has a 5GB quota. This creation of a hidden subdirectories of this size in user home dirs of this size is really a violation of excepted norms for the use of Linux home directories. This is even true for ~/.matlab which also gets into multiple gigabytes for some users. No application should need such "auto-generated" customization per user of such extreme size. This is just quite frankly a terrible and inefficient design flaw in the software development.
I have discovered if I create a root a ~/.MathWorks directory in a user's home dir they cannot write to it spits out a error about it being unwritable but Matlab still loads and seems to work fine in -nodisplay mode.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 File Operations 的更多信息

标签

产品


版本

R2024a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by