blob: 08f76fdf0749b33a612d3598e6d3862528de899b [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001SYNOPSIS
Zesstra7ea4a032019-11-26 20:11:40 +01002 void quota_demon(void)
MG Mud User88f12472016-06-24 23:31:02 +02003
4DESCRIPTION
Zesstra7ea4a032019-11-26 20:11:40 +01005 Handle quotas in times of memory shortage.
MG Mud User88f12472016-06-24 23:31:02 +02006
Zesstra7ea4a032019-11-26 20:11:40 +01007 This function is called during the final phase of a garbage
8 collection if the reserved user area couldn't be reallocated.
9 This function (or a called demon) has now the opportunity to
10 remove some (still active) objects from the system. If this does
11 not free enough memory to reallocate the user reserve,
12 slow_shut_down() will be called to start Armageddon.
MG Mud User88f12472016-06-24 23:31:02 +020013
Zesstra7ea4a032019-11-26 20:11:40 +010014 Up to now, the wizlist lacks various informations needed to
15 detect the memory-hungriest users.
MG Mud User88f12472016-06-24 23:31:02 +020016
17SEE ALSO
Zesstra7ea4a032019-11-26 20:11:40 +010018 slow_shut_down(M)