Rob0 Posted August 17, 2017 Posted August 17, 2017 (edited) Was surprised to notice how ram light MTA is with a stock package when compared to my usual 400MB download setup, which in action is hogging half my server's RAM. My MTA Server starts up at 10% usage and over 2-3 days climbs up to 45% yet i don't store any data of any kind, and never exceed 25 users on at one time. Baring some specific solution of RAM leakage, just as a general question for all to learn from, what might be the worst offenders in scripting when it comes to RAM hogging? Edited August 17, 2017 by Rob0
Dretax Posted August 17, 2017 Posted August 17, 2017 3 minutes ago, Rob0 said: Was surprised to notice how ram light MTA is with a stock package when compared to my usual 400MB download setup, which in action is hogging half my server's RAM. My MTA Server starts up at 10% usage and over 2-3 days climbs up to 45% yet i don't store any data of any kind. Baring some specific solution of RAM leakage, just as a general question for all to learn from, what might be the worst offenders in scripting when it comes to RAM hogging? Do you restart resources?
Rob0 Posted August 17, 2017 Author Posted August 17, 2017 I run a 1 week uptime average and restart 3 of my 5 major resources, that which include vehicles and other pickups, twice a week, with little drop in RAM.
Dretax Posted August 17, 2017 Posted August 17, 2017 Do you have if resource ~= getThisResource() then return end in your OnResourceLoad hook at all resources?
Rob0 Posted August 17, 2017 Author Posted August 17, 2017 I don't use OnResourceLoad anywhere in my code. It is all against the wall functions, addCommandHandler, addEventHandler, and maps that run at script startup.
MTA Team Lpsd Posted August 17, 2017 MTA Team Posted August 17, 2017 I assume you've checked out the performancebrowser?
Rob0 Posted August 24, 2017 Author Posted August 24, 2017 (edited) I got the web performance manager running Here is my performance browser output for RAM with my VPS top output run at the same time. As you can see MTA is very hungry for RAM. What does the performance browser tell me as I am not seeing anything except the stock Admin Panel that seems to be using a lot of RAM. Edited August 24, 2017 by Rob0
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now