System: AMD 64, 2GB RAM I installed Qmail following the instruction http://www.gentoo.org/doc/en/qmail-howto.xml (in fact the German translation of it). When trying to send emails to the server, the smtpd daemon dies: @40000000420a7ef437268d9c tcpserver: end 29199 status 32512 @40000000420a7ef437269184 tcpserver: status: 0/40 @40000000420a7f24100c15ec tcpserver: status: 1/40 @40000000420a7f24100c21a4 tcpserver: pid 29229 from 217.227.50.167 @40000000420a7f241017c234 tcpserver: ok 29229 www.stonki.com:::ffff:213.239.217.135:25 pd9e332a7.dip.t-dialin.net:::ffff:217.227.50.167::50652 @40000000420a7f24101f1534 /var/qmail/bin/qmail-smtpd: error while loading shared libraries: libdl.so.2: failed to map segment from shared object:Cannot allocate memory @40000000420a7f2410215f24 tcpserver: end 29229 status 32512 @40000000420a7f241021630c tcpserver: status: 0/40 Version of qmail: * mail-mta/qmail Latest version available: 1.03-r15 Latest version installed: 1.03-r15 Size of downloaded files: 383 kB Homepage: http://www.qmail.org/ http://members.elysium.pl/brush/qmail-smtpd-auth/ http://www.jedi.claranet.fr/qmail-tuning.html Description: A modern replacement for sendmail which uses maildirs and includes SSL/TLS, AUTH SMTP, and queue optimization License: as-is libs: mail bin # mail bin # ldd /var/qmail/bin/qmail-smtpd libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0x0000002a9566c000) libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0x0000002a957a2000) libresolv.so.2 => /lib/libresolv.so.2 (0x0000002a959da000) libc.so.6 => /lib/libc.so.6 (0x0000002a95aee000) libdl.so.2 => /lib/libdl.so.2 (0x0000002a95d0e000) /lib64/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2 (0x0000002a95556000) mail bin # Reproducible: Always Steps to Reproduce: 1.send Email to local account 2. 3. Actual Results: @40000000420a7f24101f1534 /var/qmail/bin/qmail-smtpd: error while loading shared libraries: libdl.so.2: failed to map segment from shared object:Cannot allocate memory Expected Results: accepting email
amd64, comment?
i'm going to assume you didnt increase the SOFTLIMIT_OPTS in /var/qmail/control/conf-common
yes ! Thanks for the quick help !
spanky: but why would a low softlimit cause a failure like what is there. "/var/qmail/bin/qmail-smtpd: error while loading shared libraries: libdl.so.2: failed to map segment from shared object:Cannot allocate memory" This strikes me it's failing to start in the first place.
who knows what addons are being used / binary sizes / etc...