Operating System - HP-UX
1851328 Members
2590 Online
104057 Solutions
New Discussion

S3100001580 - cant find on itrc

 
SOLVED
Go to solution
Stefan Farrelly
Honored Contributor

S3100001580 - cant find on itrc

Hi,

can someone from HP please find a copy of this document and provide a working link or even better paste a copy in with their reply ? This document was listed in a previous reply to a queation on the itrc as available on the itrc to explain the error;

bindresvport:loop_twice port assigned 512

I really want to read this document and find out in detail what the problem is.

Thanks,

Stefan
Im from Palmerston North, New Zealand, but somehow ended up in London...
2 REPLIES 2
Alex Glennie
Honored Contributor
Solution

Re: S3100001580 - cant find on itrc

S3100001580
Sys Adm: vmunix: bindresvport: looptwice port assigned 512 PROBLEM
I am running HP-UX 11.0 on a Series 800 server. At a certain point, the
system displays the following message on the console and in syslog:

vmunix: bindresvport: looptwice port assigned 512

Why am I getting this error?

CONFIGURATION
Operating System - HP-UX
Version - 11.0
Hardware System - HP9000
Series - 800
Subsystem - System Administration


RESOLUTION

The kernel bindresvport() function generates your error message.

Note: There is also a user-space version of this function called
bindresvport(), but that function does not print out the
above error message.

The bindresvport() function binds a connection to a port in the
reserved range. The reserved range is defined in the following manner:

#define MAX_PRIV (IPPORT_RESERVED-1)
#define MIN_PRIV (IPPORT_RESERVED/2)
#define IPPORT_RESERVED 1024

The reserved range is between MIN_PRIV (512) and MAX_PRIV (1023). If
the system cannot find an available port in this range, it loops
through the ports two times, and then prints the above message. This
indicates that there is a shortage of reserved ports.

The kernel version of bindresvport() is only called from the
clnt_tli_kcreate() call. These are the only processes that call
clnt_tli_kcreate():

AutoFS (3 different places)
NFS client routine clget()
Kernel Lock Manager (KLM) routine klm_clget()

The system is running out of reserved ports, and either AutoFS, KLM
(rpc.lockd), or NFS client traffic are requesting a reserved port, and
are unable to get one.

If this problem persists, you could use a tool like lsof to identify
all of the reserved ports. It could be that an application is using
these ports, and then not releasing the ports.

Looking into why its missing as I type ....






Stefan Farrelly
Honored Contributor

Re: S3100001580 - cant find on itrc

Hi Alex,

thanks for the quick reply and info. Were getting this error on 11i, a newly installed server patched up to Dec02 (QPK), no apps installed or running! so how we could be out of reserved ports when weve got no apps or users on it is beyond me. Sounds like a bug ?

I'll get lsof installed and check all the reserved ports to confirm some are free - im pretty sure lots will be.

Cheers,

Stefan
Im from Palmerston North, New Zealand, but somehow ended up in London...