services.exe using 100% CPU

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
ddborowitz
Newbie
Newbie
Posts: 1
Joined: Wed Apr 30, 2008 3:54 am

services.exe using 100% CPU

Post by ddborowitz »

When running any program in wine-0.9.59 on a fresh install of Ubuntu 8.04 (amd64), wineserver and services.exe start up and subsequently eat up my entire CPU, about 50% each. I'm pretty sure the problem is in services.exe, since when I kill it, wineserver is still running, but CPU usage drops to a reasonable level.

strace on the services.exe process gives:

Code: Select all

read(7,
(doesn't seem to ever complete this read)

On wineserver, however, I get these 5 lines repeated:

Code: Select all

gettimeofday({1209545553, 425008}, NULL) = 0
read(63, "\30\0\0\0,\0\0\0\0\0\0\0\4\0\0\0\224D\263~\0\0\0\0\0\0"..., 64) = 64
read(63, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 44) = 44
write(64, "\0\0\0\0\0\0\0\0\0\0\0\0`:\256\223\237\252\310\1\0\0\0"..., 64) = 64
epoll_wait(6, {{EPOLLIN, {u32=42, u64=42}}}, 128, 17447) = 1
Except for a bit of variation in gettimeofday and some of the data written, these exact lines are repeated thousands of times per second.

The only things I can find on Google about services.exe are from release notes saying how it provides "better services handling," but as you might guess, I'm not entirely convinced :)
Dan Kegel

services.exe using 100% CPU

Post by Dan Kegel »

On Wed, Apr 30, 2008 at 2:05 AM, ddborowitz <[email protected]> wrote:
When running any program in wine-0.9.59 on a fresh install of
Ubuntu 8.04 (amd64), wineserver and services.exe start up
and subsequently eat up my entire CPU, about 50% each.
I'm pretty sure the problem is in services.exe, since when I kill it,
wineserver is still running, but CPU usage drops to a reasonable level.

strace on the services.exe process gives:
read(7,
(doesn't seem to ever complete this read)

On wineserver, however, I get these 5 lines repeated:
gettimeofday({1209545553, 425008}, NULL) = 0
read(63, "\30\0\0\0,\0\0\0\0\0\0\0\4\0\0\0\224D\263~\0\0\0\0\0\0"..., 64) = 64
read(63, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 44) = 44
write(64, "\0\0\0\0\0\0\0\0\0\0\0\0`:\256\223\237\252\310\1\0\0\0"..., 64) = 64
epoll_wait(6, {{EPOLLIN, {u32=42, u64=42}}}, 128, 17447) = 1

Except for a bit of variation in gettimeofday and some of the data written,
these exact lines are repeated thousands of times per second.
What does /proc say about where fd 63 and fd 64 are connected to?

Does this happen if you blow away ~/.wine and
run wine notepad?
- Dan
Locked