DRW Posted January 17, 2018 Share Posted January 17, 2018 Alright, don't know if this has exactly got to do with MTA itself, but there I go: I'm using my web server to stream ambient music to the players who want to listen to it. The script works fine aside of lag issues, I use playSound, paste an URL like "www.server.com:22010/"..math.random(1,40)..".mp3" and check every X seconds if the sound is still playing; if it's not, then play another ambient song. Pretty easy, but the problem is that the server starts getting a crap load of RAM usage, it goes up to 95% from 30-50%, which is the average usage rate of my server. Is it MTA's problem? I'm using nginx. Link to comment
MTA Team ccw Posted January 17, 2018 MTA Team Share Posted January 17, 2018 7 hours ago, MadnessReloaded said: Pretty easy, but the problem is that the server starts getting a crap load of RAM usage What do you mean by server in this context? MTA server? web server? Link to comment
DRW Posted January 17, 2018 Author Share Posted January 17, 2018 4 hours ago, ccw said: What do you mean by server in this context? MTA server? web server? Oh, sorry for not specifying. The entire VPS. Link to comment
MTA Team ccw Posted January 17, 2018 MTA Team Share Posted January 17, 2018 When the issue next occurs, run this Linux command: ps auxf and show the output here 1 Link to comment
DRW Posted January 18, 2018 Author Share Posted January 18, 2018 Alright, I'll contact you when I get the results. Link to comment
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