That’s weird, the screenshots of the services appear to be fine. The only odd thing was the error message regarding the Redis PID file not being writable. You should probably look into that.
You might want to apply the missing OS updates and perform the release upgrade.
You may need to delve deeper and check your machine utilization, use htop
and top
or iotop
and iostat
to see if a specific process is struggling, or if your I/O is causing bottlenecks. The system information lines on your first screenshot reveal some health information, which doesn’t really look out of the ordinary other than it should be really busy processing the background jobs now, but it doesn’t look very busy at all, so that’s a bit odd.
You should check your logfiles too, especially the PostgreSQL database log, but also Elasticsearch. It is just very weird that your production.log
isn’t being written to, could you double-check it? Maybe also check permissions on the file to confirm Zammad can actually write to it? Then check the journald
logging, e.g. journalctl -u zammad* -S 2023-10-01
for all logging since October 1st, maybe that shows problems in the past?
If you want to see what your database is doing, issue this command from an interactive client, which should show you running queries and connected clients (probably quite a lot more than in this example):
SELECT * FROM pg_stat_activity;
zammad=# SELECT * FROM pg_stat_activity;
datid | datname | pid | leader_pid | usesysid | usename | application_name | client_addr | client_hostname | client_port | backend_start | xact_start | query_start | state_change | wait_event_type | wait_event | state | backend_xid | backend_xmin | query_id | query | backend_type
-------+---------+-------+------------+----------+----------+-----------------------------+-------------+-----------------+-------------+-------------------------------+-------------------------------+-------------------------------+-------------------------------+-----------------+---------------------+--------+-------------+--------------+----------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------
| | 761 | | | | | | | | 2023-10-12 03:14:23.632241+02 | | | | Activity | AutoVacuumMain | | | | | | autovacuum launcher
| | 762 | | 10 | postgres | | | | | 2023-10-12 03:14:23.633228+02 | | | | Activity | LogicalLauncherMain | | | | | | logical replication launcher
16389 | zammad | 15323 | | 16388 | zammad | script/background-worker.rb | | | -1 | 2023-10-12 15:01:00.913412+02 | | 2023-10-12 15:01:00.93375+02 | 2023-10-12 15:01:00.937348+02 | Client | ClientRead | idle | | | | COMMIT | client backend
16389 | zammad | 15324 | | 16388 | zammad | script/background-worker.rb | | | -1 | 2023-10-12 15:01:00.917678+02 | | 2023-10-12 18:38:44.977045+02 | 2023-10-12 18:38:44.977106+02 | Client | ClientRead | idle | | | | SELECT "schedulers".* FROM "schedulers" WHERE "schedulers"."active" = $1 ORDER BY "schedulers"."prio" ASC | client backend
16389 | zammad | 15338 | | 16388 | zammad | script/background-worker.rb | | | -1 | 2023-10-12 15:01:01.932254+02 | | 2023-10-12 15:01:01.945388+02 | 2023-10-12 15:01:01.945406+02 | Client | ClientRead | idle | | | | SELECT "channels".* FROM "channels" WHERE (active = TRUE AND area LIKE '%::Account') | client backend
16389 | zammad | 15327 | | 16388 | zammad | script/background-worker.rb | | | -1 | 2023-10-12 15:01:00.934986+02 | | 2023-10-12 18:38:49.408377+02 | 2023-10-12 18:38:49.408416+02 | Client | ClientRead | idle | | | | UPDATE "delayed_jobs" SET locked_at = '2023-10-12 16:38:49.407870', locked_by = 'host:zammad pid:15231' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE (((run_at <= '2023-10-12 16:38:49.407571' AND (locked_at IS NULL OR locked_at < '2023-10-05 16:38:49.407582')) OR locked_by = 'host:zammad pid:15231') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING * | client backend
16389 | zammad | 15350 | | 16388 | zammad | script/background-worker.rb | | | -1 | 2023-10-12 15:01:12.935037+02 | | 2023-10-12 18:38:44.358914+02 | 2023-10-12 18:38:44.358933+02 | Client | ClientRead | idle | | | | SELECT "schedulers".* FROM "schedulers" WHERE "schedulers"."id" = $1 LIMIT $2 | client backend
16389 | zammad | 15376 | | 16388 | zammad | script/background-worker.rb | | | -1 | 2023-10-12 15:03:03.985514+02 | | 2023-10-12 18:34:09.406346+02 | 2023-10-12 18:34:09.406364+02 | Client | ClientRead | idle | | | | SELECT "schedulers".* FROM "schedulers" WHERE "schedulers"."id" = $1 LIMIT $2 | client backend
16389 | zammad | 15405 | | 16388 | zammad | script/background-worker.rb | | | -1 | 2023-10-12 15:04:09.020518+02 | | 2023-10-12 18:34:10.328269+02 | 2023-10-12 18:34:10.328287+02 | Client | ClientRead | idle | | | | SELECT "schedulers".* FROM "schedulers" WHERE "schedulers"."id" = $1 LIMIT $2 | client backend
16389 | zammad | 18632 | | 16388 | zammad | script/background-worker.rb | | | -1 | 2023-10-12 18:11:47.323089+02 | | 2023-10-12 18:35:13.931078+02 | 2023-10-12 18:35:13.934793+02 | Client | ClientRead | idle | | | | COMMIT | client backend
16389 | zammad | 19149 | | 10 | postgres | psql | | | -1 | 2023-10-12 18:38:32.28725+02 | 2023-10-12 18:38:50.831266+02 | 2023-10-12 18:38:50.831266+02 | 2023-10-12 18:38:50.831268+02 | | | active | | 1059423 | | SELECT * FROM pg_stat_activity; | client backend
| | 754 | | | | | | | | 2023-10-12 03:14:23.610342+02 | | | | Activity | BgWriterHibernate | | | | | | background writer
| | 753 | | | | | | | | 2023-10-12 03:14:23.610605+02 | | | | Activity | CheckpointerMain | | | | | | checkpointer
| | 760 | | | | | | | | 2023-10-12 03:14:23.632493+02 | | | | Activity | WalWriterMain | | | | | | walwriter
(14 rows)