Issue's with socketmap (smmapd) under heavy load?
Lenny
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
ldapmap_lookup(VirtHost, )
ldapmap_close(VirtHost)
seq_map_parse(aliases.files, )
ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>
> socket_map_open(cyrus, local:/var/lib/imap/socket/socketmap, 0)
socket_find_conn 'local:/var/lib/imap/socket/socketmap�20798'
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)
socket_map_close(local:/var/lib/imap/socket/socketmap), pid=20798
socket_find_conn 'local:/var/lib/imap/socket/socketmap�20798'
real 0m11.266s
user 0m0.030s
sys 0m0.000s
--
"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
> http://www.sendmail.org/faq/section3.html#3.12
> 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
mailing list