home.social

#footimac — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #footimac, aggregated by home.social.

fetched live
  1. “what are you trying to do now?”
    you might be asking.

    Colima on macOS Ventura and later uses the Apple-supplied 'vz’ engine.

    #newOldiMac is running Ventura.

    So maybe docker was interacting poorly with that engine, especially because it was the first macOS version with it… maybe it's buggy?

    So I'm installing ‘qemu', which is the native colima engine on all pre-Ventura Macs and Linux.

    building it is taking a bit…

    #selfhost #footiMac #newOldiMac #mastoAdmin #qemu #colima #cantHelpMyself

  2. so far so good. #footiMac and #newOldimac are stable and services are being restarted periodically.

  3. ok. *this time* i think my #selfhost is going to be stable or at least self-recoverable. Both #footiMac and #newOldiMac are now set to periodically restart to catch any times when the become unresponsive or colima dies.
    #mastoadmin

  4. Had to do a revert back to v4.5.11 on #selfhost as I messed up the update steps. lol. Which is a first. Totally brain cramped. Anyway, after restoring the db to this morning just in case I am happy to be back at the point of updating to v4.6!

    Because…. Eeeeeee new things are oouuuuttt and I want them nooowww… and yes I am doing it on the bus on my ippaaaaaaaad. 🤓 😱 😀
    #v46 #mastodon #mastoadmin #footiMac #newOldiMac

  5. oo.. good sign at least... seeing Puma has updated as is ruby in the mastodon-web process, so that's encouraging. But it was the db:migrate commands I flubbed... so we'll see.

    #selfhost #footiMac

  6. hmm... a little worried I may have messed up the sequencing on the v4.6 upgrade path on #selfhost #footiMac… fingers extra crossed that this works!

  7. Checking to make sure #Docker on #newOldiMac is still running. It is still inexplicably unstable inside the Colima VM. I think it is the database taking it down when it gets too busy. But I’ve added RAM, taken it away, ensured the volumes have lots of free space, etc etc.

    If anyone has experience running docker in Colima and has ideas, I’m all ears.

    The good news is #footiMac (running Debian) is rock solid. As soon as the database returns, it resumes sending requests.

    #mastoAdmin

  8. I think I can confidently say the transition from failing #footiMac trying to handle too many tasks and especially the mastodon database, to a tag team between footiMac and the ten-year younger #newoldiMac running the db and redis process under Colima and docker is complete and successful.

    It has been solid for 24 hours now. It’s responsive. It’s almost fast. 😂 even have elasticsearch reactivated.

    And the best part: I learned more about docker and feel much more comfortable with it.

    Yay
    #docker #mastoadmin #selfhost

  9. hmmm... just thought of a new purpose for #footiMac now that it has a little extra CPU/RAM headspace but is hurting on the SSD front.

    We have so many devices in the house now, and only one (my laptop) gets backed up regularly.

    Maybe I could turn on an SMB service and servce up a remote NAS/Time Machine with a few large HDDs.

    #homelab #NAS

  10. I think it is funny, ironic, nerdy, and meta (the proper literal sense) that I have maxed out the 2017 iMac by wanting to install btop while watching it be maxed out on htop.

    And yet... it's still posting this, so if stuff doesn't break down now, surely it never will? Even the swap is having a moment. Ooof. I need to be nicer to my machines. lol

    #newOldimac #selfhost #mastoAdmin #footiMac #docker #colima #homebrew

  11. just tweaked/upped web concurrrency and max threads settings in my .env.production settings for Mastodon to give #footiMac a few more processes to handle requests and things are humming along nicely.

    I think a big takeway for me on this #selfhost journey is that except on the very smallest one person and minimal followers instance, the database (and possibly redis) function should always be on a different machine or container from mastodon.

    #footiMac was clearly having real trouble handling the database activity once it got busy. Even with an SSD now with two bad blocks (which may have been caused by that over-activity), it is way more stable.

    #newOldiMac #docker #mastoAdmin #colima #iMac

  12. @fname oh yes, ElasticSearch is definitely a memory hog and it has been enable since Monday so should already be counted in. That hit should be on #footimac i would think as that is where the mastodon processes and media files are stored? But it is possible that there is a knock on effect on the database and it could have delayed activating until now. A lot of mysteries still in this system!

  13. It's a day later and #footiMac and #newOldiMac are still up and running. Disk usage is stable. Current RAM usage for the database has gone up to 3GB from 1GB since 9PM last night. I'd like to know why. It's not any busier.

    I'm running the backup script then later today I'll see if I can investigate more on why the RAM usage fluctuates so much.

    I would like to know why it is more stable. Is it because I've simply given it enough room to expand and contract in the colima VM?

    Is it because I set the clocks to the same timezone?

    Inquiring minds... but I am happy that it is happy. And I have learned a lot and gotten more comfortable with docker. Which has been a goal almost since I joined Mastodon in Nov 2022.

    I’m hoping to look for a new macMini now to replace #newOldiMac. If I can get that an SSD to replace the failing SSD in #footiMac and a large HDD for backup that'd be great.

    #docker #mastoAdmin #colima #iMac

  14. ok, I've managed to clear 250GB of space on my iMac and give colima access to 200GB.

    Now that I have a handle on how to monitor disk space both in colima and in each docker container, I'll be monitoring it closely.

    The bad news is I had to revert back to a database from Friday night so I've lost some content. But I'm again increasing my understanding of working within a docker environment within a colima virtualization.

    I’m updating the docker images for both the db and the redis now and will take current backups from both so I can be closer to realtime.

    I'll get there! I refuse to let this beat me. I feel like I'm close!

    Kind of in the background of all the drama on #newOldiMac trying to get this colima and docker stuff to behave, trusty #footiMac is much happier now that some load is off. But I still have my eye on a new Samsung branded and hopefully reliable 2TB SSD to replace the one that is failing that gave rise to all of this.

    screenshot of realtime “hacking" according to @Jade lol.

    #mastoAdmin #selfhost #colima #macos #linux #docker #footiMac #newOldiMac

  15. Under threat of jinxing myself, I think the server has stabilized a little. Or at least redis is restarting automatically now when it dies. I flushed the redis cache thanks to some helpful advice as well, so hopefully it will work itself out. It is still handingly old posts but is catching up.

    I am going to try to post a gardening #poolpond post now! Stay tuned. And thank you everyone for your support, assistance and patience as I nerd about with my personal
    #selfhost #footiMac #newoldiMac #mastodon instance

  16. yes!
    successfully restored!

    now to modify that colima/docker backup procedure so I don't forget the data next time... lol

    #mastoAdmin #selfhost #footimac #newOldiMac #colima #docker #learning

  17. oh.
    rookie mistake.
    i thought the docker container in colima would include the persistent data?

    Apparently.... not.
    thankfully I still have the original dump from #footiMac
    #colima #docker

  18. thankfully homebrew allows you to install htop which is a very nice version of top that is used across Linux installs, so I can compare what I see on #footiMac and #newOldiMac reasonably closely.

    It seems I am a bit of a "use it or lose it" type when it comes to resources. 🤣🤣

    - 2 cores i3 #footiMac running Debian 13
    - 4 cores i5 #newOldiMac runnning MacOS Ventura (v13) and colima
    #selfhost #mastoadmin #colima #linux #debian #macos
    cc: @jfmezei

  19. @pwloftus that's OK! this is very relevant.
    #footiMac is running Debian 13 atm. I'm more comfortable at the command line and so I don't really have any desire to put a DE on #footiMac. I may transition #newOldiMac to become another Debian box though, and with better docker skills now, I should be able to do it with a more containerized workflow.

    But that would require slapping some $$ down on a new Mac Mini sooner rather than later ;=)

  20. @chris If we were to self-host system swap - I'd load a linux distro on #footiMac and #newOldiMac. Then use a lightweight DE like LXQT or XFCE.

    Apologies for going off-topic specific to Ventura.

  21. just re-enabled elasticsearch on #footiMac
    The system seems OK with that. Or at least no less not-OK than it is with anything else.

    Definitely going to have to look at some replacement SATA SSDs. If anyone knows any smoking hot deals on 2TB SSDs, let me know :)

    #newOldiMac #macos #selfhost #mastoadmin

  22. hold up... did I have a #pixelfed instance running rogue on #footiMac for almost-2 years since I thought I had turned it off and *thats* the cause of some of the problems and slowness?

    Just noticed pixelfed in htop on my #selfhost instance and even after cleaning out the startup scripts, nginx, and stuff *and* restarting the machine, there are still pixelfed and PHP processes happening?

    Currently deleting all traces of pixelfed. lol.
    (note, this is not a judgement on pixelfed, this is on me!)

  23. and bam. Done!

    That was pretty painless.

    I now have 5 docker containers running under colima on my 2017 #newOldiMac running macOS Ventura (v13.7.8)

    #footiMac is only doing the front-end nginx stuff now! For basically a 2 person instance (hi @danneau!) 3 years of growth isn't too bad I guess for a 2007 iMac with an updated SSD and RAM.

    It will soldier on doing various smaller tasks, but the heavy lifting for mastodon has been handed off I guess.

  24. ok last step in this #selfhost optimization saga.
    Moving the redis responsibilities off of #footiMac and to a docker container on #newOldiMac. This should be a quicker process as the files are smaller and the import/export regime is much simpler (just copying files).

    there will be some downtime. I'll update on @[email protected] if there are any hangups but I only anticipate an hour or two of downtime hopefully.

    *dives in*

    #mastoadmin