Re: openfiles limit

2016-08-23 Thread Ted Unangst
Bambero wrote: > # sysctl kern.nfiles ; fstat | wc -l > kern.nfiles=2470 > 3594 > > What's the difference between kern.nfiles and fstat? fstat includes the program executable itself and its working directories, which don't count as open files. > # getcap -f /etc/login.conf mysqld > mysqld: :

openfiles limit

2016-08-23 Thread Bambero
Hi, Some question about openfiles limit... I can't understand how openbsd counts open files. Ex. # sysctl kern.nfiles ; fstat | wc -l kern.nfiles=2470 3594 What's the difference between kern.nfiles and fstat? Secondly, I set class limits for mysql for testing: # rcctl