Mantis - Resin
Viewing Issue Advanced Details
4380 minor always 02-08-11 00:56 02-09-11 17:59
nam  
ferg  
normal  
closed 3.1.10  
fixed  
none    
none 4.0.14  
0004380: thread-max, thread-idle-min, thread-idle-max not being set correctly
It's impossible to set the following:

<thread-max>10</thread-max>
<thread-idle-min>0</thread-idle-min>
<thread-idle-max>0</thread-idle-max>

because Resin refuses to start with the following bogus message:
lt;thread-max> (10) must be less than &lt;thread-idle-max> (15)


<thread-max>128</thread-max>
<thread-idle-min>0</thread-idle-min>
<thread-idle-max>0</thread-idle-max>
gives:
lt;thread-idle-max> (0) must be greater than &lt;thread-idle-min> (10)


<thread-max>128</thread-max>
<thread-idle-min>2</thread-idle-min>
<thread-idle-max>5</thread-idle-max>
gives:
lt;thread-idle-max> (5) must be greater than &lt;thread-idle-min> (10)


Resin will only start successfully when the min/max are set large enough:
<thread-max>128</thread-max>
<thread-idle-min>15</thread-idle-min>
<thread-idle-max>20</thread-idle-max>

Notes
(0005037)
ferg   
02-09-11 17:59   
This is fixed in the 4.0.x tree, will not be changed for 3.1.x.