Advertisement
Guest User

Untitled

a guest
Aug 28th, 2016
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1. * soft nofile 64000
  2. * hard nofile 68000
  3.  
  4. fs.file-max = 200500
  5.  
  6. igor@ubuntu:~$ ulimit -Sn
  7. 64000
  8. igor@ubuntu:~$ ulimit -Hn
  9. 68000
  10.  
  11. igor@ubuntu:~$ sudo ps aux|grep nginx
  12. root 1124 0.0 0.0 45988 980 ? Ss 01:04 0:00 nginx: master process /usr/sbin/nginx -g daemon on; master_process on;
  13. www-data 1125 0.0 0.2 46164 2372 ? S 01:04 0:00 nginx: worker process
  14. igor 2754 0.0 0.0 5108 848 pts/6 S+ 01:14 0:00 grep --color=auto nginx
  15. igor@ubuntu:~$ cat /proc/1124/limits
  16. Limit Soft Limit Hard Limit Units
  17.  
  18. .....
  19. Max open files 1024 4096 files
  20. .....
  21.  
  22. igor@ubuntu:~$ sudo ps aux|grep php
  23. root 1097 0.0 2.1 118388 22496 ? Ss 01:04 0:00 php-fpm: master process (/etc/php/7.0/fpm/php-fpm.conf)
  24. www-data 1140 0.0 0.5 118388 5532 ? S 01:04 0:00 php-fpm: pool www
  25. www-data 1141 0.0 0.5 118388 5532 ? S 01:04 0:00 php-fpm: pool www
  26. igor 2795 0.0 0.0 5108 852 pts/6 S+ 01:20 0:00 grep --color=auto php
  27. igor@ubuntu:~$ cat /proc/1097/limits
  28. Limit Soft Limit Hard Limit Units
  29. .....
  30. Max open files 1024 4096 files
  31. .....
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement