<div dir="ltr">Hi everyone,<div><br></div><div>I'm having a performance issue with one of my clients. vtiger takes too long to load listviews and sometimes 503 http errors are returned. Apparently the server has a great workload. Before increasing resources, I want to rule out there's something else that can be done.</div><div><ul><li>The server has a centos OS, 2GB RAM, 2 virtual CPUs, 2GB swap memory.</li><li>Vtgier version 7.1, PHP 7.0 fpm, Mariadb 5.5, apache 2.4.6</li><li>Aprox. 50 concurrent users</li><li>vtiger_crmentity table has 822 164 not deleted records and 23 380 deleted records (almost all of them are leads)</li></ul><div>Upon activating the slow queries log I see that the queries getting the listview of the leads module sometimes takes between 10 - 40 seconds with aprox 1million rows examined:</div></div><div><br></div><div><div><img src="cid:ii_kdev60cb0" alt="image.png" style="margin-right: 25px;"><br></div></div><div><br></div><div>Queries to the vtiger_modtracker table also take a while (36s in the example below with 3.3 million rows examined):</div><div><br></div><div><div><img src="cid:ii_kdev7hvn1" alt="image.png" style="margin-right: 0px;"><br></div></div><div><br></div><div>This is a resources consumption graph of the server from 8am to 2pm:</div><div><br></div><div><div><img src="cid:ii_kdevpd6a2" alt="image.png" width="562" height="526"><br></div></div><div>Any help will be appreciated.</div><div><br></div><div>Alan Lord, you previously commented that you have clientes with huge databases (several million rows). It would be really helpful to get some advice from you.</div><div><br></div><div>Thanks in advance<div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Rubén</div></div></div></div></div></div>