From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fc89c,bf2ea6865e8fab59 X-Google-Attributes: gidfc89c,public X-Google-Thread: fee84,bf2ea6865e8fab59 X-Google-Attributes: gidfee84,public X-Google-Thread: 10650a,bf2ea6865e8fab59 X-Google-Attributes: gid10650a,public From: heiby_u@falkor.chi.il.us (Ron Heiby) Subject: Re: Lots of Threads = Death? Date: 1998/05/05 Message-ID: <355120c7.4143478@149.174.211.108>#1/1 X-Deja-AN: 350485060 Content-Transfer-Encoding: 7bit References: <35464b25.29547822@149.174.211.108> <35472D6A.145BBC1A@brighttiger.com> Content-Type: text/plain; charset=us-ascii Organization: Strategis Consulting Inc. MIME-Version: 1.0 Newsgroups: comp.unix.osf.osf1,comp.unix.internals,comp.unix.programmer I've re-tuned my kernel according to both suggestions I'd received. Sure enough, I am able to create more threads. However, there is a part of this experiment that still has me puzzled. When I started, I knew that the system tunable parameter limit on the number of threads I could have would stop me before I was anywhere near where I wanted to test. So, I configured max-proc-per-user to 4000. The command "/sbin/sysconfig -q proc" confirmed that it (and max-threads-per-user) was set to 4000. After receiving the advice here on the other tunables to increase, I decided that I wanted to push things a bit, and try up to 6000 threads. So, I re-configured max-proc-per-user to 8000. When I again did a "/sbin/sysconfig -q proc", I expected to see 8000 for max-proc-per-user and max-threads-per-user, but I did not. Instead, each was set to 4107. Now, I think that 4107 is an interesting number for two reasons. 1) It isn't what I asked for. 2) It isn't a power of 2 (loved by us computer types). Instead, it's (37 * 37 * 3). I don't get it. 1) Why isn't my system getting tuned for the values I'm setting? 2) How do I tune my system for more than 4107 threads? Thanks!