DRW Posted January 17, 2018 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. Proud owner and developer of ZNEXT: Aftermath. Enter a post-apocalyptic San Andreas and fight over 30 types of enemies and bosses with varying difficulties and skills, improve and customize your character by leveling up, completing challenges and a solid lootbox system with no Pay-to-Win mechanics that will break your experience. Meet new characters, creatures and weapon metas, experience an innovative combo-based melee system, or join our solid PvP modes to show other survivors who’s boss. Español, Pусский, Türk, عربى, Polski, Português IP: mtasa://104.36.110.227:22003 - Discord: https://discord.gg/CxMxjvC5pB
MTA Team ccw Posted January 17, 2018 MTA Team 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?
DRW Posted January 17, 2018 Author 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. Proud owner and developer of ZNEXT: Aftermath. Enter a post-apocalyptic San Andreas and fight over 30 types of enemies and bosses with varying difficulties and skills, improve and customize your character by leveling up, completing challenges and a solid lootbox system with no Pay-to-Win mechanics that will break your experience. Meet new characters, creatures and weapon metas, experience an innovative combo-based melee system, or join our solid PvP modes to show other survivors who’s boss. Español, Pусский, Türk, عربى, Polski, Português IP: mtasa://104.36.110.227:22003 - Discord: https://discord.gg/CxMxjvC5pB
MTA Team ccw Posted January 17, 2018 MTA Team Posted January 17, 2018 When the issue next occurs, run this Linux command: ps auxf and show the output here 1
DRW Posted January 18, 2018 Author Posted January 18, 2018 Alright, I'll contact you when I get the results. Proud owner and developer of ZNEXT: Aftermath. Enter a post-apocalyptic San Andreas and fight over 30 types of enemies and bosses with varying difficulties and skills, improve and customize your character by leveling up, completing challenges and a solid lootbox system with no Pay-to-Win mechanics that will break your experience. Meet new characters, creatures and weapon metas, experience an innovative combo-based melee system, or join our solid PvP modes to show other survivors who’s boss. Español, Pусский, Türk, عربى, Polski, Português IP: mtasa://104.36.110.227:22003 - Discord: https://discord.gg/CxMxjvC5pB
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