News: Link to old message forum

Recent Posts

Pages: [1] 2 3 ... 10
1
General Discussion / Re: Adding Redis Cache to Nextcloud
« Last post by diddly on May 15, 2026, 09:38:41 AM »
Seems it just needed to get whatever it was chewing through out of its system, as it hasn't returned to the nasty CPU hog since.  Until I see it resurface, I'll consider this resolved.
2
General Discussion / Adding Redis Cache to Nextcloud
« Last post by diddly on May 14, 2026, 01:07:56 PM »
I thought my web site was under constant attack.  The PHP sub-process (fpm-php) was constantly pegged with multiple workers at 100% CPU, which is what this message forum uses.

I was wrong!  I was attacking myself with a poorly configured Nextcloud docker container.  Some background process I didn't know about was hammering the resources.

The fix for me was to add a redis cache (also as a docker container) and configure Nextcloud to use it.  These are the steps I followed:
1) Since we are already running Nextcloud as a docker container, it's safe to assume docker is installed and running
2) Create a docker container for redis.  I used something like the following command:
Code: [Select]
docker create \        --name=nextcloud-redis \
        --env=PUID=1000 \
        --env=PGID=1000 \
        --env=TZ=America/Toronto \
        -v /path/on/host/redis:/data \
        -p 6379:6379 \
        --restart=unless-stopped \
        redis
3) Start redis:
Code: [Select]
docker start nextcloud-redis && docker logs -f nextcloud-redis4) Reconfigure Nextcloud to use redis cache.  Edit your config.php for Nextcloud (mine sits in config/www/nextcloud/config/)
Add the following lines within the $CONFIG = array ( block:php
Code: [Select]
  'memcache.local' => '\OC\Memcache\APCu',
  'memcache.distributed' => '\OC\Memcache\Redis',
  'memcache.locking' => '\OC\Memcache\Redis',
  'redis' => [
    'host' => '192.168.x.x', // Matches the host IP running your redis container
    'port' => 6379,
  ],
5) Restart nextcloud
Code: [Select]
docker restart nextcloud && docker logs -f nextcloud
If all goes well, you should see the CPU usage for nextcloud drop like a rock in whatever monitoring tool you use.

(Update) In the time it took me to write this, whatever 15 minute background jobs is causing the blockage started again and once again my nextcloud container is taking 577% CPU.  Having a cache doesn't hurt, but the quest for a solution continues.
Also note, the above redis cache is unsecured and I'm relying on a well insulated LAN for protection.  You should probably add at least password protection to your cache.
3
Diddlycraft Discussion / Open Source Client!
« Last post by diddly on February 25, 2026, 11:23:51 AM »
It has finally happened!  A viable Open Source client is being developed for private servers!  WoWee isn't the first attempt, but it seems the most likely to succeed.  Available for Windows, macOS, and linux natively!

4
General Discussion / Re: Docker Update Checker
« Last post by diddly on November 13, 2025, 01:57:09 PM »
Much better Docker update checker here: dockcheck  Runs exclusively on the command line and faster than downloading every new image and comparing.
5
General Discussion / Dell U4919DW KVM Switching
« Last post by diddly on October 29, 2025, 10:52:22 AM »
For my own reference, and anyone else trying to accomplish this: The Dell U4919DW monitor has built-in KVM switching.  Meaning, you can hook up one keyboard and mouse to the monitor and control multiple computers.

Where this becomes interesting is in Picture-by-Picture mode (PBP).  You can have to computers displaying on the same monitor simultaneously.  However, you can only control one at a time using the attached keyboard and mouse.  So how do you easily switch between them?

Until now I had been using the on-screen display (OSD) using buttons on the monitor.  This is fine when really only using one computer at a time, but for rapid / frequent shifting it becomes tedious.  Instead I needed a way to do this from the keyboard.

On a windows machine, you can install Dell Display Manager (or Dell Display and Peripherals Manager) and program hotkeys to switch KVM inputs.

But my non-work computer is linux.  For that you need to install ddcutil ("sudo apt install ddcutil" on ubuntu) and execute: ddcutil setvcp E7 0xFF00

You can alias that command, throw it in a script, or set some hotkey / hot corner operation to facilitate that.

Now I can flip between computers, having both displayed simultaneously, without having to navigate through the clunky OSD

Source: https://www.dell.com/community/en/conversations/linux-general/dell-display-manager-keyboard-shortcuts-for-kvm-switch-on-linux-ubuntu-for-u3821dw-monitor/6698ead384a7860c8e48bca0

6
News / Re: Update your WinRAR
« Last post by diddly on August 12, 2025, 09:45:42 AM »
WinRAR has another 0-day exploit.  Why aren't you using 7-zip?

Source
7
General Discussion / Re: AI Generated Music
« Last post by diddly on July 17, 2025, 07:50:26 AM »
Rick Beato recently made a youtube video on how easy it was to make AI slop music. His arguments were sound, but in the video you can see him vibing to the songs.  I saw Suno had updated their algorithm so wanted to generate some stuff of my own.  You can hear any of my shared songs on my profile page
8
News / Someone is always listening...
« Last post by diddly on March 17, 2025, 09:10:36 AM »
Did you opt out of Alexa sending your every word back to Amazon?  Better bin those devices, because Amazon is ditching the option (assuming they ever really honoured it).
9
News / Re: Toots
« Last post by diddly on December 01, 2024, 08:13:29 PM »
While it has been fun running a Mastodon-like server, I've decided to take darkshade.social down.  I tried moving the instance to another machine, but I'm stuck running Pleroma, and that's a convoluted mess to migrate.  It was really only used by me anyway.  If you're looking for me now, I've moved to diddly@sunny.garden

10
Diddlycraft Discussion / Re: Halloween in Diddlycraft
« Last post by diddly on October 24, 2024, 08:07:17 PM »
Halloween is the perfect time for a Death Knight in Diddlycraft.

Pages: [1] 2 3 ... 10