Message boards : Questions and problems : how to make boinc read app_config.xml
Message board moderation
Author | Message |
---|---|
Send message Joined: 13 Dec 13 Posts: 21 ![]() |
I just want to limit the max number of concurrent jobs for any applications in my project. I tried the app_config.xml and it works for me but It seems that I need to use the boinc manager GUI to manually make the boinc system read in the app_config.xml file as follows, <app_config> <app> <name>myappname</name> <max_concurrent>1</max_concurrent> </app> </app_config> Is there any way to do it using command line tools or is it the way that when the boinc client restart, it will read the app_config.xml file automatically? Thanks! |
Send message Joined: 20 Nov 12 Posts: 801 ![]() |
boinccmd --read_cc_config I would expect that to read app_config.xml too. All the config files are read on client startup too. I'm not sure what you mean with 'my project'. |
Send message Joined: 13 Dec 13 Posts: 21 ![]() |
Hi Juha, Thanks for the feedback. I just noticed the --read_cc_config option. I will try that. I set up a boinc server on AWS cloud which will dispatch my projects and apps. I want to do a simulation, say I want to set up 100 clients on AWS cloud. I have a application which can create work units in "pulse" model. For example, there will be 30 work units sent to the WU queue in less than 5 seconds, and then wait for 4 hours and then 50 work units will be in the queue in a very short time. In these cases, many jobs will be dispatched to one client and the distribution is not evenly. Do you have any idea how to make it evenly distributed to all clients? In this way, I can take advantage of a number of clients. Thanks, |
Send message Joined: 20 Nov 12 Posts: 801 ![]() |
max_concurrent in app_config.xml limits how many tasks for a project BOINC client runs at the same time. It doesn't limit the number of tasks cached. What you want is to limit in-progress tasks the host has. See Job limits. Setting <max_wus_in_progress> to 1 or 2 should do the trick. |
Send message Joined: 13 Dec 13 Posts: 21 ![]() |
Thanks Juha. I tried "boinccmd --read_cc_config" and it works! And Your suggestion to config the server side is promising too. Thanks you very much for sharing your knowledge! --Wei |
Copyright © 2025 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.