Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. $uname -a
  2. Linux debian 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19) x86_64 GNU/Linux
  3.  
  4. $ulimit -Sn
  5. 65536
  6.  
  7. $ulimit -Hn
  8. 65536
  9.  
  10. worker_processes 4; # or 8
  11. worker_rlimit_nofile 60000;
  12.  
  13. events {
  14. worker_connections 1024;
  15. }
  16.  
  17. 2016/11/03 05:13:44 [alert] 15#15: 1024 worker_connections are not enough
  18. 2016/11/03 05:13:44 [alert] 15#15: 1024 worker_connections are not enough
  19.  
  20. $netstat -anvpt | wc -l
  21. 1156 # or twice bigger if there is 8 worker processes.
  22.  
  23. worker_processes auto;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement