Back to articles
AI & Cloud

Deploying a Helpdesk System with Zammad: Comprehensive Multi-Channel Ticket Management Solution for Enterprises

Guide to deploying Zammad, an open-source helpdesk platform, on NVMe Cloud VPS for effective multi-channel ticket management. Covers RAM optimization, swap budgeting, timeout...

DPTCloud Engineering4 min read
Deploying a Helpdesk System with Zammad: Comprehensive Multi-Channel Ticket Management Solution for Enterprises

Introduction to Zammad and Its Benefits for Enterprises

Zammad is an open-source customer service management platform that enables enterprises to integrate multiple channels such as email, live chat, website, and API into a single unified system. With its intuitive user interface, Zammad helps support teams efficiently manage tickets (requests, issues), while providing detailed reporting and integration with tools like CRM, ERP, and storage systems.

Deploying Zammad on an NVMe Cloud VPS is an ideal choice for businesses seeking infrastructure autonomy, data control, and cost optimization. The high performance of NVMe drives ensures fast response times, simultaneous request handling, and flexible scalability.

Deploying Zammad on NVMe Cloud VPS: Installation and Optimization Steps

1. System Requirements and Preparation

  • Hardware: VPS with at least 4GB RAM, 2 vCPUs, and an NVMe drive (minimum 20GB free space).
  • Operating System: Ubuntu 22.04 LTS or Debian 11.
  • Software: Docker, Docker Compose, and Git.

2. Installing Zammad

Follow these steps to deploy Zammad:

git clone https://github.com/zammad/zammad.git
cd zammad

Run Docker Compose to start the required services:

docker-compose up -d

After startup, access the admin panel at http://:3000 and complete the initial configuration.

3. RAM and Swap Budgeting Optimization

Since Zammad is memory-intensive, managing RAM and swap is crucial. For a 4GB RAM VPS, configure swap to prevent OOM (Out of Memory) errors:

  • Create a 2GB swap file:
sudo fallocate -l 2G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile

Add the swap entry to /etc/fstab to enable automatic activation on boot:

/swapfile none swap sw 0 0

4. Timeout Adjustment and OOM Error Handling

To avoid OOM errors during high ticket volumes, adjust the following parameters:

  • Timeout: Increase the timeout in Zammad configuration (typically 300s) if longer processing is required.
  • Swap Budgeting: Use systemd cgroups to limit RAM usage per service, preventing resource exhaustion.
  • Monitoring: Install tools like htop or docker stats to monitor RAM and CPU usage.

5. Troubleshooting OOM Errors

If OOM errors occur, check logs using the command:

journalctl -u zammad -n 100

Take the following actions:

  • Reduce the number of workers in Zammad.
  • Optimize the PostgreSQL database (create indexes, perform vacuum).
  • Analyze applications to identify RAM-heavy processes.

References and Official Resources

DPTCloud Tier III Infrastructure

High-RAM Cloud VPS Plans Optimized for AI, Databases & Cache

Enterprise RAID 10 NVMe SSDs, CMC & FPT District 9 uplinks with Anycast Anti-DDoS and 99.99% SLA.

View 22 VPS Plans
ECO · vn-02Recommended

VPS-4E

297.000 ₫ / mo

10% VAT included

  • CPU: 4 vCPU
  • RAM: 8 GB
  • SSD: 50 GB NVMe
ECO · vn-02

VPS-5E

614.900 ₫ / mo

10% VAT included

  • CPU: 8 vCPU
  • RAM: 16 GB
  • SSD: 100 GB NVMe
ADVANCED · vn-03Recommended

VPS-4T

548.900 ₫ / mo

10% VAT included

  • CPU: 4 vCPU
  • RAM: 8 GB
  • SSD: 50 GB NVMe

Related Articles

View all
ZaloZalo SupportDiscord0384 753 478