Start up script stalls on QmailScanner launch
When placing the line to set the EnvironmentVariable
- in /service/qmail-smtpd/run, qmail-smtpd won't start up because the run script stalls at that point. The problem is that the QmailScanner script does not background itself, so you have to tell the shell to do that by appending a &
- QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl &"
Note: This is for ONLY if you are having issues with the qmail-scanner-queue.pl file stalling the startup of qmail-smtp. This is a Hack and is not guaranteed to work!
/usr/bin/perl: error while loading shared libraries: libc.so.6: cannot load shared object file: Cannot allocate memory.
The memory softlimit is too small. In my case, increasing it from 2,000,000 to 3,000,000 solved the issue. --SreejithKalyat