Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Kern.maxfiles limit exceeded by uid 62 please see tuning(7)

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 2 Posters 3.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mhby87
      last edited by

      I'm using pfSense 2.0.3-RELEASE (i386), error is displayed when there are a few users to connect.

      kern.maxfiles limit exceeded by uid 62 please see tuning(7)
      

      What causes problems? How to solve the problem?

      1 Reply Last reply Reply Quote 0
      • M
        mhby87
        last edited by

        Nobody can help?

        1 Reply Last reply Reply Quote 0
        • D
          dhatz
          last edited by

          Well, the error message is pretty much self-explanatory. Are you running some package that opens many files (e.g. squid) ?

          On my system, uid 62 is proxy. You can check which process(es) are responsible, by running the following command on CLI
          ps aux|fgrep proxy

          The obvious solution would be to increase kern.maxfiles, by going to webGUI System -> Advanced -> System Tunables, assuming your system has enough RAM to handle it.

          PS: Although many pfSense users run the squid package, my opinion is that if you have more than a few (~20) users it'd be best both for security and performance/reliability reasons to use an external caching proxy, appropriately sized & tuned (fs + kernel).

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.