28.11.2009, 21:29
I have big problem, so I will try to explain everything.
I have VPS(virtual private server) with 768MB ram, Linux CentOS.
My gamemode have ~25000 lines, uses G-sTyLeZzZ mysql plugin.
When server starts it uses ~20MB ram, but when server uptime is ~20 hours it uses ~180 MB RAM or more.
I think it's because of MySQL plugin. I made test on my home PC, and i know that with every mysql_get_field() function server uses some more KBytes of memory, after more and more mysql_get_field() it uses not KBytes, but MBytes, and that's why it uses so much RAM. Question: Is it possible to avoid somehow this ? Maybe you can suggest me something, because this problem is very annoying :/ On same VPS there is apache/mysql/cs server/sa-mp server and today, 4th time server had 0MB of ram free.. :/
P.S. I create topic here, because i think that i will get help faster here, not in plugin topic.
I have VPS(virtual private server) with 768MB ram, Linux CentOS.
My gamemode have ~25000 lines, uses G-sTyLeZzZ mysql plugin.
When server starts it uses ~20MB ram, but when server uptime is ~20 hours it uses ~180 MB RAM or more.
I think it's because of MySQL plugin. I made test on my home PC, and i know that with every mysql_get_field() function server uses some more KBytes of memory, after more and more mysql_get_field() it uses not KBytes, but MBytes, and that's why it uses so much RAM. Question: Is it possible to avoid somehow this ? Maybe you can suggest me something, because this problem is very annoying :/ On same VPS there is apache/mysql/cs server/sa-mp server and today, 4th time server had 0MB of ram free.. :/
P.S. I create topic here, because i think that i will get help faster here, not in plugin topic.