Operating System - HP-UX
1753798 Members
7732 Online
108805 Solutions
New Discussion юеВ

Re: Kernel Params with regard to TCPIP ports?!

 
SOLVED
Go to solution
Charles Harris
Super Advisor

Kernel Params with regard to TCPIP ports?!

Dear all,

I've been having a few problems with our K class servers recently, we have propriatary software which likes to use upto 25 TCPIP ports (No big deal).
Problems have started occuring since the introduction of Patrol though, and now only a limited number of ports are available for use.

The services file is configured correctly etc.. but I was wondering if any kernal params. limit the max number of port conections?

As usual, any comments / tips / suggestions warmly received!

Cheers,


-ChaZ-
5 REPLIES 5
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: Kernel Params with regard to TCPIP ports?!

Depending on the type of port (e.g. streams-based vs. non streams-based) you may need to increase npty,nstrpty, and/or nstrtel. Help is available for each of these in the Kernel Tunables section of SAM.

Clay
If it ain't broke, I can fix that.
Charles Harris
Super Advisor

Re: Kernel Params with regard to TCPIP ports?!

Cheers! - I know I could have delved a bit further, but It's so hot over here at the moment, my brain has seised.

Regards,


-ChaZ-
Larry Basford
Regular Advisor

Re: Kernel Params with regard to TCPIP ports?!

increase the npty nstrpty nstrtel
Mine is up to 800. with 300 users.

telnet in or out of the system uses 1

netstat |grep telnet|wc -l count telnet sessions

The numbers don't seem to change memory use jut the number the system will allow.

By the way a telnet user is not counted as a user count for licensing

I have 300 telnet users on a 2 user license
Desaster recovery? Right !
Praveen Bezawada
Respected Contributor

Re: Kernel Params with regard to TCPIP ports?!

Hi
You may also have to set the values for
ncallout
If you are opening many sockets, many of which are waiting on I/O, you will likely run into this limit
Also nfile,maxfile and maxfiles_lim
A file descriptor is also used for each socket that is opened.

Br
Praveen
Charles Harris
Super Advisor

Re: Kernel Params with regard to TCPIP ports?!

Dear all,

Thanks again for all of the pointers, the air-con is now working in the office again and everything became clear!

I've increased the params and it has resolved some of my issues, our patrol client is a bit memory leaky, which was the other cause of my problems.

Cheers,

-ChaZ-