this post was submitted on 24 Jun 2023
12 points (83.3% liked)

Selfhosted

40648 readers
334 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

It's been sitting here frozen like this for a really long time, hours actually. I'm trying to install Lemmy on my raspberry pi. The terminal hasn't moved at all in hours, but the mouse will nudge a little after like a minute of lag. Is it frozen in a broken way? Or should I just try and leave it for the night?

you are viewing a single comment's thread
view the rest of the comments
[–] mo_ztt 5 points 2 years ago* (last edited 2 years ago) (2 children)

I think you're probably swapping like mad, and likely to eventually bomb... I could be wrong but I can't see compiling a real Rust project on a Pi 3 coming to a successful conclusion. Like one other poster mentioned I think it might actually even damage the hardware from overheating. I think for my system I had to up the hosting to 2GB RAM, and still had to activate swap for some parts of the compilation, before it succeeded. Is it possible for you to cross-compile it or something?

[–] [email protected] 2 points 2 years ago

I doubt it'll overheat, Pi's do thermal throttle when hot and from memory the Pi 3 runs fairly under clocked to begin with. If it's swapping you're more likely to burn out the SD card.

[–] Soullioness 1 points 2 years ago (1 children)

I have no idea what cross compiling is but I'm open to trying it.

[–] mo_ztt 1 points 2 years ago (1 children)

Cross compiling is building software on one platform that's designed to run on a different platform -- e.g. you can build a Rust package on your PC that's designed to run on your Pi. It's not very well-supported in general (i.e. I have no idea if it's even feasible for this scenario) but in cases where it works it can be pretty useful.

[–] Soullioness 1 points 2 years ago

Cool. I was just looking it up. Very neat. I don't have the first clue how to go about it but I'll let the little raspberry try overnight. We'll see what happens.