MAXDAEM parameter

From m204wiki
Revision as of 21:54, 30 September 2010 by JAL (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Default value
1
Parameter type
System
Where set
User 0 CCAIN parameters
Related products
All
Introduced
Sirius Mods 6.7

This parameter indicates the maximum number of sdaemon threads that can be used by an individual thread. Such threads are allocated as the result of a function that begins with $comm, or they are allocated via the New method for Daemon objects.

Since sdaemon threads are a relatively scarce resource, it is not a good idea for a thread to use more than a handful of them at a time. Unfortunately, with Daemon objects, especially such objects embedded in another class, it is possible for a single runaway request to cause great problems by quickly consuming every daemon thread in an Online.