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

27 ビュー (過去 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.
Walter Roberson
Walter Roberson 2024 年 11 月 17 日 19:00
I agree that a gigabyte "customization" folder does not make sense.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeFile Operations についてさらに検索

タグ

製品


リリース

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by