Ulimit -SHn 65535 Meaning

  

Using ulimit to set the maximum number of connections under linux. The default is 1024. Under high load, it should be set to higher, but the maximum can only be 65535.

ulimit can only be done Temporary modification, invalid after restart. You can add ulimit -SHn 65535 to /etc/rc.local every time you enable it.


The maximum number of processes and the maximum number of open files for the Linux system is removed: vim /etc/security/limits.conf# Add the following line * soft nproc 11000* hard nproc 11000* Soft nofile 655350* hard nofile 655350

Copyright © Windows knowledge All Rights Reserved