I have temporarily solved my issue by adding the below to my /boot/config/go file. This was a major issue for me as I have homeassistant connecting to my unraid server via SSH every 30 seconds to update a state. Being honest, I don't truly understand the consequences of this work around so would appreciate if anyone has any feedback.
# Update pam_elogind.so - This will prevent cgroup folders being created for each SSH session.
sed -i 's/^-session optional pam_elogind.so/#-session optional pam_elogind.so/' /etc/pam.d/sshd
# Restart SSHD service - This will ensure the above changes get applied.
/etc/rc.d/rc.sshd restart
# Add Filters to 01-blocklist.conf - The below text will stop being added to the syslog as it fills up the sys log rapidly.
cat << 'EOF' | sudo tee -a /etc/rsyslog.d/01-blocklist.conf
if $msg contains "Accepted publickey for root from 192.168.1.5" \
or $msg contains "Postponed publickey for root from 192.168.1.5" \
or $msg contains "Accepted key ED25519" \
or $msg contains "pam_unix(sshd:session): session opened for user root(uid=0) by (uid=0)" \
or $msg contains "New session" \
or $msg contains "Removed session" \
or $msg contains "Received disconnect from 192.168.1.5" \
or $msg contains "Disconnected from user root 192.168.1.5" \
or $msg contains "pam_unix(sshd:session): session closed for user root" \
or $msg contains "Close session: user root from 192.168.1.5" \
or $msg contains "Connection from 192.168.1.5" \
or $msg contains "Starting session: command for root from 192.168.1.5" then stop
EOF
# Restart syslog service - This will ensure the above changes get applied.
/etc/rc.d/rc.syslog restart