Bug 51897 - threads-max has been lowered from 4000 -> 1024 as default
Summary: threads-max has been lowered from 4000 -> 1024 as default
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: kernel
Version: 1.0
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Arjan van de Ven
QA Contact: Brock Organ
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-08-16 16:52 UTC by Knut J BJuland
Modified: 2007-04-18 16:35 UTC (History)
0 users

(edit)
Clone Of:
(edit)
Last Closed: 2004-07-03 19:20:03 UTC


Attachments (Terms of Use)

Description Knut J BJuland 2001-08-16 16:52:05 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.78 [en] (X11; U; Linux 2.4.7-2 i686)

Description of problem:
Thdread-max has been lower as default to 1024, when it was 4024 with other
kernels

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. reboot machine
2.
3.
	

Actual Results:  threads-max is lower than before

Additional info:

I can echo 4024 > thread-max

Comment 1 Arjan van de Ven 2001-08-16 17:01:17 UTC
The default max threads value depends on the amount of memory actually.
The kernel uses the formula:

max_threads = mempages / (THREAD_SIZE/PAGE_SIZE) / 16;

which _should_ provide a reasonable default for your system.
Documenting this default change might be the best thing to do.


Note You need to log in before you can comment on or make changes to this bug.