0x20000 is too small on some systems, causing pthread_create() to fail. It turns out that predicting the right value is not trivial, so we can just bump it slightly instead.
Depends on D17348, but only to discover the issue in the first place.
Differential D17349
[seeder] Bump thread stacksize roqqit on Fri, Dec 13, 20:08. Authored by
Details
0x20000 is too small on some systems, causing pthread_create() to fail. It turns out that predicting the right value is not trivial, so we can just bump it slightly instead. Depends on D17348, but only to discover the issue in the first place. Supposedly setting ulimit -s or ulimit -Hs would allow you to reproduce, but this does not appear to work. If you have a borked environment that is enforcing large stack sizes, just run the seeder: ./bitcoin-seeder Without the patch it can break. With the patch, it works.
Diff Detail
Event TimelineThis comment was removed by Fabien.
Comment Actions Just bump the value because predicting it is proving to be difficult and time consuming |