Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-866

Error 24, Too many open files. Failed to accept new client connection.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Not a Bug
    • 1.4.1
    • N/A
    • N/A
    • None
    • Linux 2.6.32-642.4.2.el6.x86_64 #1 SMP

    Description

      The connections about 1000.
      But in maxscale log, it show error:
      2016-09-13 07:34:55 error : Failed to obtain address for host XXXXXdb02, Temporary failure in name resolution
      2016-09-13 07:34:49 error : Error 24, Too many open files. Failed to accept new client connection.
      2016-09-13 07:34:49 error : Error 24, Too many open files. Failed to accept new client connection.
      2016-09-13 07:34:51 error : Error 24, Too many open files. Failed to accept new client connection.
      2016-09-13 07:34:51 error : Error 24, Too many open files. Failed to accept new client connection.

      For maxscale process:
      ps -ef|grep max
      maxscale 25820 1 0 11:05 ? 00:00:13 /usr/bin/maxscale --user=maxscale
      root 30122 25760 0 11:51 pts/0 00:00:00 grep max

      cat /proc/25820/limits

      Limit                     Soft Limit           Hard Limit           Units     
      Max cpu time              unlimited            unlimited            seconds   
      Max file size             unlimited            unlimited            bytes     
      Max data size             unlimited            unlimited            bytes     
      Max stack size            10485760             unlimited            bytes     
      Max core file size        0                    0                    bytes     
      Max resident set          unlimited            unlimited            bytes     
      Max processes             16384                16384                processes 
      Max open files            65536                65536                files     
      Max locked memory         65536                65536                bytes     
      Max address space         unlimited            unlimited            bytes     
      Max file locks            unlimited            unlimited            locks     
      Max pending signals       15223                15223                signals   
      Max msgqueue size         819200               819200               bytes     
      Max nice priority         0                    0                    
      Max realtime priority     0                    0                    
      Max realtime timeout      unlimited            unlimited            us        
      

      Please help check how to fix it.
      Thanks!

      Attachments

        Activity

          People

            Unassigned Unassigned
            caisunny cai sunny
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.