Re: paging all socket geniuses
- From: "Frank \"frgo\" a.k.a DG1SBG" <dont-email-me@xxxxxxxxxx>
- Date: Thu, 31 Jul 2008 19:58:21 +0200
Kenny <kentilton@xxxxxxxxx> writes:
Vilho Räisänen wrote:
Hello,
not familiar with ALisp or cl-s3 (or Windows, thank Supreme Being), but some
quick thoughts:
- is this a recurrent problem? Single events of long delays in
connecting could arise from multiple reasons (e.g. high server load, DNS
delay, ...).
The global behavior (a simple hang) has been consistent and
unfailing. Only recently did I dig as deep as the make-socket call,
but again every time i see the same thing: a 30-60second pause at
make-socket, which then returns and the rest of the code chugs on a
few more yards before a final hang.
(did not read all responses in this thread ...)
To my experience this has to do with network name resolution. 30 to 60
seconds of delay is typical of a failover from one DNS (domain name
server) to another.
Possible measures:
1. Use another name server as your primary nameserver. This is, of
course, only an option if you have the freedom to do so ...
2. Use directly the ip address for s3.ama... in the socket connect
call. This is obviously only a not so optimal solution ... Whenever
s3.amazon... gets a new name you have to update.
So, yes, it's most likely the laptop's DNS setup.
Best,
Frank
--
Frank Goenninger
frgo(at)me(dot)com
"Don't ask me! I haven't been reading comp.lang.lisp long enough to
really know ..."
.
- References:
- paging all socket geniuses
- From: Kenny
- Re: paging all socket geniuses
- From: Vilho Räisänen
- Re: paging all socket geniuses
- From: Kenny
- paging all socket geniuses
- Prev by Date: Re: Lisp based DSL for bio on Ars Technica
- Next by Date: Random uniform numbers (help)
- Previous by thread: Re: paging all socket geniuses
- Next by thread: Re: paging all socket geniuses
- Index(es):
Relevant Pages
|