home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux.slackware      I think its the one without Selinux crap      87,272 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 86,270 of 87,272   
   Rich to Harold Johanssen   
   Re: Can't create socket: Too many open f   
   17 Mar 23 20:16:59   
   
   From: rich@example.invalid   
      
   Harold Johanssen  wrote:   
   >         Anybody know to overcome this problem? Like I said, the code is   
   > exactly the same in both Ubuntu 20.04 and Slackware 15.0, and I have the   
   > following settings:   
      
   It looks like you gave the solution in your post, note:   
      
   >         Slackware 15.0:   
   >   
   >         # ulimit -Hn   
   >         4096   
   >   
   >         Ubuntu 20.04:   
   >   
   >         # ulimit -Hn   
   >         1048576   
   >   
   > Is it just a matter of increasing the hard value under Slackware 15.0?   
      
   The difference is Ubuntu allows a much higher hard limit.   
      
   > I haven't done so yet because I don't know how to do so without   
   > rebooting - which, for a number of reasons, is not an option in the   
   > short term.   
      
   The beauty of Linux (and Unix systems in general) is that almost all   
   'settings' short of replacment of the kernel binary itself can be   
   changed without rebooting.  Unlike that other OS that requires a reboot   
   after each change in it's tabbed, checkbox filled, native configuration   
   UI.   
      
   In a root shell do:   
      
   ulimit -Hn 1048576   
      
   Then, from that same shell, "su -" to the user you are running this app   
   as, and that shell should inheret the new setting from the root shell   
   where you made the change.   
      
   As to which /etc file to edit to make it a permanant change I'd have to   
   'google' around for that one.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca