LoginSignup
2
2

More than 5 years have passed since last update.

linux > pthreadのスタックサイズ > 10MB @ CentOS6.5

Last updated at Posted at 2015-02-04

POSIXスレッドに関する本や資料を読んでいる中で、「1スレッドあたり8MBのスタック領域を使う」という記載があった。

CentOS6.5で確認したところ、8MBではなく10MBになっていた。

確認方法は

ulimit -s

として表示される値。

また、こちら に掲載されているpmapを使った確認方法でも10MB(10240KB)であった。

自分で設定を変更した覚えがないが、CentOS(またはLinuxカーネル)のバージョンアップにともないスタックサイズは変更になったのだろうか。

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2