AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
 View Only
Expand all | Collapse all

getaddrinfo takes long time to return on IP v6 enabled AIX 5.3 ML4

  • 1.  getaddrinfo takes long time to return on IP v6 enabled AIX 5.3 ML4

    Posted Mon June 01, 2009 07:43 AM

    Originally posted by: Shashikanth@BLR


    Hi there,

    If I pass "localhost" and a port number to getaddrinfo API on IP v6 enabled AIX 5.3 ML4, the API takes almost 2.5 minutes to return. The machine has dual stack. If I pass IP address, the API returns immediately. The issue is only when I use "localhost". Please help to resolve this issue. It's blocking lot of tests.

    Thanks.
    #AIX-Forum


  • 2.  Re: getaddrinfo takes long time to return on IP v6 enabled AIX 5.3 ML4

    Posted Wed June 03, 2009 08:21 AM

    Originally posted by: flodstrom


    Not sure if this applies to AIX 5.3, but have you checked that the resolution order in /etc/netsvc.conf is correct (like local6 added to hosts?)? Is IP v6 localhost defined in /etc/hosts?
    #AIX-Forum