[winswitch] winswitch uses 100% CPU

McDermott, Chris Kevin (MSDU - HP Storage) chris.mcdermott at hpe.com
Mon Sep 21 21:35:09 BST 2015


I'm running winswitch on RHEL 6.4.  The winswitch-server and winswitch-stdio processes are both using approximately 100% CPU (core).

I have read the FAQ on this http://winswitch.org/trac/ticket/90.

I have patched pygtk2-2.16.0-3 Fedora source RPM with the patches https://bugzilla.redhat.com/attachment.cgi?id=477006 and https://bugzilla.redhat.com/attachment.cgi?id=477007 (more or less) and did an rpmbuild to produce a new binary RPM for pygtk2-2.16.0-3.el6.

I've installed the new binary RPM and restarted winswitch.  The high CPU usage did not change.

strace of winswitch_server shows

poll([{fd=7, events=POLLIN}, {fd=3, events=POLLIN}, {fd=15, events=POLLIN}, {fd=11, events=POLLIN}, {fd=5, events=POLLIN}, {fd=13, events=POLLIN}, {fd=10, events=POLLIN}], 7, 38) = 1 ([{fd=3, revents=POLLIN}])
poll([{fd=7, events=POLLIN}, {fd=3, events=POLLIN}, {fd=15, events=POLLIN}, {fd=11, events=POLLIN}, {fd=5, events=POLLIN}, {fd=13, events=POLLIN}, {fd=10, events=POLLIN}], 7, 38) = 1 ([{fd=3, revents=POLLIN}])
poll([{fd=7, events=POLLIN}, {fd=3, events=POLLIN}, {fd=15, events=POLLIN}, {fd=11, events=POLLIN}, {fd=5, events=POLLIN}, {fd=13, events=POLLIN}, {fd=10, events=POLLIN}], 7, 36) = 1 ([{fd=3, revents=POLLIN}])
poll([{fd=7, events=POLLIN}, {fd=3, events=POLLIN}, {fd=15, events=POLLIN}, {fd=11, events=POLLIN}, {fd=5, events=POLLIN}, {fd=13, events=POLLIN}, {fd=10, events=POLLIN}], 7, 35) = 1 ([{fd=3, revents=POLLIN}])

ad infinitum

lsof shows this for fd 3

    winswitch 16617  mcdermoc    3r     FIFO                0,8      0t0   93100 pipe

strace of stdio is basically the same pattern - nothing but calls to poll(3).

I am out of ideas.  Any help on a new direction which I could pursue would be greatly appreciated.

Thanks,
Chris



More information about the shifter-users mailing list