Index: [Article Count Order] [Thread]

Date:  Thu, 4 May 2006 17:26:11 +0200
From:  Chris Hemsing <C.Hemsing (at mark) gmx.net>
Subject:  [coba-e:05017] Re: The ongoing QPOPPER Debate
To:  Adam Crews <coba-e (at mark) bluequartz.org>
Message-Id:  <1795378146.20060504172611 (at mark) gmx.net>
In-Reply-To:  <1486c6440605040704i2668baf2rbee600790f1b7f49 (at mark) mail.gmail.com>
References:  <006101c66f75$56e85000$1e64a8c0 (at mark) nuonce.net> <1486c6440605040704i2668baf2rbee600790f1b7f49 (at mark) mail.gmail.com>
X-Mail-Count: 05017

Hello Adam,

there should be a named running anyway!!!!!!!!!!!!
Of course named is cacheing!!!!
But - of course - you need to ask your own named.
So resolv.conf should direct to
127.0.0.1
No further use in a cache daemon!

It is just a fact, that there are very many lame nameservers out
there.

Therefore, reverse namelookups are potentially extremely slow and therefore there
exists an option to switch them off.

The point is: do you want the (reverse) name in the logs rather
than the ip address?
I alway have the reverse name lookups switched off.
If I'm keen to know the reverse name I can look it up later.
qpopper just waits for the name lookup before it can do the log entry.

Chris

Thursday, May 4, 2006, 4:04:35 PM, you wrote:

AC> Something that may be worth a try is to run the nscd daemon and leave
AC> reverse lookups on in qpopper.

AC> If you have connections from the same client multiple times, this will
AC> greatly speed up the dns lookups.   It should have little effect on a
AC> new connection however.

AC> -Adam

AC> On 5/4/06, Brian N. Smith <brian (at mark) nuonce.net> wrote:
>> To all,
>>
>> I have had this problem to.  Yesterday I made a very small change, and I
>> "think" it seems to have cleared it up some.  KNOCK on wood, but I haven't
>> received any Active Monitor emails about CPU Utilization, or any complaints
>> at all.
>>
>> I know eventually it will be switched to Dovecot, but if anyone wants to try
>> my "magical" fix.
>>
>> Edit: /etc/xinetd.d/pop3
>>
>> Change: server_args = in.qpopper -s
>> To: server_args = in.qpopper -s -R
>>
>> The -R says NOT to do a reverse lookup.  Like I said, remarkably it seems to
>> have fixed it.  I haven't seen 10-15 POP3 processes like I have been seeing.
>> It seems to have made the box very happy.  If someone who is having the same
>> problem can try it, and let me know if I am smoking crack, or does this
>> actually make a big difference?
>>
>> The only thing that I noticed to, is that PAM is just sometimes really slow.
>> Any good how-tos on speeding it up?
>>
>> Thanks,
>> Brian
>>
>>
>>


AC> --
AC> -----------------------------------------------------------------
AC> Shroom.net Donation Based Web Hosting
AC> http://www.shroom.net/
AC> -----------------------------------------------------------------