Vivek Khera wrote:
>>>>>>"SB" == Stas Bekman <[EMAIL PROTECTED]> writes:
>>>>>>
>
> SB> ok, so what magic words you say that it's so fast to respond on your
> SB> side? It looks like we have pretty much identical setups otherwise. :(
>
> Jumping in late and not knowing all the details... generally when you
> see long delays like that, I'd start pointing the finger at DNS.
> Does your DNS work quickly? Are you trying to resolve a
> non-resolvable address?
I'm not sure whether whatever hangs the thing is using the same way, but
it works immediately from Perl (gets immediate response on good and bad
addresses)
perl -lwe 'use Net::hostent; use Socket; $host = shift; $h =
gethost($host); die "cannot gethost($host)\n" unless $h; printf "\n%s is
%s%s\n",$host,lc($h->name) eq lc($host) ? "" : "*really* ",$h->name; if
(@{$h->addr_list}) { my $i; for $addr ( @{$h->addr_list} ) { printf
"\taddr #%d is [%s]\n", $i++, inet_ntoa($addr); }}' foo.bar.tar.kar
I guess the best is to use strace on httpd to learn what's going on, but
it won't let me:
strace -p 22195
attach: ptrace(PTRACE_ATTACH, ...): Operation not permitted
if I strace on the gdb, I get nothing but a normal pre-amble for a sec
or so and then aoubt 40 secs of:
ptrace(PTRACE_PEEKTEXT, 22353, 0x401ed61c, [0x400]) = 0
which is how gdb talks to the program, but it doesn't give anything.
Do you see the same problem, Vivek?
_____________________________________________________________________
Stas Bekman JAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide http://perl.apache.org/guide
mailto:[EMAIL PROTECTED] http://apachetoday.com http://eXtropia.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]