Author Topic: Server drops off master after a few hours  (Read 3679 times)

Lux

  • Posts: 27
  • Turrets: +2/-2
Server drops off master after a few hours
« on: August 02, 2009, 03:24:27 pm »
My server works fine for about 4 hours. Then it no longer appears on the master. Restarting doesn't help, as I have to change the port to get it working again. I do not have a static IP, is that the reason? It says its still sending a heartbeat. Can anyone help?

Kiwi

  • Posts: 859
  • Turrets: +29/-9
Re: Server drops off master after a few hours
« Reply #1 on: August 02, 2009, 10:09:00 pm »
Does your private ip change thought this time frame?  It could be that you have to change the port because your private ip is changing.

Lux

  • Posts: 27
  • Turrets: +2/-2
Re: Server drops off master after a few hours
« Reply #2 on: August 03, 2009, 01:24:22 am »
Yes, it seems changing IP addresses are the cause of the problem. I have signed up for No IP and gotten it working, but how can I get tremulous to work with it?

Archangel

  • Guest
Re: Server drops off master after a few hours
« Reply #3 on: August 03, 2009, 06:41:11 am »
you can't, as it is simply dynamic DNS

Lux

  • Posts: 27
  • Turrets: +2/-2
Re: Server drops off master after a few hours
« Reply #4 on: August 05, 2009, 10:21:30 pm »
I figured as much. However, as I mentioned above, the problem is temporarily fixed by changing the port. Is there anyway to have the server execute a port change every few hours?

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: Server drops off master after a few hours
« Reply #5 on: August 05, 2009, 10:29:32 pm »
Not without restarting the server.
But changing port is going to punt everyone anyway, so you might as well.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

Archangel

  • Guest
Re: Server drops off master after a few hours
« Reply #6 on: August 05, 2009, 10:30:12 pm »
you could always setup a cronjob (or on windows an atjob) to run a script to change the port every few hours, but buying a non-broken router would be more sensible :)

Lux

  • Posts: 27
  • Turrets: +2/-2
Re: Server drops off master after a few hours
« Reply #7 on: August 06, 2009, 01:44:32 am »
I was going to pick up a new router soon anyway, but isn't my dynamic IP causing the problems?

Archangel

  • Guest
Re: Server drops off master after a few hours
« Reply #8 on: August 06, 2009, 01:54:50 am »
your router isn't handling the IP change gracefully from what I can see.