Failed to modify the maximum number of files on the server. I don't know why.

modify the maximum number of files on the server
add vi / etc/ scurity/ limits.conf

* soft    nofile  65536  
* hard    nofile  65536

/ etc/sysctl.conf file has been added

fs.file-max=65535

enter a command

sysctl -p

exit restart xftp link and enter ulimit-a

open files is still 1024. Ask how to modify it.

the system is ubuntu 16

Jun.15,2022

looks like / etc/security/limits.conf the specified parameter does not take effect

the format of this file is

<domain>      <type>  <item>         <value>
The

domain location can be root , * , @ group name , user name .

such as

 user1   soft    nofile  40000
 user1   hard    nofile  40000

whether it is effective or not. Pass

ulimit -n

detect.

PS:
your * was not seen before due to typesetting problems. Please ignore this answer. It may be helpful to refer to this

.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e9e32c-19b9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e9e32c-19b9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?