#30147 – All Ticket Display Slow

Posted in ‘Akeeba Ticket System’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Thursday, 30 August 2018 20:54 CDT
When a user logs in and clicks on the menu item to display all tickets, it takes over a minute for the tickets to display. This includes all open/closed/pending tickets. There are a little over 27000 tickets. Is there a way to make the system respond faster when clicking on All Tickets?
Custom Fields
Joomla! version (in x.y.z format) 3.8.12
PHP version (in x.y.z format) 5.6.37
Akeeba Ticket System version (x.y.z format) 2.4.1
pauldev
Friday, 31 August 2018 01:35 CDT
I am not sure what the "all tickets" menu item is configured to do. There is no such thing in ATS. There's either a menu item to show the categories or a menu item to show the tickets inside a category. I will assume it's the latter.

The important factor in the response time is the number of tickets you are displaying at once, i.e. Joomla's default list limit. With the default limit of 20 displaying one page of 20 tickets takes 470 msec on a mid-spec server. If you are trying to display all 27,000 tickets in one insanely long page I would expect PHP to crash due to lack of memory. If you have a really big limit (e.g. 500) you will have a really long delay before anything is displayed.

Remember that in order to display the information for a single ticket we actually have to load both the ticket and its replies. Otherwise we would not know who was the last person to reply to the ticket. Moreover, we have to load the user information for every unique user in the generated page. Otherwise you'd see, for example, that the ticket is created by user 123 and last replied to by user 456 instead of created by user Paul. and last replied to by user Nicholas. These are additional queries which do take up time and memory to execute.

The only thing you can do is limit the amount of information displayed per page. Go to System, Global Configuration, Site Settings and set Default List Limit to 20.


Nicholas K. Dionysopoulos

Lead Developer and Director



Greek: native

English: excellent

French: basic



Please keep in mind my timezone and cultural differences when reading my replies. Thank you!



nicholas
Sunday, 30 September 2018 17:17 CDT
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.
system
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.

Support Information

Working hours: Typically we work Monday to Friday, 9am to 7pm Cyprus timezone (EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets, but we cannot respond to them, outside of our working hours.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!

Cookies Notification - Action required

This website uses cookies to provide user authentication and improve your user experience. Please indicate whether you consent to our site placing these cookies on your device. You can change your preference later, from the controls which will be made available to you at the bottom of every page of our site.