Bug 114379
Summary: | crash while calling pthread_cancel when creating more then 255 threads | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Yuval Carmel <yuvalc> |
Component: | glibc | Assignee: | Jakub Jelinek <jakub> |
Status: | CLOSED NOTABUG | QA Contact: | Brian Brock <bbrock> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 9 | CC: | fweimer |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-01-28 17:07:23 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Yuval Carmel
2004-01-27 14:36:11 UTC
Please note that the default thread stack size is usually 8M or 10M. You can easily do the math. Default thread size on IA-32 is ulimit -s value, unless it is unlimited, in which case it is 8MB. I can run (on FC1) up to 305 threads without tweaking thread stack sizes. They can be tweaked either by running the program with different ulimit -s, or through pthread_attr_{setstack,setstacksize}. Hope this helps. |