Zammads VIEWS are lagging to much

Infos:

  • Used Zammad version:
    V3.2
  • Used Zammad installation source: (source, package, …)
    rpm
  • Operating system:
    uname -a
    Linux Ubuntu-1604-xenial-64-minimal 4.15.0-72-generic #81~16.04.1-Ubuntu SMP Tue Nov 26 16:34:21 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Intel® Core™ i7-4770 CPU @ 3.40GHz
free -h
total used free shared buff/cache available
Mem: 31G 9.0G 17G 487M 4.7G 21G
Swap: 15G 0B 15G

made a ram-disk for zammads tmp
df -h
Filesystem      Size  Used Avail Use% Mounted on
udev             16G     0   16G   0% /dev
tmpfs           3.2G   14M  3.2G   1% /run
/dev/md2        219G  121G   87G  59% /
tmpfs            16G  4.0K   16G   1% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs            16G     0   16G   0% /sys/fs/cgroup
tmpfs           8.0G  463M  7.6G   6% /opt/zammad/tmp
/dev/md1        488M  198M  264M  43% /boot
tmpfs           3.2G     0  3.2G   0% /run/user/0

more info
2 Agents sometimes 4 Agents

DB: mariadb
MariaDB [zammad_production]> select count() FROM tickets;
±---------+
| count(
) |
±---------+
| 416309 |
±---------+
1 row in set (0.05 sec)

MariaDB [zammad_production]> select count(*) FROM channels;
+----------+
| count(*) |
+----------+
|       16 |
+----------+
1 row in set (0.00 sec)

MariaDB [zammad_production]> select count(*) FROM schedulers;
+----------+
| count(*) |
+----------+
|       21 |
+----------+
1 row in set (0.00 sec)

sometimes hundreds (5000 ! ) of delayed jobs in the table delayed_jobs after deactivating a few triggers we evatually hit zero from time to time

66 Triggers
70 Views

top - 11:14:00 up 115 days, 16:52,  2 users,  load average: 1.22, 1.36, 1.68
Tasks: 614 total,   1 running, 550 sleeping,   0 stopped,   0 zombie
%Cpu(s): 14.7 us,  0.3 sy,  0.0 ni, 84.9 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem : 32799464 total,  4593852 free, 24539000 used,  3666612 buff/cache
KiB Swap: 16760828 total,  9587452 free,  7173376 used.  6389212 avail Mem

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
17140 zammad    20   0 4689004 3.192g  21488 S 103.0 10.2 133:39.70 ruby
17142 zammad    20   0 2329336 533976  21604 S  17.3  1.6  13:35.90 ruby
 3086 mysql     20   0 18.618g 0.016t      0 S   2.0 51.9  25945:06 mysqld
16934 elastic+  20   0 12.644g 3.159g 596880 S   0.3 10.1   2:28.69 java
    1 root      20   0  185156   5636   3916 S   0.0  0.0   0:50.79 systemd
    2 root      20   0       0      0      0 S   0.0  0.0   0:01.51 kthreadd
    4 root       0 -20       0      0      0 I   0.0  0.0   0:00.00 kworker/0:0H
    6 root       0 -20       0      0      0 I   0.0  0.0   0:00.00 mm_percpu_wq

root@Ubuntu-1604-xenial-64-minimal ~ # df -h
Filesystem      Size  Used Avail Use% Mounted on
udev             16G     0   16G   0% /dev
tmpfs           3.2G  343M  2.8G  11% /run
/dev/md2        219G  153G   55G  74% /
tmpfs            16G  4.0K   16G   1% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs            16G     0   16G   0% /sys/fs/cgroup
/dev/md1        488M  198M  264M  43% /boot
tmpfs           3.2G     0  3.2G   0% /run/user/1001
tmpfs           8.0G  1.1G  7.0G  14% /opt/zammad/tmp
tmpfs           3.2G     0  3.2G   0% /run/user/0
root@Ubuntu-1604-xenial-64-minimal ~ # free -h
              total        used        free      shared  buff/cache   available
Mem:            31G         23G        4.3G        1.1G        3.5G        6.0G
Swap:           15G        6.8G        9.1G
root@Ubuntu-1604-xenial-64-minimal ~ # 

Expected behavior:

if I close the ticket the views should be updated in a timley manner sometimes we have two wait almost an hour. I guess this are the “delayed_jobs” right?

I don’t know according to the docs the server hardware should be fine. Do we have an unusual amount of views (70) or triggers (66)

unfortunatly I’m no ruby guy can’t find the bottleneck.

Thank you for your suggestions

here a few lines from production.log
I, [2019-12-11T12:58:39.704488 #1356-70190881363620] INFO – : … Ticket 416769
I, [2019-12-11T12:58:39.704504 #1356-70190881363620] INFO – : … Ticket 416604
I, [2019-12-11T12:58:39.704522 #1356-70190881363620] INFO – : … Ticket 416603
I, [2019-12-11T12:58:39.704539 #1356-70190881363620] INFO – : … Ticket 416602
I, [2019-12-11T12:58:39.704555 #1356-70190881363620] INFO – : … Ticket 416601
I, [2019-12-11T12:58:39.716775 #1356-70190881363620] INFO – : # curl -X get “http://127.0.0.1:9200/zammad_production/KnowledgeBase::Answer::Translation/search"
I, [2019-12-11T12:58:39.745889 #1356-46994039169480] INFO – : # 200
I, [2019-12-11T12:58:39.755001 #1356-70190881363620] INFO – : # 200
I, [2019-12-11T12:58:39.778368 #1356-70190881363620] INFO – : Completed 200 OK in 343ms (Views: 21.0ms | ActiveRecord: 13.6ms)
I, [2019-12-11T12:58:39.804977 #1356-46994039169480] INFO – : Completed 200 OK in 1201ms (Views: 55.8ms | ActiveRecord: 14.3ms)
I, [2019-12-11T12:58:39.819286 #1356-46993991603660] INFO – : # curl -X get “http://127.0.0.1:9200/zammad_production/KnowledgeBase::Answer::Translation/search"
I, [2019-12-11T12:58:39.820721 #1356-70191488707080] INFO – : # curl -X get “http://127.0.0.1:9200/zammad_production/Ticket/search"
I, [2019-12-11T12:58:39.827911 #1356-46993991603660] INFO – : # 200
I, [2019-12-11T12:58:39.845409 #1356-46993991603660] INFO – : Completed 200 OK in 327ms (Views: 15.9ms | ActiveRecord: 76.6ms)
I, [2019-12-11T12:58:39.848197 #1356-70191488707080] INFO – : # 200
I, [2019-12-11T12:58:39.848248 #1356-70191488707080] INFO – : … Ticket 417697
I, [2019-12-11T12:58:39.849003 #1356-70191488707080] INFO – : … Ticket 417696
I, [2019-12-11T12:58:39.849035 #1356-70191488707080] INFO – : … Ticket 417695
I, [2019-12-11T12:58:39.849056 #1356-70191488707080] INFO – : … Ticket 417694
I, [2019-12-11T12:58:39.849075 #1356-70191488707080] INFO – : … Ticket 417693
I, [2019-12-11T12:58:39.849094 #1356-70191488707080] INFO – : … Ticket 417692
I, [2019-12-11T12:58:39.849112 #1356-70191488707080] INFO – : … Ticket 417691
I, [2019-12-11T12:58:39.849141 #1356-70191488707080] INFO – : … Ticket 417690
I, [2019-12-11T12:58:39.849416 #1356-70191488707080] INFO – : … Ticket 417689
I, [2019-12-11T12:58:39.849441 #1356-70191488707080] INFO – : … Ticket 417688
I, [2019-12-11T12:58:39.863525 #1356-70191488707080] INFO – : # curl -X get “http://127.0.0.1:9200/zammad_production/KnowledgeBase::Answer::Translation/search"
I, [2019-12-11T12:58:39.867781 #1356-70191488707080] INFO – : # 200
I, [2019-12-11T12:58:39.889676 #1356-70191488707080] INFO – : Completed 200 OK in 810ms (Views: 20.4ms | ActiveRecord: 99.9ms)
I, [2019-12-11T12:58:39.992606 #1356-70191177219600] INFO – : Started GET "/api/v1/ticket_customer?
=1576048089729” for 000.000.000.00 at 2019-12-11 12:58:39 +0100
I, [2019-12-11T12:58:39.996708 #1356-70191177219600] INFO – : Processing by TicketsController#ticket_customer as JSON
I, [2019-12-11T12:58:39.996747 #1356-70191177219600] INFO – : Parameters: {"
”=>“1576048089729”}
I, [2019-12-11T12:58:40.003518 #1356-70191177219600] INFO – : Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 1.3ms)
I, [2019-12-11T12:58:41.831313 #1356-70191076309140] INFO – : Started GET "/api/v1/search?query=19151&limit=10&
=1576048089730” for 000.000.000.00 at 2019-12-11 12:58:41 +0100
I, [2019-12-11T12:58:41.835715 #1356-70191076309140] INFO – : Processing by SearchController#search_generic as JSON
I, [2019-12-11T12:58:41.835765 #1356-70191076309140] INFO – : Parameters: {“query”=>“19151”, “limit”=>“10”, "
”=>“1576048089730”}
I, [2019-12-11T12:58:41.845760 #1356-70191076309140] INFO – : # curl -X get “http://127.0.0.1:9200/zammad_production/Organization/search"
I, [2019-12-11T12:58:41.850854 #1356-70191076309140] INFO – : # 200
I, [2019-12-11T12:58:41.851133 #1356-70191076309140] INFO – : # curl -X get “http://127.0.0.1:9200/zammad_production/User/search"
I, [2019-12-11T12:58:41.857881 #1356-70191076309140] INFO – : # 200
I, [2019-12-11T12:58:41.857950 #1356-70191076309140] INFO – : … User 19151
I, [2019-12-11T12:58:42.060579 #1356-70191076309140] INFO – : # curl -X get “http://127.0.0.1:9200/zammad_production/Ticket/search"
I, [2019-12-11T12:58:42.071673 #1356-70191076309140] INFO – : # 200
I, [2019-12-11T12:58:42.071736 #1356-70191076309140] INFO – : … Ticket 417490
I, [2019-12-11T12:58:42.071760 #1356-70191076309140] INFO – : … Ticket 417603
I, [2019-12-11T12:58:42.071780 #1356-70191076309140] INFO – : … Ticket 417602
I, [2019-12-11T12:58:42.071798 #1356-70191076309140] INFO – : … Ticket 417601
I, [2019-12-11T12:58:42.071815 #1356-70191076309140] INFO – : … Ticket 417470
I, [2019-12-11T12:58:42.071833 #1356-70191076309140] INFO – : … Ticket 417468
I, [2019-12-11T12:58:42.071850 #1356-70191076309140] INFO – : … Ticket 417467
I, [2019-12-11T12:58:42.071867 #1356-70191076309140] INFO – : … Ticket 417466
I, [2019-12-11T12:58:42.071884 #1356-70191076309140] INFO – : … Ticket 417465
I, [2019-12-11T12:58:42.071900 #1356-70191076309140] INFO – : … Ticket 417464
I, [2019-12-11T12:58:42.081246 #1356-70191076309140] INFO – : # curl -X get “http://127.0.0.1:9200/zammad_production/KnowledgeBase::Answer::Translation/search"
I, [2019-12-11T12:58:42.085702 #1356-70191076309140] INFO – : # 200
I, [2019-12-11T12:58:42.293050 #1356-70191076309140] INFO – : Completed 200 OK in 457ms (Views: 205.8ms | ActiveRecord: 2.4ms)
I, [2019-12-11T12:58:42.484131 #1356-70191177071740] INFO – : Started GET "/api/v1/ticket_customer?
=1576048089731” for 000.000.000.00 at 2019-12-11 12:58:42 +0100
I, [2019-12-11T12:58:42.488341 #1356-70191177071740] INFO – : Processing by TicketsController#ticket_customer as JSON
I, [2019-12-11T12:58:42.488382 #1356-70191177071740] INFO – : Parameters: {"
”=>“1576048089731”}
I, [2019-12-11T12:58:42.495177 #1356-70191177071740] INFO – : Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 1.3ms)
I, [2019-12-11T12:58:43.725887 #1356-70191209170840] INFO – : Started GET "/api/v1/tickets/408264?all=true&
=1576065445554” for 000.000.000.00 at 2019-12-11 12:58:43 +0100
I, [2019-12-11T12:58:43.730176 #1356-70191209170840] INFO – : Processing by TicketsController#show as JSON
I, [2019-12-11T12:58:43.730225 #1356-70191209170840] INFO – : Parameters: {“all”=>“true”, "
”=>“1576065445554”, “id”=>“408264”}
I, [2019-12-11T12:58:43.808911 #1356-70191209170840] INFO – : Completed 200 OK in 79ms (Views: 33.2ms | ActiveRecord: 6.2ms)
I, [2019-12-11T12:58:43.925151 #1356-70190881432980] INFO – : Started GET “/api/v1/ticket_customer?customer_id=37&=1576065445555" for 000.000.000.00 at 2019-12-11 12:58:43 +0100
I, [2019-12-11T12:58:43.929351 #1356-70190881432980] INFO – : Processing by TicketsController#ticket_customer as JSON
I, [2019-12-11T12:58:43.929392 #1356-70190881432980] INFO – : Parameters: {“customer_id”=>“37”, "
”=>“1576065445555”}
I, [2019-12-11T12:58:43.942119 #1356-46994049601080] INFO – : Started GET “/api/v1/ticket_customer?customer_id=37&=1576065445556" for 000.000.000.00 at 2019-12-11 12:58:43 +0100
I, [2019-12-11T12:58:43.947058 #1356-46994049601080] INFO – : Processing by TicketsController#ticket_customer as JSON
I, [2019-12-11T12:58:43.947107 #1356-46994049601080] INFO – : Parameters: {“customer_id”=>“37”, "
”=>“1576065445556”}
I, [2019-12-11T12:58:43.957161 #1356-46994039023220] INFO – : Started GET “/api/v1/ticket_customer?customer_id=37&=1576065445557" for 000.000.000.00 at 2019-12-11 12:58:43 +0100
I, [2019-12-11T12:58:43.960465 #1356-46994053270740] INFO – : Started GET "/api/v1/ticket_stats?user_id=37&organization_id=2&
=1576065445558” for 000.000.000.00 at 2019-12-11 12:58:43 +0100
I, [2019-12-11T12:58:43.962308 #1356-46994039023220] INFO – : Processing by TicketsController#ticket_customer as JSON
I, [2019-12-11T12:58:43.964672 #1356-46994039023220] INFO – : Parameters: {“customer_id”=>“37”, “"=>“1576065445557”}
I, [2019-12-11T12:58:43.966914 #1356-46994053270740] INFO – : Processing by TicketsController#stats as JSON
I, [2019-12-11T12:58:43.967139 #1356-46994053270740] INFO – : Parameters: {“user_id”=>“37”, “organization_id”=>“2”, "
”=>“1576065445558”}
I, [2019-12-11T12:58:44.083940 #1356-70190881432980] INFO – : Completed 200 OK in 154ms (Views: 11.0ms | ActiveRecord: 2.2ms)
I, [2019-12-11T12:58:44.122707 #1356-46994049601080] INFO – : Completed 200 OK in 175ms (Views: 20.6ms | ActiveRecord: 2.7ms)
I, [2019-12-11T12:58:44.256019 #1356-46994039023220] INFO – : Completed 200 OK in 291ms (Views: 125.1ms | ActiveRecord: 5.9ms)
I, [2019-12-11T12:58:44.884507 #1356-70190907729920] INFO – : Started GET “/api/v1/tickets/405047?all=true&=1576065445559" for 000.000.000.00 at 2019-12-11 12:58:44 +0100
I, [2019-12-11T12:58:44.888900 #1356-70190907729920] INFO – : Processing by TicketsController#show as JSON
I, [2019-12-11T12:58:44.888996 #1356-70190907729920] INFO – : Parameters: {“all”=>“true”, "
”=>“1576065445559”, “id”=>“405047”}
I, [2019-12-11T12:58:44.996481 #1356-70190907729920] INFO – : Completed 200 OK in 107ms (Views: 15.6ms | ActiveRecord: 10.5ms)
I, [2019-12-11T12:58:45.751137 #1356-70191075755000] INFO – : Started PUT “/api/v1/taskbar/69339” for 000.000.000.00 at 2019-12-11 12:58:45 +0100
I, [2019-12-11T12:58:45.755510 #1356-70191075755000] INFO – : Processing by TaskbarController#update as JSON
I, [2019-12-11T12:58:45.755572 #1356-70191075755000] INFO – : Parameters: {“key”=>“Ticket-31085”, “client_id”=>“123”, “callback”=>“TicketZoom”, “state”=>{“ticket”=>{}, “article”=>{“form_id”=>“065524818”}}, “params”=>{“ticket_id”=>“31085”, “init”=>true}, “prio”=>896, “notify”=>false, “active”=>false, “attachments”=>[], “updated_at”=>“2019-12-10T13:06:02.494Z”, “id”=>“69339”}
I, [2019-12-11T12:58:45.775779 #1356-70191075755000] INFO – : Completed 200 OK in 20ms (Views: 0.4ms | ActiveRecord: 3.6ms)
I, [2019-12-11T12:58:45.860467 #1356-70191075758820] INFO – : Started PUT “/api/v1/taskbar/74268” for 000.000.000.00 at 2019-12-11 12:58:45 +0100
I, [2019-12-11T12:58:45.864811 #1356-70191075758820] INFO – : Processing by TaskbarController#update as JSON
I, [2019-12-11T12:58:45.864882 #1356-70191075758820] INFO – : Parameters: {“key”=>“Ticket-182744”, “client_id”=>“123”, “callback”=>“TicketZoom”, “state”=>{“ticket”=>{}, “article”=>{“body”=>"[FILTERED]", “type”=>“email”, “internal”=>false, “subtype”=>“forward”, “from”=>“temi”, “ticket_id”=>“182744”, “content_type”=>“text/html”, “sender_id”=>“1”, “type_id”=>“1”, “form_id”=>“915079087”}}, “params”=>{“ticket_id”=>“182744”, “init”=>true}, “prio”=>1054, “notify”=>false, “active”=>false, “attachments”=>[], “updated_at”=>“2019-09-19T11:59:12.081Z”, “id”=>“74268”}
I, [2019-12-11T12:58:45.905703 #1356-70191075758820] INFO – : Completed 200 OK in 41ms (Views: 0.8ms | ActiveRecord: 1.7ms)
I, [2019-12-11T12:58:45.987676 #1356-70191143488500] INFO – : Started PUT “/api/v1/taskbar/124510” for 000.000.000.00 at 2019-12-11 12:58:45 +0100
I, [2019-12-11T12:58:45.993006 #1356-70191143488500] INFO – : Processing by TaskbarController#update as JSON
I, [2019-12-11T12:58:45.993085 #1356-70191143488500] INFO – : Parameters: {“key”=>“Ticket-380390”, “client_id”=>“123”, “callback”=>“TicketZoom”, “state”=>{“ticket”=>{}, “article”=>{“body”=>"[FILTERED]", “type”=>“email”, “internal”=>false, “from”=>“Tamara”, “ticket_id”=>“380390”, “content_type”=>“text/html”, “sender_id”=>“1”, “type_id”=>“1”, “form_id”=>“058689163”}}, “params”=>{“ticket_id”=>“380390”, “init”=>true}, “prio”=>2084, “notify”=>false, “active”=>false, “attachments”=>[], “updated_at”=>“2019-11-25T13:09:20.457Z”, “id”=>“124510”}
I, [2019-12-11T12:58:46.015606 #1356-70191143488500] INFO – : Completed 200 OK in 22ms (Views: 0.7ms | ActiveRecord: 1.7ms)
I, [2019-12-11T12:58:46.094205 #1356-46994058224920] INFO – : Started PUT “/api/v1/taskbar/133110” for 000.000.000.00 at 2019-12-11 12:58:46 +0100
I, [2019-12-11T12:58:46.098872 #1356-46994058224920] INFO – : Processing by TaskbarController#update as JSON
I, [2019-12-11T12:58:46.098986 #1356-46994058224920] INFO – : Parameters: {“key”=>“Ticket-405838”, “client_id”=>“123”, “callback”=>“TicketZoom”, “state”=>{“ticket”=>{}, “article”=>{“form_id”=>“025656787”}}, “params”=>{“ticket_id”=>405838, “overview_id”=>2, “init”=>true}, “prio”=>2225, “notify”=>false, “active”=>false, “attachments”=>[], “updated_at”=>“2019-12-04T14:05:55.784Z”, “id”=>“133110”}
I, [2019-12-11T12:58:46.119808 #1356-46994058224920] INFO – : Completed 200 OK in 21ms (Views: 0.4ms | ActiveRecord: 2.1ms)
I, [2019-12-11T12:58:46.200950 #1356-70191442595060] INFO – : Started PUT “/api/v1/taskbar/133111” for 000.000.000.00 at 2019-12-11 12:58:46 +0100
I, [2019-12-11T12:58:46.205877 #1356-70191442595060] INFO – : Processing by TaskbarController#update as JSON
I, [2019-12-11T12:58:46.205957 #1356-70191442595060] INFO – : Parameters: {“key”=>“Ticket-408982”, “client_id”=>“123”, “callback”=>“TicketZoom”, “state”=>{“ticket”=>{}, “article”=>{“form_id”=>“025676919”}}, “params”=>{“ticket_id”=>408982, “overview_id”=>2, “init”=>true}, “prio”=>2226, “notify”=>false, “active”=>false, “attachments”=>[], “updated_at”=>“2019-12-04T14:05:55.889Z”, “id”=>“133111”}
I, [2019-12-11T12:58:46.224377 #1356-70191442595060] INFO – : Completed 200 OK in 18ms (Views: 0.4ms | ActiveRecord: 2.0ms)
I, [2019-12-11T12:58:46.299989 #1356-70191074762000] INFO – : Started PUT “/api/v1/taskbar/133113” for 000.000.000.00 at 2019-12-11 12:58:46 +0100
I, [2019-12-11T12:58:46.304663 #1356-70191074762000] INFO – : Processing by TaskbarController#update as JSON
I, [2019-12-11T12:58:46.304752 #1356-70191074762000] INFO – : Parameters: {“key”=>“Ticket-409249”, “client_id”=>“123”, “callback”=>“TicketZoom”, “state”=>{“ticket”=>{}, “article”=>{“form_id”=>“025651400”}}, “params”=>{“ticket_id”=>409249, “overview_id”=>2, “init”=>true}, “prio”=>2227, “notify”=>false, “active”=>false, “attachments”=>[], “updated_at”=>“2019-12-04T14:05:55.991Z”, “id”=>“133113”}
I, [2019-12-11T12:58:46.326012 #1356-70191074762000] INFO – : Completed 200 OK in 21ms (Views: 0.4ms | ActiveRecord: 2.1ms)
I, [2019-12-11T12:58:46.389757 #1356-70191488504820] INFO – : Started PUT “/api/v1/taskbar/133114” for 000.000.000.00 at 2019-12-11 12:58:46 +0100
I, [2019-12-11T12:58:46.393895 #1356-70191488504820] INFO – : Processing by TaskbarController#update as JSON
I, [2019-12-11T12:58:46.393981 #1356-70191488504820] INFO – : Parameters: {“key”=>“Ticket-408264”, “client_id”=>“123”, “callback”=>“TicketZoom”, “state”=>{“ticket”=>{}, “article”=>{“form_id”=>“981683459”}}, “params”=>{“ticket_id”=>408264, “overview_id”=>2, “init”=>true}, “prio”=>2228, “notify”=>true, “active”=>false, “attachments”=>[], “updated_at”=>“2019-12-11T11:10:28.438Z”, “id”=>“133114”}
I, [2019-12-11T12:58:46.413468 #1356-70191488504820] INFO – : Completed 200 OK in 19ms (Views: 0.4ms | ActiveRecord: 2.1ms)
I, [2019-12-11T12:58:46.487457 #1356-70190881363620] INFO – : Started PUT “/api/v1/taskbar/133115” for 000.000.000.00 at 2019-12-11 12:58:46 +0100
I, [2019-12-11T12:58:46.528619 #1356-70190881363620] INFO – : Processing by TaskbarController#update as JSON
I, [2019-12-11T12:58:46.528679 #1356-70190881363620] INFO – : Parameters: {“key”=>“Ticket-409016”, “client_id”=>“123”, “callback”=>“TicketZoom”, “state”=>{“ticket”=>{}, “article”=>{“form_id”=>“025777359”}}, “params”=>{“ticket_id”=>409016, “overview_id”=>2, “init”=>true}, “prio”=>2229, “notify”=>false, “active”=>false, “attachments”=>[], “updated_at”=>“2019-12-04T14:05:56.313Z”, “id”=>“133115”}
I, [2019-12-11T12:58:46.540980 #1356-70190881363620] INFO – : Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 1.4ms)
I, [2019-12-11T12:58:46.728847 #1356-46994039169480] INFO – : Started PUT “/api/v1/taskbar/133116” for 000.000.000.00 at 2019-12-11 12:58:46 +0100
I, [2019-12-11T12:58:46.733636 #1356-46994039169480] INFO – : Processing by TaskbarController#update as JSON
I, [2019-12-11T12:58:46.733950 #1356-46994039169480] INFO – : Parameters: {“key”=>“Ticket-409269”, “client_id”=>“123”, “callback”=>“TicketZoom”, “state”=>{“ticket”=>{}, “article”=>{“form_id”=>“025703076”}}, “params”=>{“ticket_id”=>409269, “overview_id”=>2, “init”=>true}, “prio”=>2230, “notify”=>false, “active”=>false, “attachments”=>[], “updated_at”=>“2019-12-04T14:05:56.396Z”, “id”=>“133116”}
I, [2019-12-11T12:58:46.758395 #1356-46994039169480] INFO – : Completed 200 OK in 24ms (Views: 0.4ms | ActiveRecord: 3.0ms)
I, [2019-12-11T12:58:46.987973 #1356-46993991603660] INFO – : Started PUT “/api/v1/taskbar/133117” for 000.000.000.00 at 2019-12-11 12:58:46 +0100
I, [2019-12-11T12:58:46.992434 #1356-46993991603660] INFO – : Processing by TaskbarController#update as JSON
I, [2019-12-11T12:58:46.992738 #1356-46993991603660] INFO – : Parameters: {“key”=>“Ticket-405047”, “client_id”=>“123”, “callback”=>“TicketZoom”, “state”=>{“ticket”=>{}, “article”=>{“form_id”=>“981616671”}}, “params”=>{“ticket_id”=>405047, “overview_id”=>2, “init”=>true}, “prio”=>2231, “notify”=>false, “active”=>false, “attachments”=>[], “updated_at”=>“2019-12-11T08:54:46.108Z”, “id”=>“133117”}
I, [2019-12-11T12:58:47.023636 #1356-46993991603660] INFO – : Completed 200 OK in 31ms (Views: 0.4ms | ActiveRecord: 3.5ms)
I, [2019-12-11T12:58:47.100456 #1356-70191488707080] INFO – : Started PUT “/api/v1/taskbar/133119” for 000.000.000.00 at 2019-12-11 12:58:47 +0100
I, [2019-12-11T12:58:47.105173 #1356-70191488707080] INFO – : Processing by TaskbarController#update as JSON
I, [2019-12-11T12:58:47.105255 #1356-70191488707080] INFO – : Parameters: {“key”=>“Ticket-408908”, “client_id”=>“123”, “callback”=>“TicketZoom”, “state”=>{“ticket”=>{}, “article”=>{“form_id”=>“025815291”}}, “params”=>{“ticket_id”=>408908, “overview_id”=>2, “init”=>true}, “prio”=>2233, “notify”=>true, “active”=>false, “attachments”=>[], “updated_at”=>“2019-12-04T14:05:56.684Z”, “id”=>“133119”}
I, [2019-12-11T12:58:47.125140 #1356-70191488707080] INFO – : Completed 200 OK in 20ms (Views: 0.4ms | ActiveRecord: 2.3ms)
I, [2019-12-11T12:58:47.201724 #1356-70191177219600] INFO – : Started PUT “/api/v1/taskbar/133121” for 000.000.000.00 at 2019-12-11 12:58:47 +0100
I, [2019-12-11T12:58:47.206225 #1356-70191177219600] INFO – : Processing by TaskbarController#update as JSON
I, [2019-12-11T12:58:47.206303 #1356-70191177219600] INFO – : Parameters: {“key”=>“Ticket-408853”, “client_id”=>“123”, “callback”=>“TicketZoom”, “state”=>{“ticket”=>{}, “article”=>{“form_id”=>“025898987”}}, “params”=>{“ticket_id”=>408853, “overview_id”=>2, “init”=>true}, “prio”=>2235, “notify”=>false, “active”=>false, “attachments”=>[], “updated_at”=>“2019-12-04T14:05:56.781Z”, “id”=>“133121”}
I, [2019-12-11T12:58:47.224979 #1356-70191177219600] INFO – : Completed 200 OK in 19ms (Views: 0.4ms | ActiveRecord: 1.6ms)

Sorry, but could you please specify what you mean by “ladding overviews” ?

Beside that, for 4 agents 70 overviews sounds like a big canon on a very big birdy.
Also I’d bet that you have at least one overview with at least 2000 Tickets (if not all of your tickets in total).

You’ll put your scheduler on 100% cpu time (making it busy so it doesn’t do anything useful) if you have too many overviews and items (beside it doesn’t make sense).

Please see: https://admin-docs.zammad.org/en/latest/manage/overviews.html

Try to minimize your overviews to what you really need. Zammad will handle permissions, so you don’t need overviews per agent.

Thank you for your reply. Sorry I meant lagging (from lagging behind).
Yes that’s what I always said to my boss zammad is a ticket system and not a ticket system with an eMail Strore :wink: eg. we have a “Folder” with eMails fom amazon and so on and they are very big.
So basically we missuse the software.

Do you know an eMail archive I can connect with zammad (like zammad search find also eMails fom the archive?

Sorry Zammad does not have such functionality.
If you want to archive mails (as in archive archive) you could use e.g. mailstore.

Mailstore can hook into your exchange transport queue which is very helpful.
If you’re using IMAP only, Zammad provides a system_bcc setting that allows you to send all outgoing mails to a specific address. See: https://docs.zammad.org/en/latest/console/hidden-settings.html

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.