Due to the slowness of the portal, I consulted the hosting provider and they replied the following:
1> Optimizing the programming. Most of the time the queries go to sleep because the app or website does not close the session after making the query. You would have to check your schedule to see that every session that is opened in MySQL is scheduled to close after you get the answer to the query.
2> You can lower the MySQL TimeOut times, in /etc/my.cnf, by default it is 120 seconds, if you lower them to 20 or 40 seconds you can prevent them from being there for so long. This can improve performance, but if you use persistent sessions as a requirement for your app, it will probably fail you.
But I don't understand what actions I should take to improve my speed.
I'm already asking you this favor, because I can't make the site created with Teline V work properly.
Thank you very much