I think I may have traced it to this section of code in utils.php, in the 
'isAvailable' function where It checks the max concurrent usage. If I'm 
following the logic correctly (BIG if), the equation near the end of the 
function around line 3895 is the kicker.

if(($usagecnt + $row['currentusage'] - $decforedit) >= 
$images[$imageid]['maxconcurrent']) {
                                semUnlock();
                                return -1;

In my case, $usagecnt is 0  (no current reservations), $decforedit is 0, 
currentusage  is 4 (block computers with the image and not already used), and 
maxconcurrent is 4. So the statement resolves to 0+4-0 >= 4. Thus it returns -1 
saying that max concurrent usage has been reached, even with none of the 
sessions in use.

Mike

Reply via email to