AIX

AIX

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


#Power
#Power
 View Only
  • 1.  Removing CLOSE_WAIT on AIX

    Posted Fri June 12, 2009 11:20 AM

    Originally posted by: SystemAdmin


    Hi,

    What is the setting to remove CLOS_WAIT on an AIX 5.3.x server? The setting for tcp_keepidle = 600 half seconds (5 minutes) has already been set. But inspite of that some connections from the webserver port to the application server port stays in the CLOSE_WAIT state.

    Is there any other TCP/IP tuning parameter that needs to be tuned to release these connections? This seems to be an issue since these connections stay in the CLOSE_WAIT state and hence causing file handlers exhaustion on the web server.

    Any help / suggestions would be appreciated.

    Thanks
    #AIX-Forum


  • 2.  Re: Removing CLOSE_WAIT on AIX

    Posted Tue April 16, 2013 11:33 PM

    Originally posted by: hasiniPandu


    HI Sbhupa,

    Iam facing similar issue on Solaris machine where CLOSE_WAITs() are getting accumulated and at some point there are no free sockets to make any new connections. Were you able to resolve  the issue? IF so, could you please let me know on how you resolved it. I really appreciate your help. I am trying to find the solution for last  few weeks but didn't get any useful information. Thanks in advance.

     


    #AIX-Forum


  • 3.  Re: Removing CLOSE_WAIT on AIX

    Posted Wed April 17, 2013 11:40 AM

    Originally posted by: GarlandJoseph


    Can you give a sample of your socket table reflecting the close wait states?  netstat -an


    #AIX-Forum


  • 4.  Re: Removing CLOSE_WAIT on AIX

    Posted Thu April 18, 2013 01:03 AM

    Originally posted by: biblio93


    You can use the rmsock command with the identity done by netstat -an


    #AIX-Forum


  • 5.  Re: Removing CLOSE_WAIT on AIX

    Posted Thu April 18, 2013 01:42 PM

    Originally posted by: GarlandJoseph


    netstat -Aan , big A must be added before -an in order to get PCB/ADDR for rmsock


    #AIX-Forum