Page 1 of 1

Login CPU Issues {Split}

Posted: Fri Mar 14, 2014 9:45 am
by Scatman
Hey would you also mind running login and at least 1 world all weekend and watching the memory usage? Make sure nothing is leaking. I'm going to do the same.
Guess I could just hook up valgrind...

Re: Login CPU Issues {Split}

Posted: Fri Mar 14, 2014 3:08 pm
by John Adams
Yup, public login and "New Telon" world are perpetually running (on Linux) from here out. Maybe I'll ask Foof to give me some valgrind pointers, as I think he has become an expert.

Edit: At first glance, this appears disturbing - current_login is the name of my running (in gdb) vgemu-login binary - says it's gobbling up 1 whole CPU -
top - 15:09:28 up 32 days, 11 min,  4 users,  load average: 1.00, 1.01, 0.99
Tasks: 123 total,   8 running, 115 sleeping,   0 stopped,   0 zombie
Cpu(s): 12.0%us, 13.5%sy,  0.0%ni, 74.5%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:   2060036k total,  1990580k used,    69456k free,   150700k buffers
Swap:   520188k total,      816k used,   519372k free,  1328700k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
17280 john      20   0 38576 2100 1740 S  100  0.1 455:03.39 current_login
That doesn't seem right.

Edit2: It is 100% of 1 CPU immediately on startup too. Same on Windows (8 cores on this box, so 13%)
windows32.jpg

Re: Login CPU Issues {Split}

Posted: Sun Mar 16, 2014 11:26 am
by Scatman
No bueno. Thanks for checking. I'll fix it asap.

Re: Login CPU Issues {Split}

Posted: Mon Mar 17, 2014 1:03 am
by Scatman
Fixed.