[HPADM] Nkthreads questions



Greetings,

We did some changes to our physical network over the holidays, and also corrected some nfs mount options for our linux workstations and compute boxes. These changes have them talking to our hpux servers (11.11, rp5470) via tcp instead of udp like they used to. Since we made that change, I'm seeing the following messages in syslog on one server:

WARNING: tcpd_thread_create: thread_create failed: 12
kthread: table is full
WARNING: tcpd_thread_create: thread_create failed: 12

Here are some kernel parameters (from kmtune) on that given server that will probably be of interest:

max_thread_proc 256 - 256
maxusers 128 - 128
nproc 1044 - (20+8*MAXUSERS)
max_thread_proc 256 - 256
nkthread 1843 - (((NPROC*7)/4)+16)

I'm expecting that I'm going to have to grow some of these numbers to get rid of the messages. From what I can tell, I have an average of 1500 nfsktcpd threads running from the 1 process. This is from gpm and a little script I found on the web. We have several hundred linux compute boxes along with ~100 linux desktop boxes. According to a Dave Olker book, the system allocates 10 threads per client connection. I don't see how to break the threads out by what they are actually doing.

The 2 questions are:

1. Shouldn't the max_thread_proc limit nfsktcpd to 256 threads?

2. Is there a good way to tell how large I should make these parameters? Should I just figure the 10 threads per client * number of clients and make nkthreads bigger than that?

Thanks,

Jeff

--

Jeff Cleverley
Unix Systems Administrator
4380 Ziegler Road
Fort Collins, Colorado 80525
970-288-4611
jeff.cleverley@xxxxxxxxxxxxx


--
---> Please post QUESTIONS and SUMMARIES only!! <---
To subscribe/unsubscribe to this list, contact majordomo@xxxxxxxxxxxxx
Name: hpux-admin@xxxxxxxxxxxxx Owner: owner-hpux-admin@xxxxxxxxxxxxx

Archives: ftp.dutchworks.nl:/pub/digests/hpux-admin (FTP, browse only)
http://www.dutchworks.nl/htbin/hpsysadmin (Web, browse & search)



Relevant Pages

  • Re: The ole "Linux vs Windows Server 2003" question - help?
    ... >I have a client with about 50 desktops all running Windows XP. ... >service and the LInux box runs Lotus Notes. ... >I know that some say "let them install the Windows server and then ...
    (comp.os.linux.misc)
  • Re: File servers, web servers ?
    ... with the "server" to perform the activity. ... In the case of "web services", the distributed client is your web ... Finally, in the case of "FTP services", the distributed client is your ... what does this all have to do with Linux? ...
    (alt.os.linux)
  • problem with publickey authentication
    ... I have a business client who is running a SSH Communications SSH Tectia Server on a Windows NT Server. ... I need to connect to their server from dozens of FreeBSD servers in my organization using OpenSSH client, ... He claimed that he tested on his side, and was able to connect from a Linux client to his own Windows Tectia SSH box. ...
    (SSH)
  • Hura es geht, Netzen unter Linux
    ... Ich bin jetzt endlich mit dem Programmieren unter Linux angefangen. ... ;;; 2002 FaUl ... ;; der server sendet und vom client empfangen wird, ...
    (de.comp.lang.assembler.x86)
  • Re: Excel to Linux DDE solution?
    ... >> commands to the client, the client forwards them to the server, the ... Plus I could use a Linux based Database ... You have Excel running on Windows and want to _connect_ to the database ...
    (comp.os.linux.networking)