Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- * soft nofile 64000
- * hard nofile 68000
- fs.file-max = 200500
- igor@ubuntu:~$ ulimit -Sn
- 64000
- igor@ubuntu:~$ ulimit -Hn
- 68000
- igor@ubuntu:~$ sudo ps aux|grep nginx
- 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;
- www-data 1125 0.0 0.2 46164 2372 ? S 01:04 0:00 nginx: worker process
- igor 2754 0.0 0.0 5108 848 pts/6 S+ 01:14 0:00 grep --color=auto nginx
- igor@ubuntu:~$ cat /proc/1124/limits
- Limit Soft Limit Hard Limit Units
- .....
- Max open files 1024 4096 files
- .....
- igor@ubuntu:~$ sudo ps aux|grep php
- 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)
- www-data 1140 0.0 0.5 118388 5532 ? S 01:04 0:00 php-fpm: pool www
- www-data 1141 0.0 0.5 118388 5532 ? S 01:04 0:00 php-fpm: pool www
- igor 2795 0.0 0.0 5108 852 pts/6 S+ 01:20 0:00 grep --color=auto php
- igor@ubuntu:~$ cat /proc/1097/limits
- Limit Soft Limit Hard Limit Units
- .....
- Max open files 1024 4096 files
- .....
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement