Server crashes when users log out

Requests for assistance and other HOWTOs.

Moderator: Board moderators

Grendel
Newbie
Posts: 2
Joined: Fri Nov 17, 2006 1:32 am

Server crashes when users log out

Post by Grendel »

I am running the latest version of the server on a linux server. the server is dedicated to crossfire and runs nothing else.

Quite often, when a user logs out, crossfire crashes.

I have the server running with crossloop, so it restarts quickly, but how can keep it from crashing in the first place

Grendel :cry:
Leaf
Forum Aficionado
Posts: 1994
Joined: Tue Apr 29, 2003 5:55 pm
Location: Minnesota, USA
Contact:

Re: Server crashes when users log out

Post by Leaf »

Grendel wrote:I am running the latest version of the server on a linux server.
Latest version as in 1.9.1 or built from SVN (if SVN what revision number?) or from a Linux distro package (if so, which distro?) ?
"Put another, more succinct way: don't complain, contribute. It's more satisfying in the long run, and it's more constructive."
Eric Meyer
Grendel
Newbie
Posts: 2
Joined: Fri Nov 17, 2006 1:32 am

Post by Grendel »

It is built from the source 1.9.1, using 1.9.1 maps

the server is a sun ultra 5 running debian linux (sarge)

Anything other info that might help?

Grendel
Rednaxela
Senior member
Posts: 434
Joined: Wed Jan 26, 2005 5:13 am

Post by Rednaxela »

Hmm, can you run the server outside of crossloop, and see what the logs are right before it crashes?
Also, is it possible for you to run the server in gdb and get the backtrace?

quick instructions for getting a backtrace if you don't know how:
start up "gdb /usr/bin/crossfire" or similar
in the gdb prompt, type "run"
which will run the server inside of gdb. After it crashes, run "bt", and the results of that would be helpful.
Also, if you're concerned about any memory addresses it contains, or if it happens to contain plaintext data you don't want public, you could send it in a private message on the fourm, or file a bug report on sf.net, with the "Private" checkbox checked (makes it so only the submitter and developers can view it if I recall correctly)
(also, to quit gdb, "quit" I think)
Leaf
Forum Aficionado
Posts: 1994
Joined: Tue Apr 29, 2003 5:55 pm
Location: Minnesota, USA
Contact:

Re: Server crashes when users log out

Post by Leaf »

Grendel wrote: Quite often, when a user logs out, crossfire crashes.
Any problems with the player files such as the actual player file not being saved, loss of items or exp after logging out & the server crashing?
"Put another, more succinct way: don't complain, contribute. It's more satisfying in the long run, and it's more constructive."
Eric Meyer
Post Reply