SRCDS Steam group

Sudden server crashes started... wt...
Hi everyone. Suddenly, today, my server's started crashing. Then I noticed, that it crashes, when some people joins the game. One of them is my friend, so he doesn't crash the server for a purpose. Plus, he's too stupid to do such thing.

Here's what console says, when he or some other people joins the server:
terminate called after throwing an instance of 'std::bad_alloc' what(): std::badalloc

The server works for most people, but when some people join, I don't know, how they are special, server crashes. He didn't changed anything in his game, and has been playing before perfectly. Today he has been playing too.
What could be the problem? Using CentOS. Tried turning off all the plugins.
This is taken from a C++ but it maybe has something to do with your problem:
Quote:The exception is thrown when new cannot allocate more memory.
I'd like to see the code. It could be that you're passing new an expression that evaluates to a really large number.

It means that you are maybe running out of memory..
Slå den med jeres fiberforbindelser...

[Image: 1308107839.png]
give us the output of "free -m" while the server is running. (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
total used free shared buffers cached
Mem: 1024 323 700 0 0 0
-/+ buffers/cache: 323 700

There you go.
Have no idea, why it's happening... Players will leave the server, if this will continue... :/
I wonder why you haven't got any memory cached.. Is it only happening with SRCDS or does other applications crash aswell?
Slå den med jeres fiberforbindelser...

[Image: 1308107839.png]
There's no other applications running on that Linux VPS.
(01-12-2011, 01:41 AM)newn Wrote:  Linux VPS.
that explains the stragne output of free (all 0 for buffers and cached).

maybe the VPS doesn't allow to allocate more memory as the hardware node is at it's limits. again: VPS are usually not suited to run game servers. rent a real root server or go for shared hosting. (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
We should do that in the end of the month, but as for now, I don't want my players to leave...

Forum Jump:

Users browsing this thread: 1 Guest(s)