Server lagging due to timer. [URGENT]
#3

You need to break that up and make it more efficient. Timers will lag when they are loaded up with so many functions. Especially those queries.


Otherwise, run it less often. Like every 5 minutes or something. (Seems like this is running every 5 seconds).

Код:
[16:44:36] [ERROR] cache_get_field_content_int - invalid datatype
[16:44:36] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('0')
Means you're using the wrong datatype for a value you are getting from the server.

Like getting an integer where it should be a string or vice versa.

The index from there is incorrect as well.

Could be that both of these errors are linked.


The fact that you lag will more likely be from the multiple functions being called in that timer failing due to the errors, but the laden timer will cause trouble when the server gets populated, and the queries increase.
Reply


Messages In This Thread
Server lagging due to timer. [URGENT] - by danielpalade - 24.04.2016, 13:52
Re: Server lagging due to timer. [URGENT] - by danielpalade - 25.04.2016, 19:20
Re: Server lagging due to timer. [URGENT] - by Sew_Sumi - 25.04.2016, 19:35
Re: Server lagging due to timer. [URGENT] - by danielpalade - 26.04.2016, 20:06

Forum Jump:


Users browsing this thread: 1 Guest(s)