Translated message

A translation of this page exists in English.

アプリケーションのスタックサイズを確認する方法

Solution In Progress - Updated -

Issue

  • 使用中のアプリケーションで、再帰関数と巨大なデータセットが原因でスタックオーバーフローが発生しました。
  • 調査したところ、limits.conf のスタックのリソース制限 10MB はアプリケーションにとって小さすぎることがわかりました。
  • スタック制限をより大きな値に変更した後、アプリケーションを再起動すると、問題は解消されました。
  • しかし、これは不必要に大きな値なのではという疑問が残ります。
  • アプリケーションが使用するスタックの量を知るにはどうすればよいですか?

Environment

  • すべての Red Hat Enterprise Linux

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content