Advertisement
diegocaetanop

Limit Shoutcast

Sep 8th, 2014
322
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.31 KB | None | 0 0
  1. ulimit -a
  2.  
  3. and you should see
  4.  
  5. open files (-n) 1024
  6.  
  7. now you can change
  8.  
  9. /etc/security/limits.conf
  10.  
  11. so that when a specific user logs in, it will change their limit ( as I believe open files is used for sockets )
  12.  
  13. you can as root type
  14.  
  15. ulimit -n 10000
  16.  
  17. then type
  18.  
  19. ulimit -a
  20.  
  21. open files (-n) 10000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement