[winswitch] High CPU usage

Michael Klitgaard michael at klitgaard.dk
Wed May 15 13:03:53 BST 2013


Hello Antoine,

It will be a bit difficult for me to update to CentOS 6.4 right now.
If I would like to track the errors down, could you give me an idea how to
do this?
The #90 about PyGTK, should I try to get a different PyGTK?
I have this one:
# yum info pygtk2
Installed Packages
Name        : pygtk2
Arch        : x86_64
Version     : 2.16.0
Release     : 3.el6
Size        : 4.1 M
Repo        : installed
>From repo   : anaconda-base-201211270324.x86_64
Summary     : Python bindings for GTK+
URL         : http://www.pygtk.org/
License     : LGPLv2+
Description : PyGTK is an extension module for Python that gives you access
to the GTK+
            : widget set.  Just about anything you can write in C with GTK+
you can write
            : in Python with PyGTK (within reason), but with all the
benefits of using a
            : high-level scripting language.


Would you like any logs or do you want me to supply you with any additional
information?


Sincerely
Michael


On Fri, May 3, 2013 at 10:25 AM, Antoine Martin <antoine at nagafix.co.uk>wrote:

> 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