Query RabbitMQ queue length through Celery and Kombu, and purge a queue when needed.
Generate Django Model Choices Dynamically
Avoid creating new migrations every time a choices list changes by generating model choices from a helper function.
A Simple Fix for Django "unable to read data" with pgpool2
If pgpool2 closes idle client connections before Django notices, manually closing Django DB connections can avoid OperationalError in long-running tasks.
Prevent Celery from Hanging When the Broker Is Down
Use broker_transport_options to limit producer retry behavior so apply_async and delay do not hang indefinitely when the broker is unavailable.
How to Release Pressure on a Bosch Wall-Mounted Water Heater
A personal step-by-step note on lowering pressure on a Bosch wall-mounted gas water heater after the pressure gauge climbed too high.
Fix UnicodeDecodeError When Running a Python Script over SSH
If a remote Python 3 script fails with UnicodeDecodeError over SSH, mismatched locale environment variables between client and server may be the cause.
Use uWSGI Spooler as a Simple Async Queue
Build a lightweight asynchronous task queue with uWSGI's built-in spooler instead of introducing Celery, RabbitMQ, or Redis.
Fix Docker Startup Failures with "layer does not exist"
When Docker cannot start because its graph directory is corrupted, cleaning /var/lib/docker may be the only practical recovery path.
How to Duplicate a KVM Snapshot
A practical way to duplicate a KVM snapshot by copying the qcow2 image and adapting the exported libvirt snapshot XML.
Fix uWSGI "no python application found" on Python 3 and CentOS 7
On systems where Python 2 and Python 3 coexist, uWSGI may start with the wrong interpreter and fail to import Django.