Posts by MarkJ

101) Message boards : Questions and problems : BOINC freezes Raspberry Pi (Message 84923)
Posted 27 Feb 2018 by MarkJ
Post:
I prefer not to use light though as I want to be able to xrdp into the raspi sometimes.

Raspbian comes with SSH. You need to enable it via Raspi-Config.

All mine run headless, I just use putty to occasionally login to them an apply updates. If you have a windows PC you can use BOINCtasks to manage the BOINC side of things as well so you rarely need to login to them. Hopefully you also have a firewall on it as there is malware that specifically tries to brute-force password attack the Pi user and then installs bitcoin mining software on them.

Also what makes me not want to use swap? This shouldn't lead to freezing I think. I guess it will be better for the SD card though.

Swap is slow, even on a normal PC. Reducing the video ram helps free up some for other tasks to use. The Pi isn't fast with its SD card so if you can reduce disk access that makes it go faster. I have BOINC set to write checkpoint files every 600 (the default is 60) seconds. The SD cards also wear out so you'll need to reflash and/or replace them every now and then.

Have you managed to monitor the memory usage (via top)?

Edit: I think I saw after one of the crashes in the boinc log files that computation was suspended because computer is in use. This was right before the crash as far as I could tell. Seeing that the raspi is hot a few hours after the freeze is it possible that some other process is requesting cpu time? I've set "<suspend_cpu_usage>90.000000</suspend_cpu_usage>" in the global_prefs_override. I will try reducing this now to see what happens.

I have mine set to run always so they don't suspend. Memory usage is set to to 60% when in use and 90% when idle. Checkpoint as above.

What project apps are you running on it when it crashes? There used to be a kernel bug that caused the Seti app to crash but that was fixed almost a year ago.
102) Message boards : Questions and problems : BOINC freezes Raspberry Pi (Message 84915)
Posted 26 Feb 2018 by MarkJ
Post:
The red led is supposed to be on constantly. Does it blink? If so you have a power supply issue. Is your power supply rated for 2.5A? What other peripherals are connected to the Pi via the USB?

The Pi3 needs active cooling, a heatsink and fan on the Soc. The other chips don't require them.

You didn't say what version of Raspbian. Mine says "Linux *** 4.9.59-v7+ #1047 SMP Sun Oct 29 12:19:23 GMT 2017 armv7l" which is the Stretch release. I installed Jessie-Lite. If you're running headless then there is no need for the other stuff.

Swap - You shouldn't be using swap at all. When you ran Raspi-Config hopefully you reduced the video memory to the minimum (16). You can check if swap is being used by doing a top command. Press Q to exit. The 3rd and 4th line should say how much memory its using. This is what one of mine looks like while running 4 Einstein BRP4 tasks.

KiB Mem : 1000312 total, 223568 free, 564352 used, 212392 buff/cache
KiB Swap: 0 total, 0 free, 0 used. 373736 avail Mem
103) Message boards : Questions and problems : what is Science United? (Message 84820)
Posted 17 Feb 2018 by MarkJ
Post:
Its David’s changes to BOINC. It sums it up on the Project -> About page. See also Boinc News

The http site has a redirect to science united and the secure one (https) is BOINC.
104) Message boards : GPUs : Has anyone recompiled BOINC on Parallella to use the 18 cores available? (Message 84765)
Posted 13 Feb 2018 by MarkJ
Post:
BOINC is primarily a task scheduler so it doesn’t actually do the computations, they’re done by the project developed apps. You can define the Epiphany as a coprocessor for BOINC so that it can schedule work to run on it. Unfortunately there’re aren’t any apps that I am aware of that managed to use it.

One of the Einstein volunteers tried using the Epiphany chip for their apps (as a coprocessor). It turned out the Epiphany didn’t have enough local memory to compute their FFT’s. See the message thread that Richard has linked to.

While it does have an OpenCL layer for the Epiphany it is only a subset of the standard so couldn’t run existing OpenCL code.
105) Message boards : Questions and problems : security hack? unauthorized gui_rpc attempt seconds after a new installation (Message 84550)
Posted 25 Jan 2018 by MarkJ
Post:
I have also seen similar logging of gui_rpc_auth attempts. I never run an account manager. I do however use an iptables firewall on all the Linux machines. I don’t assume the router is going to stop any serious attempt.
106) Message boards : Questions and problems : BOINC 7.8.3 is not picking up the avx, avx2 flags in Ubuntu 16.04.3 (Message 84450)
Posted 21 Jan 2018 by MarkJ
Post:
That is curious. I don't see "stdoutdae.txt" anywhere in the /var/lib/boinc-client directory, where all the other logs are kept. (I do see it in my Windows 7 machine though.)

In later Debian (based) builds it goes to /var/log/boinc.log. They changed the startup script so no rotation of the log or keeping it on stop/start action. Not sure why they had to change it but thats the way it is.
107) Message boards : Questions and problems : Making a Debian/Linux Distro with Pre-Configured Boinc (Message 84435)
Posted 19 Jan 2018 by MarkJ
Post:
Interesting idea. I run Debian on my rigs and usually just do a netinst off a USB thumb drive using my local proxy that usually has the packages cached, followed by some manual steps to remove some packages (Open office) and install a couple of packages. The thing is I have a mix of Intel GPU and Nvidia GPU’s so I need different packages depending on that.

You can copy the account* files onto a new install so it picks up the projects, just make sure you don’t copy the client_state files. You can also copy the global_prefs_override file to set BOINC parameters.
108) Message boards : GPUs : Ability to stop CPU work while GPU is working and vice versa. (Message 84422)
Posted 17 Jan 2018 by MarkJ
Post:
Just setup app_info or app_config with the number of CPUs in the system. When a GPU app runs it will reserve all CPUs. You’ll need one for each project you run. See app_config for details on setting up an app_config
109) Message boards : Questions and problems : When removing an ongoing project 7.8.3 boinc manager asks whether I want to exit or not. (Message 84163)
Posted 2 Jan 2018 by MarkJ
Post:
We had an issue before with the translations (Spanish). Are you using Japanese as the language on these problem computers? Have you tried 7.8.4?
110) Message boards : Questions and problems : New Install of BOINC Manager; cannot add project or account manager (Connection error) (Message 84162)
Posted 2 Jan 2018 by MarkJ
Post:
All sitting unused because no-one is supporting/fixing this problem.

Probably because no one else is having the issue and therefore can’t reproduce your problem.

What is so different about your machine config to the hundreds of thousand others out there that may effect it? Maybe bleeding edge Microsoft software more likely your antivirus software/firewall blocking things.
111) Message boards : BOINC client : Command-line-only client? (Message 84038)
Posted 27 Dec 2017 by MarkJ
Post:
In Debian there is a boinc meta package that has both boinc-client and boinc-manager. I expect it installed both but no matter you don't have to use the manager that's on the machine if it installed it.

Again in Debian (I haven't used Gentoo sorry) the remote_hosts.cfg and the gui_rpc_auth.cfg files live in the boinc data folder (\var\lib\boinc-client). The remote_hosts.cfg lists the other computers that are allowed to control your boinc-client. It contains a list of names or IP addresses, each one on a separate line, so you can restrict access.
112) Message boards : BOINC client : Command-line-only client? (Message 84036)
Posted 27 Dec 2017 by MarkJ
Post:
With Debian/Ubuntu flavours of Linux you would just install the boinc-client package. The manager is usually in the boinc-manager package. I have a bunch of Raspberry Pi’s that are all headless so that’s how I installed them. Just remember to setup gui_rpc_auth.cfg and remote_hosts.cfg so another manager or BOINCtasks can access it. There is also boinctui that runs from the command line.
113) Message boards : BOINC client : ubuntu: password for boinc? (Message 84032)
Posted 26 Dec 2017 by MarkJ
Post:
No it doesn’t have a password. It is not intended to be an interactive account but rather a daemon user.

I usually login or su to root, change whatever in the /var/lib/boinc-client folders and then do a chown boinc:boinc * to change ownership back to user BOINC.
114) Message boards : Questions and problems : Problems installing Bonic on Ubantu (Message 84023)
Posted 25 Dec 2017 by MarkJ
Post:
I am having the exact same problem with Ubuntu mate 16.04 on my raspberry pi 3. I also tried it with raspbian. It may be a problem with the BOINC servers.

With Raspbian you would just do the following commands. You only need the the manager if running a desktop. If you are running Stretch Lite or headless then you only need the client.

sudo apt update
sudo apt install boinc-client boinc-manager-y

It will use the Raspbian repos, nothing to do with the BOINC servers. It should install 7.6.33.
115) Message boards : Questions and problems : After I restart, BOINC Manager won't open again, ever. Wiped system, reinstalled, same issue. (Message 83364)
Posted 29 Nov 2017 by MarkJ
Post:
The desktop shortcut you add should have been boincmgr. Boinccmd is a command-line interface, usually used in scripts or cron. The version of BOINC from the repo doesn’t include any desktop launcher, you add one as per below.

With the mate desktop if you click on applications (on the bar across the top of the screen) it then gives a list of categories and under System it has boincmgr. If you right-click on that it offers to add a desktop launcher. Once its added to your desktop you can then edit its properties to add the —password. Yes it is two hyphens before the word “password” and leave a space between it and the actual password.

You run boincmgr from the desktop. You tried to run it under a terminal session. There is a program boinctui that can run under a terminal or ssh session to show what the client is doing.
116) Message boards : Questions and problems : After I restart, BOINC Manager won't open again, ever. Wiped system, reinstalled, same issue. (Message 83248)
Posted 26 Nov 2017 by MarkJ
Post:
Boinc runs under user BOINC, so change the contents using “sudo nano /var/lib/boinc-client/gui_rpc_auth.cfg” in a terminal window, assuming you use nano as your text editor.
117) Message boards : Questions and problems : After I restart, BOINC Manager won't open again, ever. Wiped system, reinstalled, same issue. (Message 83228)
Posted 26 Nov 2017 by MarkJ
Post:
Probably overkill wiping the machine...

To get the manager to talk to the core client I ended up adding a desktop shortcut (under Debian). After that I adjusted its properties to include “—password xxx” where xxx is whatever is in gui_rpc_auth.cfg (usually in /var/lib/boinc-client).

If the file is empty you may need to put a value in it and make sure the shortcut has the same password. Do a “sudo service boinc-client restart” after changing gui_rpc_auth for the core client to pick it up.

You could try running the manager with sudo if no password but I couldn’t get it to work with an empty gui_rpc_auth file.
118) Message boards : Questions and problems : Will Ubuntu Boinc client will run on ARM CPU? (Message 82611)
Posted 4 Nov 2017 by MarkJ
Post:
Ubuntu have BOINC available for all their supported architectures: amd64 arm64 armhf i386 powerpc ppc64el s390x.

The short answer is yes it should run on the Armada 38x.

The actual BOINC version depends on what version of Ubuntu the OP is running and if they want to use Gianfranco's ppa or just the standard Ubuntu repositories.
119) Message boards : Questions and problems : [Solved] BOINC 7.8.3 allows new tasks to all projects unexpectedly (Message 82295)
Posted 28 Oct 2017 by MarkJ
Post:
Does an AM allow/disallow tasks? I’ve never used one so I might be off track here. If so maybe the account manager is set to allow new tasks, you disable new tasks and when the AM syncs it enables new tasks again.
120) Message boards : Questions and problems : update to 7.8.3 service problem (Message 82294)
Posted 28 Oct 2017 by MarkJ
Post:
I have found that Defenfer will hold files (presumably to scan them) and the simple solution of waiting a few minutes and trying again usually works. Its particularly noticeable on larger files like installers.


Previous 20 · Next 20

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.