kern.ipc.maxsockbuf: My changes won't stick?

lrosenman

Dabbler
Joined
Oct 22, 2021
Messages
17
TrueNAS 13.0-RELEASE, when i boot I get:
Consider increasing kern.ipc.maxsockbuf
and if I go to the tuneables page, and change it to double (I have 72G memory) on the next reboot it reverts to the autotune number
(kern.ipc.maxsockbuf: 4194304)

Is this intentional?
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
How are you setting the tunable?
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
I was asking exactly what did you enter in there...
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
Well, that's still not all the information...

My tunable:

1655997233102.png


What my OS thinks:
Code:
# sysctl kern.ipc.maxsockbuf
kern.ipc.maxsockbuf: 16777216


Seems to be working...

I was wanting to see if there was anything you may have missed in setting the tunable. You didn't (yet) give me enough information to do that.
 

lrosenman

Dabbler
Joined
Oct 22, 2021
Messages
17
Screen Shot 2022-06-23 at 10.17.35 AM.png
Screen Shot 2022-06-23 at 10.18.26 AM.png


the issue is when I reboot it will revert to the autotune number
root@freenas[~]# sysctl kern.ipc.maxsockbuf
kern.ipc.maxsockbuf: 8388608
root@freenas[~]#
after a reboot it'll be back to 4194304
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
Is autotune still on?
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
System | advanced (it's in the middle on the right).
 
Top