Kevin,
I think Jake did not say you needed to add memory, merely to give the smtp
processes more memory by raising the softlimit for them.
These processes use a softlimit partly as a security precaution.
In /var/qmail/supervie/smtp/run
check what you have at the bottom. My file looks thus:
exec /usr/bin/softlimit -m 64000000 \
/usr/bin/tcpserver -v -R -h -l $HOSTNAME -x $TCP_CDB -c "$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \
$RBLSMTPD $BLACKLIST $SMTPD $VCHKPW /bin/true 2>&1
The value after the -m in the first line of this block describes the softlimit
in bytes meaning that the qmail-smtp process has a soft memory limit of a bit
more than 60M. Perhaps you need to increase this.
Same is true for the submission port. E.g. might be in
/var/qmail/supervise/submission/run.
hope that helps to clarify!
Martin
--
Martin Waschbüsch
IT-Dienstleistungen
Lautensackstr. 16
80687 München
Telefon: +49 89 57005708
Fax: +49 89 57868023
Mobil: +49 170 2189794
[email protected]
http://martin.waschbuesch.de
Am 01.09.2010 um 07:45 schrieb Kevin Qiu:
> Hello Jake,
>
> Thank you very much for your feedback.
>
> free -m
> total used free shared buffers cached
> Mem: 3950 3808 141 0 151 2690
> -/+ buffers/cache: 967 2983
> Swap: 7838 0 7838
>
> Did you mean that I need add more RAM?
>
> I had run QMT in Fedora 13 32bit without any errors.
>
> Are you sure that I need more memory and the errors can be fixed, or I
> need install 32bit linux.
>
> Kevin
>
>
>
> 于 2010/8/31 23:50, Jake Vickers 写道:
>> On 08/31/2010 03:21 AM, Kevin Qiu wrote:
>>> Hi list,
>>>
>>> QMT on Fedora 13 x86_64
>>>
>>> Build rpm with `rpmbuild --rebuild --with fedora_1164 name-version.src.rpm`
>>>
>>> telnet localhost 25
>>>
>>> Trying 127.0.0.1...
>>> Connected to localhost.
>>> Escape character is '^]'.
>>> 220 mail.domain.com - Welcome to Qmail Toaster Ver. 1.3 SMTP Server ESMTP
>>>
>>> telnet localhost 465
>>>
>>> Trying 127.0.0.1...
>>> Connected to localhost.
>>> Escape character is '^]'.
>>> Connection closed by foreign host.
>>>
>>> tail /var/log/qmail/smtp-ssl/current
>>> @400000004c7ca2eb0ed8490c /var/qmail/bin/qmail-smtpd: error while
>>> loading shared libraries: libmysqlclient.so.16: failed to map segment
>>> from shared object: Cannot allocate memory
>>>
>>> telnet localhost 587
>>>
>>> Trying 127.0.0.1...
>>> Connected to localhost.
>>> Escape character is '^]'.
>>> Connection closed by foreign host.
>>>
>>> tail /var/log/qmail/submission/current
>>>
>>> @400000004c7ca6f301d6062c /var/qmail/bin/qmail-smtpd: error while
>>> loading shared libraries: libselinux.so.1: failed to map segment from
>>> shared object: Cannot allocate memory
>> Increase the softlimits in the run files for the submission/SSL ports.
>> How much memory do you have in this system? I thought I had tuned this
>> for systems with around 4g of RAM.
>>
>>
>> ---------------------------------------------------------------------------------
>> Qmailtoaster is sponsored by Vickers Consulting Group
>> (www.vickersconsulting.com)
>> Vickers Consulting Group offers Qmailtoaster support and installations.
>> If you need professional help with your setup, contact them today!
>> ---------------------------------------------------------------------------------
>> Please visit qmailtoaster.com for the latest news, updates, and packages.
>>
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>
> ---------------------------------------------------------------------------------
> Qmailtoaster is sponsored by Vickers Consulting Group
> (www.vickersconsulting.com)
> Vickers Consulting Group offers Qmailtoaster support and installations.
> If you need professional help with your setup, contact them today!
> ---------------------------------------------------------------------------------
> Please visit qmailtoaster.com for the latest news, updates, and packages.
>
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]