Discussion:
vmstat -m temp counters overflows?
Özkan KIRIK
2021-06-02 04:49:58 UTC
Permalink
Hello,

I'm using FreeBSD stable/12 amd64. The temp memory counters are crazy.
I think the counter variables are overflowing.
Could it be pointing to another problem?

# vmstat -m | grep -E "temp|Mem"
Type InUse MemUse HighUse Requests Size(s)
temp 18446744073709525773 18014398509271105K - 6075673
16,32,64,128,256,512,1024,2048,4096,8192,16384,32768,65536

Regards
Ozkan
Hans Petter Selasky
2021-06-02 07:05:36 UTC
Permalink
Post by Özkan KIRIK
Hello,
I'm using FreeBSD stable/12 amd64. The temp memory counters are crazy.
I think the counter variables are overflowing.
Could it be pointing to another problem?
# vmstat -m | grep -E "temp|Mem"
Type InUse MemUse HighUse Requests Size(s)
temp 18446744073709525773 18014398509271105K - 6075673
16,32,64,128,256,512,1024,2048,4096,8192,16384,32768,65536
Regards
Ozkan
Probably something is freeing back to M_TEMP, which was not allocated
from there.

--HPS
Konstantin Belousov
2021-06-02 08:22:02 UTC
Permalink
Post by Özkan KIRIK
Hello,
I'm using FreeBSD stable/12 amd64. The temp memory counters are crazy.
I think the counter variables are overflowing.
Could it be pointing to another problem?
# vmstat -m | grep -E "temp|Mem"
Type InUse MemUse HighUse Requests Size(s)
temp 18446744073709525773 18014398509271105K - 6075673
16,32,64,128,256,512,1024,2048,4096,8192,16384,32768,65536
Do you use pf? If yes, this is perhaps a known issue,
You probably also have some nvlist leaks.
Özkan KIRIK
2021-06-02 08:36:33 UTC
Permalink
Thank you

Yes I'm using pf.
Yesterday I saw an commit about it.
https://cgit.freebsd.org/src/commit/?id=0f86492b09ca82042166a41f6f21b2dbe4f4a464
is it related with this problem ?
Post by Konstantin Belousov
Post by Özkan KIRIK
Hello,
I'm using FreeBSD stable/12 amd64. The temp memory counters are crazy.
I think the counter variables are overflowing.
Could it be pointing to another problem?
# vmstat -m | grep -E "temp|Mem"
Type InUse MemUse HighUse Requests Size(s)
temp 18446744073709525773 18014398509271105K - 6075673
16,32,64,128,256,512,1024,2048,4096,8192,16384,32768,65536
Do you use pf? If yes, this is perhaps a known issue,
You probably also have some nvlist leaks.
Konstantin Belousov
2021-06-02 10:58:43 UTC
Permalink
Post by Özkan KIRIK
Thank you
Yes I'm using pf.
Yesterday I saw an commit about it.
https://cgit.freebsd.org/src/commit/?id=0f86492b09ca82042166a41f6f21b2dbe4f4a464
is it related with this problem ?
Yes, it should fix the problems, if you apply it to your sources.
Özkan KIRIK
2021-06-02 11:03:57 UTC
Permalink
Will do, thanks!
Post by Özkan KIRIK
Post by Özkan KIRIK
Thank you
Yes I'm using pf.
Yesterday I saw an commit about it.
https://cgit.freebsd.org/src/commit/?id=0f86492b09ca82042166a41f6f21b2dbe4f4a464
Post by Özkan KIRIK
is it related with this problem ?
Yes, it should fix the problems, if you apply it to your sources.
Loading...