Warning message

This translation is outdated. For the most up-to-date information, please refer to the English version.

大規模な NFS ディレクトリで ls コマンドがハングアップする

Solution Verified - Updated -

Issue

  • 200,000 以上のファイルやサブディレクトリが含まれる NFS ディレクトリで ls コマンドを実行すると、このコマンドが無限にハングアップします。
  • VM で直近 23 分間 ls からの応答がないので、CTRL-C を実行しました。
  • ディレクトリに多くのファイルが含まれている場合は NFS のファイル一覧の表示がハングしているか、実行が非常に遅くなります。
  • nfs 共有に 700,000 ものファイルが含まれていると /bin/ls コマンドのパフォーマンスが非常に遅くなります。

Environment

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.