router listens, accepts connections, records in it's log file when something
has disconnected, but anything else that gets launched, pegs the CPU.
Nothing unusual in the logs, but clients can't connect, although they take
a very, very long time to get the refusal.
What strace shows, is like what is quoted: resolver's strace log, below.
Other programs do something similar; a select call that gets repeated
ad nauseum.
I've tried a few different combinations of compiler options, but the
behavior never changes -- the CPU gets maxed out and the program never
does anything. I've even killed the working, 2.1.6, and then launching
the test processes, to make sure they weren't stepping on each other
somehow. Hrhhm...suggestions?
> mmap2(NULL, 18648, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) =
> 0xb7a6d000
> mmap2(0xb7a71000, 4096, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x3) = 0xb7a71
> 000
> close(5) = 0
> open("/usr/lib/sasl2/libcrammd5.la", O_RDONLY) = 5
> close(5) = 0
> getdents(4, /* 0 entries */, 131072) = 0
> munmap(0xb7b87000, 135168) = 0
> close(4) = 0
> time(NULL) = 1186246885
> write(3, "Sat Aug 4 10:01:25 2007 [notice"..., 90) = 90
> socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 4
> fcntl64(4, F_GETFL) = 0x2 (flags O_RDWR)
> fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0
> connect(4, {sa_family=AF_INET, sin_port=htons(5353),
> sin_addr=inet_addr("127.0.0.1")}, 16) = -1 EINP
> ROGRESS (Operation now in progress)
> fcntl64(4, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK)
> fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0
> select(5, [], [4], [4], {5, 0}) = 1 (left {5, 0})
> select(5, [], [4], [4], {5, 0}) = 1 (left {5, 0})
> select(5, [], [4], [4], {5, 0}) = 1 (left {5, 0})
> select(5, [], [4], [4], {5, 0}) = 1 (left {5, 0})
> select(5, [], [4], [4], {5, 0}) = 1 (left {5, 0})
> select(5, [], [4], [4], {5, 0}) = 1 (left {5, 0})
> select(5, [], [4], [4], {5, 0}) = 1 (left {5, 0})
> select(5, [], [4], [4], {5, 0}) = 1 (left {5, 0})
_______________________________________________
Jabberd2 mailing list
[email protected]
http://lists.xiaoka.com/listinfo.cgi/jabberd2-xiaoka.com