Infos:
- Zammad Version: 6.3.1
- Installation Type: Package
- Operating System: Ubuntu 22.04.4 LTS
- Browser + Version: Any browser (currently using Chrome, Version 125.0.6422.113)
Expected Behavior:
- Fast ticket display in overviews, quick API responses, efficient database connections, and overall fast performance.
Actual Behavior:
- A high volume of tickets being created and updated simultaneously causes a backlog of jobs. Zammad starts using 100% CPU and displays the message ‘Connection lost’ to users.
Steps to Reproduce the Behavior:
System Configuration:
- 12 CPU cores
- 32 GB of RAM
- 36 to 42 active users working simultaneously
- 36 active overviews, all with fewer than 500 tickets except one with 6000 tickets
- More than 100 tickets created per day
- Elasticsearch configuration file
/etc/elasticsearch/jvm.options.d/custom-options.options
limits Elasticsearch to-Xms5g
- Zammad environment variables:
ZAMMAD_SESSION_JOBS_CONCURRENT
set to 16WEB_CONCURRENCY
set to 4MAX_THREADS
set to 30MIN_THREADS
set to 8
- Memcached is installed, but not sure if I have configured it correctly.
- PostgreSQL configuration file
/etc/postgresql/14/main
:max_connections
increased from 100 to 300shared_buffers
increased from 128MB to 4096MB
We have extensively searched community posts and implemented various solutions recommended for similar issues. Despite this, we are still experiencing performance problems. We have observed that other zammad users with a similar or higher number of agents and tickets per day, but with less RAM or CPU cores, are operating without issues. This suggests we might be missing a crucial configuration or optimization.
We are seeking help to improve our system’s performance. Any guidance or suggestions would be greatly appreciated.