Solved Qmail log error


I'm getting the below error in /var/log/qmail/smtpd/current when trying to send an email. This is a brand new server install:

2016-12-28 12:25:14.682833500 qmail-smtpd: pid 836 Accept::SNDR::Relay_Client P:ESMTP S:IP:servername H:host F:sender T:recipient
2016-12-28 12:25:14.798998500 Fatal error 'Can't allocate initial thread' at line 338 in file /usr/src/lib/libthr/thread/thr_init.c (errno = 12)
2016-12-28 12:25:14.808941500 spamdyke[835]: FILTER_OTHER response: "451 mail server temporarily rejected message (#4.3.0)"
2016-12-28 12:25:14.809036500 spamdyke[835]: DENIED_OTHER from: sender to: recipient origin_ip: ip origin_rdns: host auth: (unknown) encryption: (none) reason: 451_mail_server_temporarily_rejected_message_(#4.3.0)

I'm using qmail-spamcontrol and spamdyke out of ports in 11.0

but if you do
root@qmailserver:/var/log/qmail/smtpd # ls /usr/src/lib/libthr/thread/thr_init.c
ls: /usr/src/lib/libthr/thread/thr_init.c: No such file or directory

this makes me thing I compiled something wrong.

Says libthr is for threading. but beyond that, I am not sure how to troubleshoot this issue.