Memory usage

here our shaping.toml

What does kcli queue-summary output?

curl -s 'http://127.0.0.1:8000/metrics' may be also be informative, but note that it may reveal the destination domains and volumes so you may want to sanitize that before sharing

queue-summary.txt (247 KB)

metrics.txt (329 KB)

Nothing stands out here. I’d suggest trying the -dev build, because it has various improvements as well as some more metrics that could be useful

ok thank you, will give it a try.

When you reinstall, pay careful attention for installer errors. I have not personally tried Debian 12 but we have heard some conflicting results from the field. It would be comforting to know you did not see any errors during your install.
I will plan for some local testing today.

i got some dkim signing issues / not sure what only saw errors from lua :slightly_smiling_face:

Aug 29 13:49:12 mta01 kumod[223159]:         [C]: in local 'poll'
Aug 29 13:49:12 mta01 kumod[223159]:         [string "?"]:4: in upvalue 'cached_load_data'
Aug 29 13:49:12 mta01 kumod[223159]:         /opt/kumomta/share/policy-extras/dkim_sign.lua:349: in upvalue 'dkim_signer'
Aug 29 13:49:12 mta01 kumod[223159]:         [string "/opt/kumomta/etc/policy/init.lua"]:169: in function <[string "/opt/kumomta/etc/policy/init.lua"]:155>
Aug 29 13:49:13 mta01 kumod[223159]: 2024-08-29T11:49:13.542397Z ERROR  smtpsrv-1 run{socket=PollEvented { io: Some(TcpStream { addr: 172.17.0.1:25, peer: 172.18.0.61:35484, fd: 30 }) }}: kumod::smtp_server: Error in SmtpServer: runtime error: /opt/kumomta/share/policy-extras/dkim_sign.lua:166: /opt/kumomta/share/policy-extras/dkim_sign.lua:132 DkimSignConfig>
Aug 29 13:49:13 mta01 kumod[223159]: stack traceback:
Aug 29 13:49:13 mta01 kumod[223159]:         [C]: in function 'error'
Aug 29 13:49:13 mta01 kumod[223159]:         /opt/kumomta/share/policy-extras/typing.lua:78: in method 'raise'
Aug 29 13:49:13 mta01 kumod[223159]:         /opt/kumomta/share/policy-extras/typing.lua:276: in function </opt/kumomta/share/policy-extras/typing.lua:253>
Aug 29 13:49:13 mta01 kumod[223159]:         (...tail calls...)
Aug 29 13:49:13 mta01 kumod[223159]:         /opt/kumomta/share/policy-extras/dkim_sign.lua:132: in upvalue 'load_dkim_data_from_file'
Aug 29 13:49:13 mta01 kumod[223159]:         /opt/kumomta/share/policy-extras/dkim_sign.lua:166: in function </opt/kumomta/share/policy-extras/dkim_sign.lua:159>```

i wanted to check in on my side first, to prevent i did something wrong

but with the “current stable version” it works

There’s more strict parameter validation in the dev build. I’d recommend running kumod --validate to see if that adds more context

Most likely there is something that is invalid in your dkim toml/json file(s)

I think lua’s tail call optimization is maybe making it difficult to see what the problem is

just fyi: i had to manually to update /opt/kumomta/share/policy-extras/dkim_sign.lua, seams by just switching kumomta to kumomta-dev it did not update it. what so ever…

sounds like maybe you modified it and blocked the package installer from updating it normally

thanks for the hints

can i somehow make a donation? :grinning_face_with_smiling_eyes: i know i could have booked a support hour, but we solved it without

The easiest thing would be to book a session and don’t show for it. Our favorite thing of course is a sponsorship at KumoMTA - Support and Sponsorship Options