[winswitch] High CPU usage

Antoine Martin antoine at nagafix.co.uk
Fri May 3 09:25:17 BST 2013


On 05/03/2013 01:00 PM, Michael Klitgaard wrote:
> Sorry:
> 
> Centos 6.3
> Winswitch from trunk (yesterday)
> Xpra 0.9.0 from winswitch.org <http://winswitch.org> repo
Then I guess I'll have to try it out.
As can be seen in the ticket links I had posted, this may well be a
problem with your system libraries (I am definitely not seeing this here
with newer libs).
Upgrading CentOS to 6.4 may solve this.

Cheers
Antoine


> 
> 
> 
> 
> On Fri, May 3, 2013 at 5:36 AM, Antoine Martin <antoine at nagafix.co.uk
> <mailto:antoine at nagafix.co.uk>> wrote:
> 
>     On 05/03/2013 01:54 AM, Michael Klitgaard wrote:
>     > Hello,
>     >
>     > I seem to be having high cpu usage while running winswitch server.
>     > I am connected via Xpra over ssh, but even though I have no
>     sessions open,
>     > just connected to the server, winswitch uses two cores at 100%.
>     >
>     > Winswitch seems to be working fine, but I think there will be
>     approx. 10
>     > users using the machine with sessions, so I need to get the cpu
>     usage down,
>     > when winswitch is basicly idling.
>     >
>     > Any thoughs on how to get the cpu usage down?
>     >
>     > Here is a dump from top:
>     >
>     > Tasks: 365 total,   3 running, 361 sleeping,   0 stopped,   1 zombie
>     > Cpu(s): 18.9%us,  6.7%sy,  0.0%ni, 74.3%id,  0.0%wa,  0.0%hi,  0.0%si,
>     >  0.0%st
>     > Mem:  12323548k total, 10032412k used,  2291136k free,   386676k
>     buffers
>     > Swap:  1023992k total,        0k used,  1023992k free,  8465676k
>     cached
>     >
>     >   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
>     > 14891 mkl       20   0  233m  14m 4508 R 99.9  0.1   2:00.83
>     winswitch_stdio
>     > 15017 mkl       20   0  631m  26m 3972 R 99.9  0.2   1:58.94
>     winswitch_serve
>     You're not saying what distro/version you use so I can only take a
>     guess:
>     http://winswitch.org/trac/ticket/197
>     http://winswitch.org/trac/ticket/90
> 
>     Antoine
> 
> 
> 
>     >
>     >
>     > Sincerely
>     > Michael
>     > _______________________________________________
>     > shifter-users mailing list
>     > shifter-users at lists.devloop.org.uk
>     <mailto:shifter-users at lists.devloop.org.uk>
>     > http://lists.devloop.org.uk/mailman/listinfo/shifter-users
>     >
> 
>     _______________________________________________
>     shifter-users mailing list
>     shifter-users at lists.devloop.org.uk
>     <mailto:shifter-users at lists.devloop.org.uk>
>     http://lists.devloop.org.uk/mailman/listinfo/shifter-users
> 
> 




More information about the shifter-users mailing list