Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: named spinning



On Oct 6,  8:49pm, gary%duzan.org@localhost (Gary Duzan) wrote:
-- Subject: Re: named spinning

| 
| ===================================================================
| wheel { /usr/src/external/bsd/bind/lib/libisc } # 
/usr2/obj/external/bsd/bind/bin/named/named -f
| <>got: 0 of 1, ident: 5
| <>got: 0 of 1, ident: 5
| <>got: 0 of 1, ident: 5
| <
| ===================================================================
| 
| So it is just staying in kevent(), eating CPU.
| 
| 14090 root      34    0    86M   33M CPU/1      4:31 83.79% 83.79% named
| 
| Here is the fstat output:
| 
| ===================================================================
| wheel { /usr/src/external/bsd/bind/dist/lib/isc/unix } # fstat -p `pgrep 
named`
| USER     CMD          PID   FD MOUNT       INUM MODE         SZ|DV R/W
| root     named      14090   wd /        13992411 drwxr-xr-x     512 r 
| root     named      14090    0 /dev/pts       3 crw--w----   ttyp0 rw
| root     named      14090    1 /dev/pts       3 crw--w----   ttyp0 rw
| root     named      14090    2 /dev/pts       3 crw--w----   ttyp0 rw
| root     named      14090    3* unix dgram  <-> ffff80000e244980
| root     named      14090    4 /        13647756 crw-rw-rw-   3658,321633 rw
| root     named      14090    5* pipe 0xffff8000b8f0b7e0 <- 0xffff8000948e12b8 
rn
| root     named      14090    6* pipe 0xffff8000948e12b8 -> 0xffff8000b8f0b7e0 
w
| root     named      14090    4* kqueue pending 0
| root     named      14090    5* crypto 0xffff80000dc36f18
| root     named      14090    9 /        13648392 cr--r--r--   1438,320325 r 
| [ and the port 53 sockets ]
| ===================================================================
| 
|    Any more ideas what to look for? I think some of the other things
| I was seeing were artifacts of being in the debugger, which the
| printfs remove. I could try building a debugging libc on another
| box with the same current snapshot, but it wouldn't be my first
| choice.

Yes 5 is crypto are you using DNSSEC? I don't see crypto on mine...
Now I suspect kevent is misbehaving with /dev/crypto. Let me cook
a kernel with crypto. In the meantime, can you remove /dev/crypto,
restart named, and see if it works?

christos


Home | Main Index | Thread Index | Old Index