Re: 30 seconds timeout using certain proxy servers

Charles Cazabon <[email protected]> Tue, 31 Oct 2006 10:09:53 -0600
Newsgroups gmane.comp.djb.publicfile
Message-ID <[email protected]>
richard lucassen <[email protected]> wrote:
> 
> > > When using "privoxy" http://www.privoxy.org/ or "mproxy"
> > > http://maxrelax.de/~tknop/mproxy.html there is always a 30 seconds
> > > delay in getting pages from a publicfile server
> > 
> > Show us the script you're using to start the publicfile service.
> 
> #!/bin/sh
> exec 2>&1
> exec envuidgid qftp softlimit -o20 -d50000 tcpserver -vDRHl0 -b50 -c100
> 0 80 /usr/local/publicfile/bin/httpd /mnt/data/symlinks/var/www

Hmmm.  The most common cause of the delay is one of the DNS or ident lookups,
but that script disables them.  Did you change this script without restarting
the service, so that it's actually using different options than this shows?

> Same problem on Dan's site http://cr.yp.to/ btw.

Not here.  djb leaves the DNS lookups and ident lookups turned on for his
services.  If your DNS is bad, or your firewall is silently dropping ident
queries (rather than explicitly rejecting them), you'll see delays connecting
to his site.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                       <[email protected]>
GPL'ed software available at:               http://pyropus.ca/software/
-----------------------------------------------------------------------