On Tue, Jan 19, 2021 at 05:56:16PM -0000, Stuart Henderson wrote:
> > What causes "proc: table is full", or better asked, what limit might I be
> > hitting?
> Perhaps kern.maxthread; check kern.nthreads.
Hi Stuart,
Aha. I think you have nailed it:
> mjoelnir:/etc 19.01 21:13:02 # sysctl kern | egrep 'max(proc|thread)'
> kern.maxproc=8192
> kern.maxthread=1950
> mjoelnir:/etc 19.01 21:13:19 # ^max^n
> sysctl kern | egrep 'n(proc|thread)'
> kern.nthreads=1736
> kern.nprocs=283
I see that, way back when, I increased kern.maxproc to 8192 in
/etc/sysctl.conf. But I didn't realise then that I might also need to
increase the maxthread value. I'll change these and see if that helps.
(Bound to!)
I find the message to be a bit misleading though: "proc: table is full"
Clearer might be something like:
"kernel: thread table full: reached limit: kern.maxthread"
Or similar. I.e. the who, the what and the why.
Thanks for the tip!
Cheers,
Robb.