Câu hỏi được gắn thẻ «resource-limiting»





2
Làm cách nào để tăng giới hạn tệp mở tối đa trên Ubuntu 18.04?
Tôi đã chạy ulimit -n 65536, thêm các dòng sau vào /etc/security/limits.conf: * soft nofile 65536 * hard nofile 65536 alix soft nofile 65536 alix hard nofile 65536 root soft nofile 65536 root hard nofile 65536 Và thêm session required pam_limits.sovào cả hai: /etc/pam.d/common-session /etc/pam.d/common-session-noninteractive Và fs.file-max = 65536để /etc/sysctl.d/60-file-max.conf. …



Khi sử dụng trang web của chúng tôi, bạn xác nhận rằng bạn đã đọc và hiểu Chính sách cookie và Chính sách bảo mật của chúng tôi.
Licensed under cc by-sa 3.0 with attribution required.