Jump to content

Memory problems


DRW

Recommended Posts

Posted

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.

  • MTA Team
Posted
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?

Posted
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.

  • MTA Team
Posted

When the issue next occurs, run this Linux command:

ps auxf

and show the output here

  • Thanks 1

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...