LPMuds.net
July 30, 2010, 06:02:33 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: This is the forum page. For the main LPMuds page, visit http://lpmuds.net
 
   Home   SITE FAQ INTERMUD DOWNLOADS LINKS Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: reboot problem  (Read 2506 times)
cratylus
Your favorite and best
Administrator
***
Offline Offline

Posts: 904


Cratylus@Dead Souls <ds> np


View Profile WWW
« on: January 01, 2007, 09:19:27 PM »

Does anyone know how to disable Discworld's 20-minute interval reboots? I
thought I edited the right file, but no dice.

-Crat
Logged
sojan
Acquaintance
*
Offline Offline

Posts: 33


View Profile
« Reply #1 on: January 12, 2007, 12:38:23 PM »

The file you need to edit is /obj/handlers/garbage.c to turn off timed reboots add

#define NO_TIMED_REBOOT 1

To turn off the reboot that is automatic based upon memory usage and page faults add

#define NO_AUTO_REBOOT 1

alternatively adjust the values of MIN_TIME, MAX_TIME and FAULT_RATE

you probably also want to mak sure the adaptive reboot capability is turned off with

#define NO_ADAPTIVE_REBOOT 1

Regards

J

Logged
cratylus
Your favorite and best
Administrator
***
Offline Offline

Posts: 904


Cratylus@Dead Souls <ds> np


View Profile WWW
« Reply #2 on: January 12, 2007, 05:54:53 PM »

That worked!

Thank y ou.

-Crat
Logged
sojan
Acquaintance
*
Offline Offline

Posts: 33


View Profile
« Reply #3 on: January 13, 2007, 03:01:48 AM »

One would hope it did since I wrote some of the code in question!

Bings

J
« Last Edit: April 21, 2007, 05:22:42 PM by sojan » Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!