Receiving an maxthread limit error on TrueNAS 13.0-U6.1

DaveF3476

Cadet
Joined
Mar 4, 2024
Messages
3
I'm getting an maxthread limit exceeded by uid 0 (pid 914 (992, 1259,1265, and a few others); consider increasing kern.maxthread

I'm not sure what is causing this error and when looking up this error I'm not able to find to much information on it..
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Sorry, we'll need a bit more info about your setup, per the Forum Rules, to have fighting chance to help you.
 

DaveF3476

Cadet
Joined
Mar 4, 2024
Messages
3
TrueNAS System is a SuperMicro 4U-X10DRI-T4+36BLS3

4U SAN with 36 drive bays, 2 1TB SSD boot drives and 24 12TB data disks.

Firmware Revision: 03.93

Intel(R) Xeon(R) CPU E5-2683 v3 @ 2.00GHz, 512 GB RAM

Intergrated Intel x540 Quad Port 10GBase-T Card

AOC-S3008L-L8e HBA 12Gb/s IT mode

Thanks,
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Are you running Core or Scale? How is your pool constructed? How are you sharing? Still not enough info, although this info is helpful.
 

DaveF3476

Cadet
Joined
Mar 4, 2024
Messages
3
I'm running Core, pool is in mirrored pairs and include 24 drives. I'm sharing using ISCSI in 10TB volumes currently I have 4 created.
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
I'm running Core, pool is in mirrored pairs and include 24 drives. I'm sharing using ISCSI in 10TB volumes currently I have 4 created.

OK, if I understand correctly, your pool is 12-wide 2-way mirror VDEVs of 12 TBs each, and your total pool capacity is 144 TB. You're building out 10TB volumes for iSCSI sharing. Are you doing this with zvols or with files?

kern.maxthreads is a sysctl tunable, with a default value of 1,000,000. For some reason, your system is spawning threads like crazy and hitting this limit which should never be hit.

Did you burn your pool in? Did you scrub your pool before creating shares? This smells like either a bad controller or some bad disks blocking threads for some reason.
 
Top