BOINC always "Suspended - computer is in use", when not in use

Message boards : Questions and problems : BOINC always "Suspended - computer is in use", when not in use
Message board moderation

To post messages, you must log in.

AuthorMessage
dskd

Send message
Joined: 1 May 20
Posts: 4
Germany
Message 98254 - Posted: 1 May 2020, 16:54:28 UTC

Boinc always suspends tasks as "computer is in use", when computer is not in use.
Unfortunately I have no idea how to debug this problem.

OS: Kubuntu 20.04
Boinc Manager 7.16.6

Thanks for any help.

See config below:
/etc/boinc-client/global_prefs_override.xml
<global_preferences>
<run_on_batteries>1</run_on_batteries>
<run_if_user_active>0</run_if_user_active>
<run_gpu_if_user_active>0</run_gpu_if_user_active>
<idle_time_to_run>0.100000</idle_time_to_run>
<suspend_cpu_usage>25.000000</suspend_cpu_usage>
<start_hour>0.000000</start_hour>
<end_hour>23.983333</end_hour>
<net_start_hour>0.000000</net_start_hour>
<net_end_hour>0.000000</net_end_hour>
<leave_apps_in_memory>0</leave_apps_in_memory>
<confirm_before_connecting>1</confirm_before_connecting>
<hangup_if_dialed>0</hangup_if_dialed>
<dont_verify_images>0</dont_verify_images>
<work_buf_min_days>0.100000</work_buf_min_days>
<work_buf_additional_days>0.500000</work_buf_additional_days>
<max_ncpus_pct>100.000000</max_ncpus_pct>
<cpu_scheduling_period_minutes>60.000000</cpu_scheduling_period_minutes>
<disk_interval>60.000000</disk_interval>
<disk_max_used_gb>0.000000</disk_max_used_gb>
<disk_max_used_pct>90.000000</disk_max_used_pct>
<disk_min_free_gb>0.100000</disk_min_free_gb>
<vm_max_used_pct>1.000000</vm_max_used_pct>
<ram_max_used_busy_pct>50.000000</ram_max_used_busy_pct>
<ram_max_used_idle_pct>90.000000</ram_max_used_idle_pct>
<max_bytes_sec_up>0.000000</max_bytes_sec_up>
<max_bytes_sec_down>0.000000</max_bytes_sec_down>
<cpu_usage_limit>100.000000</cpu_usage_limit>
<daily_xfer_limit_mb>0.000000</daily_xfer_limit_mb>
<daily_xfer_period_days>0</daily_xfer_period_days>
</global_preferences>
ID: 98254 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 5080
United Kingdom
Message 98257 - Posted: 1 May 2020, 20:36:48 UTC - in response to Message 98254.  

BOINC's definition of 'computer in use' is that BOINC has detected input from a HID - a 'Human Interface Device'. The traditional HIDs are keyboard and mouse, and they usually don't cause problems. But we have had people report problems when they introduce a super-sensitive joystick or game controller - some of them have picked up slight traces of environmental vibration and treated it as input.

So, do you have any unusual hardware like that? If so, could you try disconnecting it for a test, to see if the problem goes away?
ID: 98257 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15480
Netherlands
Message 98258 - Posted: 1 May 2020, 21:14:39 UTC

Or a mouse with a HERO or laser sensor. Those are more sensitive than an infrared sensor.
ID: 98258 · Report as offensive
SuperSluether

Send message
Joined: 6 Jul 14
Posts: 94
United States
Message 98448 - Posted: 12 May 2020, 14:57:40 UTC

I started having this same issue after upgrading my laptop from Ubuntu 19.10 to 20.04 LTS. This upgraded BOINC from 7.16.3 to 7.16.6. It was working properly in the previous version, and I did not change any physical hardware.

This is on an HP Pavilion gaming laptop, CX0058WM to be specific. The only external hardware connected to the laptop is the charger and a USB-powered cooling pad, which only pulls power and is not detected by the laptop at all. XDG_SESSION_TYPE is still x11, so it doesn't seem to be a Wayland issue.

Is there something I can enable in the event log or possibly a system log I should be looking through to see why BOINC thinks the computer is in use?
ID: 98448 · Report as offensive
dskd

Send message
Joined: 1 May 20
Posts: 4
Germany
Message 98478 - Posted: 13 May 2020, 20:47:08 UTC

It also occurs, when no usb device is connected and after updating my notebook to 20.04 also, the error also appeared there.
ID: 98478 · Report as offensive
Les Bayliss
Help desk expert

Send message
Joined: 25 Nov 05
Posts: 1654
Australia
Message 98481 - Posted: 14 May 2020, 1:50:19 UTC - in response to Message 98478.  

What values do you have set for the various When to suspend options in Computing preferences ?
ID: 98481 · Report as offensive
SuperSluether

Send message
Joined: 6 Jul 14
Posts: 94
United States
Message 98483 - Posted: 14 May 2020, 3:18:49 UTC - in response to Message 98481.  

What values do you have set for the various When to suspend options in Computing preferences ?


Suspend when computer is on battery is checked.
Suspend when computer is in use is checked.
Suspend GPU computing when computer is in use is checked, but grayed out because of the above setting.
'In use' means mouse/keyboard input in last 2 minutes
Suspend when non-BOINC CPU usage is above 25% is checked.

When I unplug the laptop, the event log doesn't display any new message, but the status for tasks changes from "Suspended - computer is in use" to "Suspended - on batteries".


This problem still occurs when I turn off the touchpad, and when I connect a USB keyboard.
ID: 98483 · Report as offensive
Les Bayliss
Help desk expert

Send message
Joined: 25 Nov 05
Posts: 1654
Australia
Message 98484 - Posted: 14 May 2020, 5:19:00 UTC - in response to Message 98483.  
Last modified: 14 May 2020, 5:24:00 UTC

I was replying to dskd, but I guess it applies to both of you.

The only thing not default there, is:
In use' means mouse/keyboard input in last 2 minutes

Normally it's 3 minutes.
You could try that, but otherwise, I can't think of anything.
ID: 98484 · Report as offensive
dskd

Send message
Joined: 1 May 20
Posts: 4
Germany
Message 98492 - Posted: 14 May 2020, 14:51:03 UTC - in response to Message 98484.  

As soon as I check "Suspend when computer in use", regardless of the time input, it never starts working stating "Suspended - computer is in use". It says "computer is in use", so other settings _should_ not matter.

I never had that problem with ubuntu 19.04 and now it occurs on two machines with 20.04.
ID: 98492 · Report as offensive
dskd

Send message
Joined: 1 May 20
Posts: 4
Germany
Message 98493 - Posted: 14 May 2020, 14:53:32 UTC

I have a third machine still with 19.04 - I will update boinc on that one using the PPA and will see, whether the problem also occurs then - so I can see whether it's due to something that happened in the update or the newer boinc version.
ID: 98493 · Report as offensive
SuperSluether

Send message
Joined: 6 Jul 14
Posts: 94
United States
Message 98495 - Posted: 14 May 2020, 15:30:39 UTC

After manually downgrading both the boinc-client and libboinc7 package to 7.16.3, BOINC was able to properly detect when the computer was and was not in use on Ubuntu 20.04. Due to dependency issues, you will also need to downgrade the boinc-manager package and the boinc metapackage, if installed, otherwise apt will complain. Here's what I did on Ubuntu 20.04 LTS:



I don't know if this will work on Ubuntu derivatives such as Kubuntu or Lubuntu. If this problem is fixed in a future version of BOINC, you can unhold the packages with

sudo apt-mark unhold boinc boinc-client boinc-manager libboinc7
and the updates will install as normal.
ID: 98495 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 5080
United Kingdom
Message 98501 - Posted: 14 May 2020, 17:09:15 UTC

Reported upstream as #3715 - I'll keep an eye on it, and pass back any comments, suggestions - or solutions!
ID: 98501 · Report as offensive
Germano

Send message
Joined: 21 May 16
Posts: 37
Italy
Message 98530 - Posted: 15 May 2020, 20:28:02 UTC
Last modified: 15 May 2020, 20:40:43 UTC

...
ID: 98530 · Report as offensive
Nick Name

Send message
Joined: 14 Aug 19
Posts: 55
United States
Message 98570 - Posted: 17 May 2020, 6:37:42 UTC

There have been a couple reports on the F@H forums about a similar problem with that client not detecting when the system is idle. Multiple distros are affected so I suspect there's been a change in newer kernels that causes this in some cases. I have no idea where to look or how to fix it though.
Team USA forum
Follow us on Twitter
Help us #crunchforcures!
ID: 98570 · Report as offensive

Message boards : Questions and problems : BOINC always "Suspended - computer is in use", when not in use

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.