Issue's with socketmap (smmapd) under heavy load?
rahl at mindcryme.com
Wed Jul 14 15:37:13 EDT 2004
Wow I am truly brain dead today.. Apologies. Here it is:
time echo "/map cyrus melen at logical.net" | sendmail -bt -d60.5 -d38.20
ldapmap_open(VirtHost, 0): opening new connection
ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>
> socket_map_open(cyrus, local:/var/lib/imap/socket/socketmap, 0)
opening new connection
openmap() socket:cyrus local:/var/lib/imap/socket/socketmap: valid
map_lookup: cyrus (melen at logical.net) socket_map_lookup(cyrus,
melen at logical.net) local:/var/lib/imap/socket/socketmap
returns melen at logical.net<OK> (0)
> closemaps: closing cyrus (local:/var/lib/imap/socket/socketmap)
"Wisdom is to a man an infinite Treasure" - Anonymous"
Quoting Andrzej Filip <anfi at priv.onet.pl>:
> Lenny wrote:
>> 2) smmapd cyrus.conf entry:
>> smmapd cmd="/usr/lib/cyrus-imapd/smmapd"
>> listen="/var/lib/imap/socket/socketmap" prefork=1
> Looks OK [you may prefork more smmapd processess (5?) ]
Sounds reasonable. I've set this in my cyrus.conf...
> 30s delay make ident query the primary suspect.
> 1) Take a looka at the link below
> Q3.12 -- Why do connections to the SMTP port take such a long time?
> 2) Check if you sendmail is compiled with TCPWRAPPERS
> echo "" | sendmail -bt -d0.1 | grep TCP
> TCPWRAPPERS uses external library which does its own ident lookups.
echo "" | sendmail -bt -d0.1 | grep TCP
NETUNIX NEWDB NIS PIPELINING SASLv2 SCANF STARTTLS TCPWRAPPERS
So my sendmail is compiled with that. Is that a good or bad thing? Sorry, I'm
working on 36 hours of no sleep so far, I don't mean to sound dense.
Thank you for your help again. I'm truly becoming indebted to you.
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
More information about the Info-cyrus