How to Deploy Django with Nginx, Gunicorn and Postgres on Ubuntu

Jan 16

Django application is great but hosting it with the normal web servers isn't so great an idea. Django works awesome with Gunicorn and Nginx along with Postgres in the database end. We will install this setup in Ubuntu 22.04 LTS which will mostly be applicable to further Ubuntu versions as well.

St

...

Continue Reading...

How to Resolve Too Many Connections Error in MySql or MariaDB

Nov 03

Many of us have faced the issue of Too Many Connections error in MySQL/MariaDB with different errror codes like specified below:

(08004/1040): Too many connections

(HY000/1040): Too many connections

The above errors appear when all MySql/MariaDB connections allowed are currently being us...

Continue Reading...

How to clean temporary files in server automatically

Oct 29

You might have seen that the temporary files in server increases in size gradually with use. It can ultimately lead to space consumption issue in server. You can delete the temporary files manually from terminal. However for busy websites and servers, manual deletion of temporary files is not an opt...

Continue Reading...

Django Async Mail

Feb 07

DjangoAsyncMail is a Django app to send email asynchronously. This is a light-weight app using only Python threading for sending emails. It is meant for casual emails, like sending account activation mail from your website when account activation is optional. Using Celery and similar apps for such t...

Continue Reading...

How to Write to NTFS Drives in macOS Catalina and later

Feb 17
How to Write to NTFS Drives in macOS Catalina and later

If you have been figuring out how to write to NTFS drives natively in macOS Catalina and later and have found numerous articles but nothing works, then you are finally at the right destination. I have been facing issues in enabling NTFS write functionality in my Macbook Pro 2017 model after upgradin...

Continue Reading...