Slow Queueview

Moderator: crythias

Post Reply
richym76
Znuny newbie
Posts: 12
Joined: 24 Oct 2013, 12:34
Znuny Version: 3.2.11

Slow Queueview

Post by richym76 »

Hi.

We are experiencing an issue with loading the queueview. We have about 220 open tickets which are all visible in this queue. I can not see any load on the server (4 CPUs, 32GB ram). This appears to have happened since upgrading to V6 from V5 but as the ticket count gets greater the slower it becomes.

Any help would gratefully be received.

Thanks.

Rich
fcasal
Znuny wizard
Posts: 336
Joined: 21 Apr 2014, 16:14
Znuny Version: 6.0.18

Re: Slow Queueview

Post by fcasal »

Which patch level of otrs 6 have installed?
richym76
Znuny newbie
Posts: 12
Joined: 24 Oct 2013, 12:34
Znuny Version: 3.2.11

Re: Slow Queueview

Post by richym76 »

Hi.

We are now up to 6.0.17 but the problem was right from the out set of V6. Just worse now as we are getting more live (open) tickets.
root
Administrator
Posts: 3960
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Slow Queueview

Post by root »

Hi,

Do you have escalations configured?

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
richym76
Znuny newbie
Posts: 12
Joined: 24 Oct 2013, 12:34
Znuny Version: 3.2.11

Re: Slow Queueview

Post by richym76 »

Hi.

No we do not have escalation enabled.

Thanks.
wurzel
Znuny guru
Posts: 3229
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: Slow Queueview

Post by wurzel »

Hi,

what about your support assessment?
What about the logs?

Flo
OTRS 8 SILVER (Prod)
OTRS 8 auf Debian 11 (Test)
Znuny 7.x latest version testing auf Debian 11

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
richym76
Znuny newbie
Posts: 12
Joined: 24 Oct 2013, 12:34
Znuny Version: 3.2.11

Re: Slow Queueview

Post by richym76 »

Hi Flo.

Thanks for your response.

I have run the support data collector and nothing is really jumping out except:
- Our DB is 47GB.
- Used swap file is more than 200mb (using 860mb)
- Remove Legacy backups

The main logs show (repeats) :
- (Europe/London) error OTRS-CGI-10 Error creating DateTime object.
- (Europe/London) error OTRS-CGI-10 Missing parameter Year.

Thanks.
fcasal
Znuny wizard
Posts: 336
Joined: 21 Apr 2014, 16:14
Znuny Version: 6.0.18

Re: Slow Queueview

Post by fcasal »

I think it could be interesting to thin that database, perhaps changing that otrs saves attachments into filestore instead of database, and move all the attachments (you can do on the fly), and then try how is working.
richym76
Znuny newbie
Posts: 12
Joined: 24 Oct 2013, 12:34
Znuny Version: 3.2.11

Re: Slow Queueview

Post by richym76 »

Hi.

Thanks for your reply.

I have moved all the articles to FS rather than DB and then deleted the cache. I'm not sure this has made much difference but I will check back in a few days.

Rich
richym76
Znuny newbie
Posts: 12
Joined: 24 Oct 2013, 12:34
Znuny Version: 3.2.11

Re: Slow Queueview

Post by richym76 »

Hi.

Whilst this has increased the speed a bit the queue view can still take >10 secs to load.

Any further assistance would be grateful.

Rich
fcasal
Znuny wizard
Posts: 336
Joined: 21 Apr 2014, 16:14
Znuny Version: 6.0.18

Re: Slow Queueview

Post by fcasal »

Have you checked the database configuration?
Is the db in the same machine of otrs?
root
Administrator
Posts: 3960
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Slow Queueview

Post by root »

Hi,

Do you use the S, M or L view?

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
richym76
Znuny newbie
Posts: 12
Joined: 24 Oct 2013, 12:34
Znuny Version: 3.2.11

Re: Slow Queueview

Post by richym76 »

Hi Roy.

We use the small view which is set to show 200 tickets. I have seen an issue in the forums re this but our version seems to not be effected but the fix.

Everything else is responding as expected.

Rich
richym76
Znuny newbie
Posts: 12
Joined: 24 Oct 2013, 12:34
Znuny Version: 3.2.11

Re: Slow Queueview

Post by richym76 »

Hi.

Does anyone know where else I can look into why this is still slow?

Thanks.
root
Administrator
Posts: 3960
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Slow Queueview

Post by root »

Hi,

Anything on the database slow query log or the server load when loading the Queue view?

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
richym76
Znuny newbie
Posts: 12
Joined: 24 Oct 2013, 12:34
Znuny Version: 3.2.11

Re: Slow Queueview

Post by richym76 »

Hi Roy.

I can not see anything in particular in the log although there are a lot of entries! I have the following setting:

slow_query_log=1
log-slow-queries=/var/log/mysql/log-slow-queries.log
long_query_time = 10
log_queries_not_using_indexes=1

Hope this is what I should be using.

No real load is on the server when viewing the queue.

Rich
Post Reply