Qmail Support Forum Forum Index Qmail Support Forum
Qmail Email Server Support Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problem in QMAIL SMTP with multiple Connections!!!!!

 
Post new topic   Reply to topic    Qmail Support Forum Forum Index -> Qmail Solutions
View previous topic :: View next topic  
Author Message
admin
Site Admin


Joined: 21 Jun 2005
Posts: 210

PostPosted: Sat Aug 19, 2006 4:12 pm    Post subject: Problem in QMAIL SMTP with multiple Connections!!!!! Reply with quote

Dear all

I am having a problem in my server slowing down ,while
mails send/received
at peak hours. More than 500 SMTP connections are
established at peak hours.

This is the /var/qmail/supervise/qmail-smptd/run file

#!/bin/sh
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
exec /usr/local/bin/softlimit -m 6000000 \
/usr/local/bin/tcpserver -H -R -l 0 \
-x /home/vpopmail/etc/tcp.smtp.cdb -c "$MAXSMTPD"
\
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \
/var/qmail/bin/qmail-smtpd bunix.com \
/home/vpopmail/bin/vchkpw /bin/true 2>&1

Today my server was fine in the morning but during
peak time , the smtp
connections increased and mailflow was also
increased.At this point ,
there was 480 SMTP connection and 300 mails in queue.
POP Connections was below 100 only.But many of the
outlook users were
not able to send mails. It was too slow to send mails
. Also the
total bandwidth of connection is 128 kbps The server
is having 1 GB of
RAM with PIII 700 GHZ processor.

In fact this server was upgraded from sendmail to
qmail. The above setup
with the same traffic and bandwidth was running
perfecly on 512 MB of RAM.
This surprises me.

Is sendmail better handle smtp connection than qmail
? or
Any fine tuning can be done on qmail-smtp or qmail?


Any help is appreciated.

Regds

Sridhar
Back to top
View user's profile Send private message Send e-mail
admin
Site Admin


Joined: 21 Jun 2005
Posts: 210

PostPosted: Sat Aug 19, 2006 4:14 pm    Post subject: Reply with quote

> MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
> exec /usr/local/bin/softlimit -m 6000000 \

if you calculate 480 * 6000000, you end up with
2.7 GB. how much does one of your qmail-smtpd processes
need memory, at max?
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Qmail Support Forum Forum Index -> Qmail Solutions All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group. Hosted by phpBB.BizHat.com


For Support - http://forums.BizHat.com

Free Web Hosting | Free Forum Hosting | FlashWebHost.com | Image Hosting | Photo Gallery | FreeMarriage.com

Powered by PhpBBweb.com, setup your forum now!