exclusive_app on linux with spaces

Message boards : Questions and problems : exclusive_app on linux with spaces
Message board moderation

To post messages, you must log in.

AuthorMessage
gbonk

Send message
Joined: 11 Dec 20
Posts: 2
United States
Message 102098 - Posted: 11 Dec 2020, 22:28:52 UTC

I have a plex media server that I allow Boinc to run on. Plex has some intensive processes like when it's transcoding the resolution of a video.

The problem I seem to be having is because the executable name has a space in it.

grbonk@plex:~$ sudo cat /proc/113852/stat
113852 (Plex Transcoder) R 65807 65807 65807 0 -1 4194304 8505461 0 0 0 35973 1566 0 0 20 0 38 0 50624143 2136190976 218317 18446744073709551615 4194304 4449964 140736792941616 0 0 0 81926 4097 8404998 0 0 0 17 11 0 0 612 0 0 6548008 6560688 35827712 140736792950222 140736792951783 140736792951783 140736792952783 0


I've tried a few different ways to set exclusive_app but have not gotten it to work yet.

Running World Community Grid
BOINC client version 7.16.6 for x86_64-pc-linux-gnu
OS: Linux Ubuntu: Ubuntu 20.04.1 LTS [5.4.0-56-generic|libc 2.31 (Ubuntu GLIBC 2.31-0ubuntu9.1)]
ID: 102098 · Report as offensive
Les Bayliss
Help desk expert

Send message
Joined: 25 Nov 05
Posts: 1486
Australia
Message 102099 - Posted: 12 Dec 2020, 0:54:11 UTC - in response to Message 102098.  

Have you tried double quotes around the name?

"...."
ID: 102099 · Report as offensive
Profile Keith Myers
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 17 Nov 16
Posts: 576
United States
Message 102100 - Posted: 12 Dec 2020, 1:20:22 UTC

Or just rename the executable without the space?
ID: 102100 · Report as offensive
Ian&Steve C.

Send message
Joined: 24 Dec 19
Posts: 156
United States
Message 102101 - Posted: 12 Dec 2020, 15:09:19 UTC - in response to Message 102100.  

Or just rename the executable without the space?


i think the application in question is "Plex Transcoder". renaming it would likely break the function in Plex. don't want to do that.
ID: 102101 · Report as offensive
gbonk

Send message
Joined: 11 Dec 20
Posts: 2
United States
Message 102107 - Posted: 12 Dec 2020, 18:54:29 UTC

Sooooooo, I thought I would go back through the steps and debug what I was doing and apparently when I tried this the first time I must have had something wrong in the config or something.

Having just the text with the space seems to work just fine :-/

<cc_config>
...
  <options>
    <exclusive_app>Plex Transcoder</exclusive_app>
  </options>
</cc_config>


In the log "Config: don't compute while Plex Transcoder is running"
ID: 102107 · Report as offensive

Message boards : Questions and problems : exclusive_app on linux with spaces

Copyright © 2021 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.