Subject: Don't check /etc/hosts?

Don't check /etc/hosts?

From: Christopher Palow <cpalow_at_facebook.com>
Date: Tue, 03 Jun 2008 19:00:36 -0700

Is there a way to not check /etc/hosts? I'd rather not having the blocking
I/O there.

  0.000038 ares_gethostbyname(0x97eb1f0, 0x804ee90, 2, 0x804c2c8, 0
<unfinished ...>
  0.000092 SYS_open("/etc/hosts", 0, 0666)
= 4
  0.000087 SYS_fstat64(4, 0xbf9623e8, 0xba6ff4, 0x98b6690, 0x98b6690)
= 0
  0.000065 SYS_mmap2(0, 4096, 3, 34, -1)
= 0xb7f61000
  0.000069 SYS_read(4, "# Do not remove the following li"..., 4096)
= 1984
  0.000158 SYS_read(4, "", 4096)
= 0
  0.000060 SYS_close(4)
= 0
  0.000049 SYS_munmap(0xb7f61000, 4096)
= 0

Thanks,
Chris
Received on 2008-06-04