• 1 Post
  • 144 Comments
Joined 1 year ago
cake
Cake day: January 17th, 2024

help-circle
  • aksdb@lemmy.worldtoLinux@lemmy.mlVirus
    link
    fedilink
    arrow-up
    1
    ·
    5 days ago

    We recently had a funny problem. Our service ran fine, but a postgres upgrade failed because some pg internals were broken (broken ref ids). Dumping the DB also failed for the same error. Reading and writing was still fine, though. So we restored backup after backup… no dice. They all had the same issue: it was working for the service but we couldn’t perform any maintenance. Ultimately we had to “manually” dump the data of the service and replay it into a fresh db. That took quite long. But that was interesting, since even the verification of the backups didn’t help us notice that kind of corruption.







  • btrfs because it was simple

    Personally I found ZFS far more simple. The userspace tools make more sense to me. Also I like, that volumes can have a default (relative) mount point attached. So in a recovery scenario, I simply have to open the zpool with a relative base path, and then have all my volumes ready to go. If I want to recover a btrfs system with multiple subvolumes, I typically need to know exactly which ones and where to I have to mount them (each individually).

    Also I go really used to zfsbootmenu.













  • aksdb@lemmy.worldtoLinux@lemmy.mlJava uses double ram.
    link
    fedilink
    arrow-up
    6
    arrow-down
    1
    ·
    10 months ago

    glibc’s malloc increases the stacksize of threads depending on the number of cpu cores you have. The JVM might spawn a shitload of threads. That can increase the memory usage outside of the JVMs heap considerably. You could try to run the jvm with tcmalloc (which will replace malloc calls for the spawned process). Also different JVMs bundle different memory allocators. I think Zulu could also improve the situation out of the box. tcmalloc might still help additionally.


  • I ran Arch on a convertible laptop around 2006-2010. Most notes I did using OpenOffice Writer, with hotkeys to quickly add formulas. Drawings were done with the pen. Homework (where speed didn’t matter as much but where I wanted high quality) were done in ConTeXt.

    Programming was done in FreePascal using Lazarus IDE or Java using Netbeans IDE, depending on the course and my personal preference.

    I think I had no complaints from anyone. Quite the contrary, one professor even gifted me a book as a thanks for the high quality typesetting in my homeworks, since most students didn’t give a shit and had no fucking clue how to really use their beloved MS Word.