[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] Manage deposits page loads very slow



They are not the same mysql version, 5.1 on the old VM and 5.7 on the new
one. It seems that the mysql on the old VM has MyISAM as the default
engine, while the new VM has InnoDB as default. Although almost all tables
on the DB are using MyISAM.

On Mon, May 21, 2018 at 12:31 PM John Salter <J.Salter at leeds.ac.uk> wrote:

> Is the version of MySQL the same on both VMs?
> Do they have the same default engine (e.g. myISAM or InnoDB)?
> ------------------------------
> *From:* eprints-tech-bounces at ecs.soton.ac.uk <
> eprints-tech-bounces at ecs.soton.ac.uk> on behalf of Yuri <yurj at alfa.it>
> *Sent:* 21 May 2018 09:55:59
> *To:* eprints-tech at ecs.soton.ac.uk
> *Subject:* Re: [EP-tech] Manage deposits page loads very slow
>
> Enable sql logging on mysql and write down the queries it does when
> using Manage Deposits. Then disable logging and you can test directly
> the queries looking for mysql bottlenecks.
>
> Is the disk enough fast in the new vm? Is there any difference if you
> shut down the indexer? Did you migrate also the index database or the
> indexer is still running to reindex everything?
>
> Il 21/05/2018 10:26, Emilian Mitocariu ha scritto:
> > Hi,
> >
> > I migrated an eprints instance from version 3.3.7 running on a VM with
> > ubuntu 10.04, 1GB RAM and 2 virtual CPUs to the latest eprints version
> > 3.3.15 on a VM with ubuntu 16.04, 2.5GB RAM and 2 virtual CPUs. I
> > followed the page documented on the eprints wiki for the migration.
> >
> > There were no problems with loading pages on the old version, but on
> > the new server when a user visits the "Manage Deposits" page and has a
> > lot of deposits, it takes a while to load the page. For a user with
> > 885 deposits, it takes at least 30 seconds.
> >
> > I compared the mysql configuration on both VMs and it is similar.
> > Also, the eprints indexer is running. During the day, apache and mysql
> > seems to use more RAM than it did on the old VM.
> >
> > Does anyone know what could cause the slow page load or at least give
> > me some pointers where to look?
> >
> >
> > *** Options:
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> > *** Archive: http://www.eprints.org/tech.php/
> > *** EPrints community wiki: http://wiki.eprints.org/
> > *** EPrints developers Forum: http://forum.eprints.org/
>
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: http://www.eprints.org/tech.php/
> *** EPrints community wiki: http://wiki.eprints.org/
> *** EPrints developers Forum: http://forum.eprints.org/
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: http://www.eprints.org/tech.php/
> *** EPrints community wiki: http://wiki.eprints.org/
> *** EPrints developers Forum: http://forum.eprints.org/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20180521/6f81bbb9/attachment-0001.html