I now have a working NCP system on my intel nuc running debian buster, almost everything is working fine except for the fact that the nextcloudpi status page still says my internet check is “no” despite working well from outside the home lan.
My question is that for some reason I have xz running on my system, when I kill the process, it restarts from the root user. I had (days ago) tried to perform a full compressed backup via the ncp-config (so logged in as sudo) but that crashed after a couple of TB and I haven’t tried again since. Is it possible that for some reason it thinks it needs to keep trying on that backup?
I have also turned off all auto-updating of apps, nc and ncp, disabled the Extract app. Nothing in the logging tab gives any particular hints.
Thanks for the reply. Yeah, I know xz is not part of the server directly, but I thought it may have been called from the backup activities… Unfortunately my linux skills aren’t sufficient to fully diagnose the root cause.
I’ve tried your suggestion using lsof.
Any thoughts?
Ok. Is there a really problem with “xz” and so with “btrfs-sync”? Performance, cpu, … Post more details e.g. “top” or “htop” (install it) and sort in htop the memory.
There isn’t a problem in so far as performance hit, it was that I didn’t recognize why it should be almost constantly running. If it is as benign as its part of the auto-ncp-snapshots to a second hdd which I have set up for daily, and I have added a dozens of gigs to the server while I am still loading data in, then perhaps that explains everything. Its all running on a 5 year i3.
Perhaps it takes to much time and you must change something.
Sorry i do not know auto-ncp-snapshots. Perhaps because of different file systems there is no incremental backup and than full backup take a long time.
If you have daily versions on your second hdd then stat /path/date/path/to/file
must list more than 1 (hard) Links if it exists unchanged the last days. Device: 802h/2044d Inode: 326712 Links: 1
So the functionality is called nc-snapshot-sync as part of NextCloudPi. I decided to simply turn off the automated sync for now and experiment with it further later.