[SOLVED] /etc/security/limits.conf entires no effect !?
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2005
    Posts
    81

    /etc/security/limits.conf entires no effect !?

    Hello,

    my Hard limits are 4096 and my Soft limits are 1024 at the moment.

    On Fedora 26 i had to raise that due to certain games and tweaks so i set it to 65536.
    That was all okay so far, but now i notice on thewhile at Fedora 27, that my limits are still low again, so

    whats going on here ?

    My entries in limits.conf is still there, has anyone an idea how to solve that ?

    Have a good time ^^

  2. #2
    Join Date
    Jan 2005
    Posts
    81

    Re: /etc/security/limits.conf entires no effect !?

    Morning ppl,

    i know, limits are confusing and dry, but we run into problems with the gaming, especially under wine its a problem.
    Under the root user, the entries in limits.conf are respected but not on me as user, even if i said so inthe config.

    Actually i changed the entries again to give the values the default:

    * hard nofile 65536
    * soft nofile 65536

    help me here please, the soft limit is at 1024 and hard at 4096 for me as user and we can not run games as root, thats a red line.

    It smells buggy, please help.

  3. #3
    Join Date
    Jan 2005
    Posts
    81

    Re: /etc/security/limits.conf entires no effect !?

    Its solved.

    For later use let me add:

    1. /etc/pam.d/su
    activate limits modul
    session required pam_limits.so

    2. /etc/systemd/system.conf
    Set value for DefaultLimitNOFILE=

    3. Offcomment all in /etc/security/limits.conf
    Do not delete that file !
    Last edited by RawFoX; 14th January 2018 at 10:47 AM.

Similar Threads

  1. Replies: 1
    Last Post: 22nd October 2011, 08:09 AM
  2. limits are not working (limits.conf)
    By PkerC in forum Security and Privacy
    Replies: 0
    Last Post: 20th June 2006, 05:49 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •