[NTLUG:Discuss] Slow connection to pop3
Bug Hunter
bughuntr at one.ctelcom.net
Mon Jul 29 16:22:13 CDT 2002
It appears that the dns resolution is taking a long time. If the first
namserver entry in /etc/resolv.conf cannot be reached, the second entry is
tried. Perhaps the first nameserver entry in your /etc/resolv.conf file
is a bad entry, or is down? This happened to me and took a while to find.
bug
On Mon, 29 Jul 2002, Neil Aggarwal wrote:
> Bug:
>
> Sorry that it took so long to get back to you.
>
> It did not come back with a 7. I pinged 192.168.1.7 since
> I have been reconfiguring the network and that was one
> of the machines I just added.
>
> Here is what happens right now:
>
> When I try to connect to pop3, I get this message
> in /var/log/messages:
> Jul 29 15:59:16 www xinetd[975]: START: pop3 pid=23837 from=192.168.1.7
>
> Then, after about 10 seconds, I get these messages in
> /var/log/maillog:
> Jul 29 15:59:28 www ipop3d[23837]: pop3 service init from 204.130.252.206
> Jul 29 15:59:28 www ipop3d[23837]: Login user=brent host=host7.homexcorp.com
> [192.168.1.7] nmsgs=4/4
> Jul 29 15:59:29 www ipop3d[23837]: Logout user=brent
> host=host7.homexcorp.com [192.168.1.7] nmsgs=0 ndele=4
>
> I dont have a /var/log/daemon.log
>
> There is definitely a delay between when xinetd gets the request and
> when the pop3 daemon is invoked.
>
> Any ideas what is going on?
>
> Thanks,
> Neil.
>
>
> --
> Neil Aggarwal
> JAMM Consulting, Inc. (972) 612-6056, http://www.JAMMConsulting.com
> Custom Internet Development Websites, Ecommerce, Java, databases
>
>
> > -----Original Message-----
> > From: discuss-admin at ntlug.org [mailto:discuss-admin at ntlug.org]On Behalf
> > Of Bug Hunter
> > Sent: Wednesday, July 17, 2002 1:36 PM
> > To: discuss at ntlug.org
> > Subject: RE: [NTLUG:Discuss] Slow connection to pop3
> >
> >
> >
> > did it come back with a 7? Is the address in your hosts file a 4?
> >
> > whenever you make a pop3 connection, what does /var/log/messages say?
> > if you have /var/log/daemon.log, what does that say.
> >
> > bug
> >
> > On Wed, 17 Jul 2002, Neil Aggarwal wrote:
> >
> > > Bug:
> > >
> > > I did:
> > >
> > > ping host7.homexcorp.com
> > >
> > > It came back immediately with this result:
> > > PING host7.homexcorp.com (192.168.1.7) from 192.168.1.1 :
> > 56(84) bytes of
> > > data.
> > > 64 bytes from host7.homexcorp.com (192.168.1.7): icmp_seq=1 ttl=128
> > > time=0.557 ms
> > > [More lines deleted]
> > >
> > > But, the pop3 connections are still slow, so it does not seem like
> > > a DNS related issue, nor a connectivity issue.
> > >
> > > Any other ideas?
> > >
> > > Thanks,
> > > Neil.
> > >
> > > --
> > > Neil Aggarwal
> > > JAMM Consulting, Inc. (972) 612-6056, http://www.JAMMConsulting.com
> > > Custom Internet Development Websites, Ecommerce, Java, databases
> > >
> > >
> > > > -----Original Message-----
> > > > From: discuss-admin at ntlug.org
> > [mailto:discuss-admin at ntlug.org]On Behalf
> > > > Of Bug Hunter
> > > > Sent: Wednesday, July 17, 2002 8:27 AM
> > > > To: discuss at ntlug.org
> > > > Subject: RE: [NTLUG:Discuss] Slow connection to pop3
> > > >
> > > >
> > > >
> > > > nope. Dig does a query straight to a dns server.
> > > >
> > > > to see if /etc/hosts is working, try
> > > >
> > > > ping host4.homexcorp.com
> > > >
> > > > if it comes back immediately with a ping to 129.168.1.4,
> > then hosts is
> > > > being used on that machine.
> > > >
> > > > If it hangs for 30 seconds or so, then /etc/hosts is not being used.
> > > >
> > > >
> > > > On Tue, 16 Jul 2002, Neil Aggarwal wrote:
> > > >
> > > > > Bug:
> > > > >
> > > > > This is strange, I added this to my /etc/hosts file:
> > > > > 192.168.1.4 host4.homexcorp.com
> > > > >
> > > > > My /etc/host.conf looks like:
> > > > > order hosts,bind
> > > > > multi on
> > > > >
> > > > > I then started named by typing /etc/init.d/named start
> > > > >
> > > > > Then, I treid to do a reverse lookup using dig:
> > > > > dig @127.0.0.1 -x 192.168.1.4
> > > > >
> > > > > Here is what I got back:
> > > > > ; <<>> DiG 9.2.0 <<>> @127.0.0.1 -x 192.168.1.4
> > > > > ;; global options: printcmd
> > > > > ;; Got answer:
> > > > > ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 63996
> > > > > ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
> > > > >
> > > > > ;; QUESTION SECTION:
> > > > > ;4.1.168.192.in-addr.arpa. IN PTR
> > > > >
> > > > > ;; AUTHORITY SECTION:
> > > > > 168.192.in-addr.arpa. 10800 IN SOA prisoner.iana.org.
> > > > > hostmaster.root-servers.org. 2002040800 1800 900 604800 604800
> > > > >
> > > > > ;; Query time: 1061 msec
> > > > > ;; SERVER: 127.0.0.1#53(127.0.0.1)
> > > > > ;; WHEN: Tue Jul 16 20:09:33 2002
> > > > > ;; MSG SIZE rcvd: 119
> > > > >
> > > > > There is no answer section. I thought that the hosts file
> > > > should have been
> > > > > checked first and then I would get an answer.
> > > > >
> > > > > Any ideas?
> > > > >
> > > > > Thanks,
> > > > > Neil.
> > > >
> > > >
> > > > _______________________________________________
> > > > http://www.ntlug.org/mailman/listinfo/discuss
> > >
> > >
> > > _______________________________________________
> > > http://www.ntlug.org/mailman/listinfo/discuss
> > >
> >
> >
> > _______________________________________________
> > http://www.ntlug.org/mailman/listinfo/discuss
>
>
> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss
>
More information about the Discuss
mailing list