Re: [PATCH 2/3] fs: Introduce cmdline argument exceed_file_max_panic

2020-06-06 Thread Al Viro
On Sat, Jun 06, 2020 at 02:32:19PM +0800, Tiezhu Yang wrote: > It is important to ensure that files that are opened always get closed. > Failing to close files can result in file descriptor leaks. One common > answer to this problem is to just raise the limit of open file handles > and then

Re: [PATCH 2/3] fs: Introduce cmdline argument exceed_file_max_panic

2020-06-06 Thread Matthew Wilcox
On Sat, Jun 06, 2020 at 02:32:19PM +0800, Tiezhu Yang wrote: > It is important to ensure that files that are opened always get closed. > Failing to close files can result in file descriptor leaks. One common > answer to this problem is to just raise the limit of open file handles > and then

[PATCH 2/3] fs: Introduce cmdline argument exceed_file_max_panic

2020-06-06 Thread Tiezhu Yang
It is important to ensure that files that are opened always get closed. Failing to close files can result in file descriptor leaks. One common answer to this problem is to just raise the limit of open file handles and then restart the server every day or every few hours, this is not a good idea