Repositories take a long time to load

28 views
Skip to first unread message

ism...@gmail.com

unread,
Jun 15, 2021, 5:26:25 AM6/15/21
to AtoM Users

Good morning Dan, I've been having trouble loading repositories for a few days. In general, since you click on one of them from the list /index.php/repository/browse?page=4&sort=referenceCode&sortDir=asc until it opens, about 4 or 5 seconds pass, but there is one specifically, which consists of a multitude of funds, and that being logged in it takes a lot longer to load, sometimes the browser even times out. What could this be due to? Thanks in advance and greetings.

Dan Gillean

unread,
Jun 15, 2021, 9:13:23 AM6/15/21
to ICA-AtoM Users
Hi Isabel, 

One possibility is that the per-repository upload limit widget is slowing page load times when trying to calculate the available space against the limit amount. I don't know if it will help, but you could try setting this to unlimited (-1) for now. 

In the upcoming 2.7 release, we will be adding a global setting to disable this widget on repository view pages, which should eliminate that particular issue. Without further testing I can't be 100% sure that this is the issue you are encountering, but I suspect it will help at the very least, if not fully resolve the issue. 

You can see the related issue ticket here: 
Cheers, 

Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
604-527-2056
@accesstomemory
he / him


On Tue, Jun 15, 2021 at 5:26 AM ism...@gmail.com <ism...@gmail.com> wrote:

Good morning Dan, I've been having trouble loading repositories for a few days. In general, since you click on one of them from the list /index.php/repository/browse?page=4&sort=referenceCode&sortDir=asc until it opens, about 4 or 5 seconds pass, but there is one specifically, which consists of a multitude of funds, and that being logged in it takes a lot longer to load, sometimes the browser even times out. What could this be due to? Thanks in advance and greetings.

--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/883dd198-b007-4ce6-93f5-8c1d8a3cf254n%40googlegroups.com.

Portales Municipales

unread,
Jun 16, 2021, 10:49:39 AM6/16/21
to AtoM Users
Hi Dan, thanks for the reply. I have tried what you have suggested but the problem persists, when opening the largest repository, most of the time the time exceeds the one supported by the browser and gives a timeout. I have changed the loading time to "Unlimited" but it remains the same. Can you think of another reason? Greetings.
tiempo-de-carga.jpg

Dan Gillean

unread,
Jun 16, 2021, 11:54:36 AM6/16/21
to ICA-AtoM Users
Hi there, 

I can't currently think of other elements that would be having such an impact on repository page load times. 

There aren't any further workarounds I can think of either that will help, short of making a change in the code. 

You could try commenting out the following line, to see if preventing the widget from loading will help resolve the issue: 
One of our developers also said: 

You could also stick a bare return; at the top of https://github.com/artefactual/atom/blob/qa/2.x/apps/qubit/modules/repository/actions/uploadLimitComponent.class.php#L23 

Remember to clear the application cache and restart PHP-FPM before testing again. I would also recommend clearing your web browser cache as well. 

As I mentioned, there should be a setting included in the 2.7 release to disable this without having to make local code modifications. 

Regards, 

Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
604-527-2056
@accesstomemory
he / him

ism...@gmail.com

unread,
Jun 16, 2021, 12:09:55 PM6/16/21
to AtoM Users
Hi again, the option to comment out the line that refers to uploadLimit in _contexMenu.php has not worked, although the second tip has worked. I have added the return; at the beginning of the execute method in uploadLimitComponent.class.php and now it goes like a bullet. Perhaps it was thanks to the two changes. Thank you so much for everything!!!

Lalie Lapleni

unread,
Jun 18, 2021, 5:49:31 AM6/18/21
to ica-ato...@googlegroups.com
Good day,
Do some of you manage decentralized record centers with ATOM? What are the results?
Thanks a lot.
Rosalie Ndejuru
Expert in Archives and Library systems
National Archives and Library Services
Rwanda



--
Rosalie Ndejuru
Reply all
Reply to author
Forward
0 new messages