New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[9.4.x] Slow Performance on Home page #5740
Comments
Hi, Can you use the debug mode, open the Regards |
I also have very slow overall performance after upgrade to 9.4.1.1 from 9.4.1.0. I use Windows 2012 IIS and PHP 7.2 with Wincache enabled. |
[2019-04-05 16:38:24] glpiphplog.ERROR: Toolbox::userErrorHandlerNormal() in C:\inetpub\wwwroot\glpi\inc\toolbox.class.php line 659 |
Thanks for looking into this. This is the result we got from Longest query took 0.006s |
Hi, |
/front/ticket.php 6406 Queries took 6.8880000000005s
Here is some Chrome profile recording I hope it may help: |
Hi, Chrome profiling will not help, as it will not give us any explaination about the time taken by the server to respond. I am pretty sure that thoose 6406 queries are related to usage of plugins. Can you try to disable plugins and see if the problem persist? If the problem comes from one plugin in particular, then you should open a bug on plugin repository. Regards |
Hi Cedric |
Sorry, I was thinking you were talking about the initial problem of this issue (the performances on the home page). @dyingtako We fixed a lot of issues that explains performances issues. Please try with the nightly build to see if errors re fixed. |
@atanasag in this list, check if one is long ? |
No. All of them runs fast - between 0.001 and 0.008 |
Hello @atanasag, |
|
Just want to let you know, I had the same issues after updating to glpi 9.4.2 https://forum.glpi-project.org/viewtopic.php?id=168971 PHP V7.3.3 Apache: Zend opcache installed: 7.3.3 (256 MB) I was able to solve it by updating my php to 7.3.5, released on the 1st of may (zend opcache is included so is also update to 7.3.5) (Like described it seemed to be a caching issue, no slow query's and the first execution after a refresh was always slow). Just to let you know. |
Can confirm that upgrading to PHP 7.3.5 has significantly improved GLPI 9.4.2's performance. Still takes a bit longer than it used to, but it's within acceptable boundaries. Setup: Operating system: Windows NT WITS01 10.0 build 14393 (Windows Server 2016) AMD64 |
I have been trying this and for me, it did not work. For my environment, the only configuration is with PHP 7.2 x64 NTS with WinCache 2.0.0.8 and APCu 5.1.17 and APCubc 1.0.5 that runs reasonably not frustrating. |
Bit worrying that the PHP version is affecting performance this much, though.
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
…________________________________
From: atanasag <notifications@github.com>
Sent: Thursday, May 9, 2019 7:53:25 PM
To: glpi-project/glpi
Cc: Callum Moffat; Comment
Subject: Re: [glpi-project/glpi] [9.4.x] Slow Performance on Home page (#5740)
Can confirm that upgrading to PHP 7.3.5 has significantly improved GLPI 9.4.2's performance. Still takes a bit longer than it used to, but it's within acceptable boundaries.
Setup:
Operating system: Windows NT WITS01 10.0 build 14393 (Windows Server 2016) AMD64
PHP 7.3.5 cgi-fcgi (Core, PDO, Phar, Reflection, SPL, SimpleXML, Zend OPcache, bcmath, calendar, cgi-fcgi, ctype, curl, date,
dom, exif, fileinfo, filter, gd, gettext, hash, iconv, imap, json, ldap, libxml, mbstring, mysqli, mysqlnd, openssl, pcre,
pdo_mysql, pdo_sqlite, readline, session, soap, standard, tidy, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, zip, zlib)
Setup: max_execution_time="300" memory_limit="128M" post_max_size="32M" safe_mode="" session.save_handler="files"
upload_max_filesize="32M"
Software: Microsoft-IIS/10.0
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36
Server Software: mariadb.org binary distribution
Server Version: 10.3.14-MariaDB
Server SQL Mode:
Parameters: glpi@127.0.0.1/glpi
Host info: 127.0.0.1 via TCP/IP
I have been trying this and for me, it did not work. For my environment, the only configuration is with PHP 7.2 x64 NTS with WinCache 2.0.0.8 and APCu 5.1.17 and APCubc 1.0.5 that runs reasonably not frustrating.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fglpi-project%2Fglpi%2Fissues%2F5740%23issuecomment-490792806&data=02%7C01%7C%7C3ca9b821f78445ede70b08d6d4536ae2%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636929852070159487&sdata=h8gTkd8OFWhDzlH%2FZylQXIeEYgr0mhC7SbCDiSn9o9Q%3D&reserved=0>, or mute the thread<https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FADG6SIYI6NLZ2XQLFJUBPNTPUPJ7LANCNFSM4HDORJEA&data=02%7C01%7C%7C3ca9b821f78445ede70b08d6d4536ae2%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636929852070169631&sdata=kOiZGD4xyOTtC1T8iMLskjOJIkMdMYxnbyqYFibnmPw%3D&reserved=0>.
|
Hi all, We just merged an improvement that can affect performances on instances with lots of entities. Regards |
I was having these problems of slowness when using Mysql 8.0.16, while replacing with MariaDB 10.4.6 everything was fixed. I have noticed that some query cache options have been discontinued in this version of MySQL, I believe there is a relation. |
Maybe we have some redundancy on some queries in homepage which performances are lowered due to query cache removal in MySQL8 (https://mysqlserverteam.com/mysql-8-0-retiring-support-for-the-query-cache/). |
Hi @dyingtako @atanasag @callummoffat , Can you test with current 9.4 nightly to see if problem persists ? Regards |
No feedback from a while, closing. |
Hi again, |
Describe the bug
Takes around 35 seconds to load the Personal (or All) view on Home page.
Looks like big portion of the loading time is on updatecurrenttab.php & common.tabs.php .
Page(s) URL
http(s)://glpi-web-url/glpi/front/central.php
To reproduce
Steps to reproduce the behavior:
Expected behavior
Used to take less than 2 seconds loading Personal (or All) view on home page @ version 9.3.x .
Screenshots
Your GLPI setup (you can find it in Setup > General menu, System tab)
Additional context
Patch 5666 applied.
The text was updated successfully, but these errors were encountered: