Big-Finding2976

joined 11 months ago
 

I'm using a SFF Lenovo M700 (i5-6400T, 8GB RAM, 256GB SSD, 16TB USB HDD, Debian 11) for my server.

At the moment, I'm just copying all the files from the drives on my Windows PC to the server using WinSCP to make sure that I have a backup. Speeds are around 40MB/s with large files, which is probably as good as I can expect transferring from/to spinning disk, but sshd on the M700 is using 35-50% CPU, and sftp-server is using 15-20%, so about 70% in total. That only seems to happen with large files, when transferring lots of small files they're using about 10% and 5% respectively, although it varies and can be double or half that.

If it's going to use this much CPU whenever someone (or my sync or backup software) is transferring large files, I'm concerned that it won't have the capacity to run the other services that I need (Adguard, Home Assistant (probably as a VM in Proxmox), Jellyfin, Tailscale, Crowdsec, etc.). The 16TB USB HDD is encrypted with Veracrypt, but I don't think that's the issue as I see separate processes in top for kcryptd, and they generally add up to less than 10%.

Is there anything I can do to reduce the CPU usage when transferring files to/from other PC's on the LAN to the server? Once it is deployed, the users won't be using WinSCP to transfer files, they'll probably use Filebrowser or STFPGo, and I'll set up automated syncs and pull backups, so will it use less CPU to transfer files using those methods rather than WinSCP?

[โ€“] [email protected] 1 points 9 months ago (1 children)

Flying is only safer than driving until the fuel runs out, then you're much safer in a car ๐Ÿ˜‰

[โ€“] [email protected] 1 points 10 months ago

I'm not sure, but I think you'd just need to create a script which stops them, runs the backup, and then restarts them.

[โ€“] [email protected] 1 points 10 months ago (2 children)

Some people would say that you're doing something wrong by using Duplicati, because they've had problems restoring data and it's very slow, so if you've never had to restore data before you should test that to check that it works, and maybe switch to something else like Borg to be safe.

Also, backing up the folder without stopping the containers first might result in any backed up databases being corrupt, so if you're running anything that uses databases, you should stop those containers before backing up the folder.

 

I can SSH into my Oracle free VPS but after a while I find that the console is no longer working, and when I try to reconnect it doesn't respond. I can still ping it, but even logging in to the website and trying to "Launch Cloud Shell Connection" doesn't work, so it seems to be locking up completely after I SSH in, and I have to reboot it.

I'm only trying to use it as a reverse proxy with caddy, but it obviously needs to be reliable for that. There's a few errors in the boot log, which I've pasted here, but I'm not sure if they're important.

Oracle boot log - Pastebin.com

I've enabled Cockpit and the Services tab under that shows that kdump and SETroubleshoot failed to start. Should I just delete the instance and try creating a new one?

I followed this guide to setup the required rules for the VPS instance, and to create the iptables rules in the VPS, and to create the IPV4 and IPV6 A and AAA records on Cloudflare.

How to Host a Website in Oracle Cloud Free Tier (yoursunny.com)

then I followed Steps 2 and 3 in this more recent guide to create the caddy files

Install & Configure Caddy Web Server with PHP on Oracle Linux 8 (atlantic.net)

but even before the VPS stops working the caddy server doesn't serve anything when I try to access it in my browser.

[โ€“] [email protected] 1 points 10 months ago

I checked and his TV is a Samsung UE40ES5500 which he bought in 2013, so I'm pretty sure it doesn't use Tizen unfortunately.

[โ€“] [email protected] 1 points 10 months ago

Yeah, I use one myself. He's already using all the HDMI ports on his AV receiver though, so there's no room for any extra devices.

I know modern TVs can send the audio from the TV to the receiver, so in theory he could plug the stick into the TV instead, but his one seems to only be able to send certain formats that way, and you can't see the receiver's overlay on the TV when using it that way, so it's impossible to adjust anything.

[โ€“] [email protected] 1 points 10 months ago (1 children)

Definitely no Play Store on his TV. I don't think it has any Chromecast /Airplay apps either, but even if it does I don't think they're any substitute for Plex or Jellyfin.

[โ€“] [email protected] 1 points 10 months ago (2 children)

His TV is a few years old, so I'm not sure if it uses Tizen but I'll have a look, thanks.

[โ€“] [email protected] 1 points 10 months ago (22 children)

They mean Smart TVs. My Dad's Samsung TV has a Plex app, but no way to install anything like Kodi that would let him use Jellyfin instead of Plex to serve media.