Comment 6 for bug 1006553

Revision history for this message
Neal McBurnett (nealmcb) wrote : Re: Juju uses 100% CPU after host reboot

I tried the strace suggested in #2, with the output below - pretty much the same as Māris.

The nice thing is, doing the strace also stopped the 100% cpu usage and the process I traced is no longer there.

The odd thing is that there were two processes at 100% cpu according to htop, but only one according to ps and only one of my 4 cpus was pegged. I traced the one that was not visible in ps, and now it is gone.....

1343 poll([{fd=4, events=POLLIN}], 1, 0) = 0 (Timeout)
1343 poll([{fd=4, events=POLLIN}], 1, 0) = 0 (Timeout)
1343 socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 10
1343 setsockopt(10, SOL_TCP, TCP_NODELAY, [1], 4) = 0
1343 fcntl(10, F_GETFL) = 0x2 (flags O_RDWR)
1343 fcntl(10, F_SETFL, O_RDWR|O_NONBLOCK) = 0
1343 connect(10, {sa_family=AF_INET, sin_port=htons(52489), sin_addr=inet_addr("192.168.122.1")}, 16) = -1 EINPROGRESS (Operation now in progress)
1343 close(10) = 0