Re: Blocking DNS lookup on MC startup



Hi Pavel,

On Wed, 2006-05-31 at 14:49 +0300, Pavel Tsekov wrote:
> 1) The backtrace shows it.

Yes, but that doesn't mean it couldn't hang elsewhere. Hence my
question.
> 
> 2) If i had smbfs disabled (and I do) i wasn't able to reproduce
> the slowdown.

Right.

> 3) There are not gethostbyname() during MC startup.

I see now. It's used in ftpfs, but only on the instantiation of a
socket.

> It has confirmed that this is not the reason for the slowdown on sf. 
> Please, read the whole thread.

O yeah, I read and forgot ;) . Sorry.

> > Moving the Get_Hostbyname() call to inside the if(ip) seems a proper
> > solution.
> 
> Yep. Maybe that's what we want to do. The impact will be minor.

Good.

Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]