shrugs

  • 0 Posts
  • 284 Comments
Joined 2 years ago
cake
Cake day: April 6th, 2024

help-circle
  • Not self hosted but at work: after an update to both our firewall cluster nodes they both acted wonky, restarted 5 min after booting, ssh connection wasn’t working half the time, dropped packages… the problem persisted through multiple reboots, support had no idea.

    the fix was to pull the plug entirely, wait 10 seconds then power them on again. on both nodes we had this behavior and both worked again after losing power for a few seconds.

    seems that even for business appliances “have you tried to turn it off and on again” is a viable solution.








  • shrugstoDull Men's ClubI removed a trace of glue
    link
    fedilink
    arrow-up
    10
    ·
    1 month ago

    These are the kinds of problems I like the most: I once squirted some ketchup on my new shoes while we were out drinking. Ignored it, the next day when it was dry I could pull it off without even a discoloration. If I had used a towel to wipe it off, the shoes would have been ruined.

    Less work, more results, that’s what I like



  • The script gets called as either

    nvidia-sleep.sh suspend

    On suspend and resume as

    nvidia-sleep.sh resume

    The important part is this:

    echo “$1” > /proc/driver/nvidia/suspend

    where $1 is either suspend or resume. /proc is a kernel interface that, I guess in this case, tells the kernel to suspend or resume the GPU. It just puts the corresponding string into /proc/driver/nvidia/suspend which causes the kernel to act accordingly.

    chvt and fgconsole are commands you should look into, as they are called after the echo to proc and might be important.

    In your case, since the driver doesn’t come back but the system is usable, ssh into the system from another one and you can check with “sudo journalctl -f” and “sudo dmesg -w” what’s happening.

    Tbh, I don’t see anything systemd-specific.

    Hope that helps. Ask away if it doesn’t.







  • you sound like a beginner. trust me, don’t take nix. Nix is great but nix has a learning curve you cant climb as a beginner.

    linux is great as in, you can just copy a hard drive to another disk and boot it, after fixing fstab…

    If you are using docker to run your services you can copy your docker compose directories and the volumes to a new host and start them, So all in all, install the services on you laptop or inside a vm / as docker container and when you get dedicated hardware you can just migrate the services.

    And guys really, recommending nix to someone that doesn’t know how to migrate a service and asks about it. that’s a load of bullocks!





  • shrugstoShowerthoughts*Permanently Deleted*
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    6 months ago

    Im the same. I hate cooking, I feel it’s way too time intensive. Most of the time I’ll order something or eat on the go.

    I almost never think about food, aside of actually being hungry and thinking about how to change that with the least work.