Topic
  • 4 replies
  • Latest Post - ‏2013-04-18T17:41:31Z by GarlandJoseph
SystemAdmin
SystemAdmin
6902 Posts

Pinned topic Removing CLOSE_WAIT on AIX

‏2009-06-12T15:19:52Z |
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
  • hasiniPandu
    hasiniPandu
    1 Post

    Re: Removing CLOSE_WAIT on AIX

    ‏2013-04-17T03:32:51Z  

    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.

     

  • GarlandJoseph
    GarlandJoseph
    167 Posts

    Re: Removing CLOSE_WAIT on AIX

    ‏2013-04-17T15:39:39Z  

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

  • biblio93
    biblio93
    7 Posts

    Re: Removing CLOSE_WAIT on AIX

    ‏2013-04-18T05:03:00Z  

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

  • GarlandJoseph
    GarlandJoseph
    167 Posts

    Re: Removing CLOSE_WAIT on AIX

    ‏2013-04-18T17:41:31Z  
    • biblio93
    • ‏2013-04-18T05:03:00Z

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

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