Hot SKU activity monitoring

You can enable the Hot SKU activity monitoring to log messages.

The following messages are logged by the Hot SKU feature:


   Thread-8:2011-06-02 13:50:06,336:INFO   : Turning/retaining Item: 
[Acme:SKUA:EACH:A] into a hot sku as abnormal lock count has increased now 
to:4: YFSAvailHotSKUItem
   
   Thread-7:2011-06-02 16:14:44,871:INFO   : Turning Item: [Acme:SKUA:EACH:A] 
into a cold SKU as total requests in last 2 windows were :2 and 2: 
YFSAvailHotSKUItem
   

In the example above, the inventory item, SKUA, for the Acme organization, with UOM EACH and product class A, was upgraded to Hot SKU status because the Hot SKU feature encountered four abnormal lock attempts in a monitoring period. Later, SKUA was downgraded to normal status when there was only 2 lock requests in the last two monitoring windows.

If you see multiple "turning hot" messages for a particular SKU (for example SKUA in the following example), you ran into a situation where multiple threads tried to lock an inventory item, which was at that time not considered a hot SKU, and was blocked. When those threads eventually get the lock, it prints the message indicating that it encountered an "abnormal" lock and has decided to turn that item hot:


   Thread-8:2011-06-02 13:50:06,336:INFO   : Turning/retaining Item: 
[Acme:SKUA:EACH:A] into a hot sku as abnormal lock count has increased now 
to:4: YFSAvailHotSKUItem
   Thread-10:2011-06-02 13:50:06,417:INFO   : Turning/retaining Item: 
[Acme:SKUA:EACH:A] into a hot sku as abnormal lock count has increased now 
to:5: YFSAvailHotSKUItem
   Thread-7:2011-06-02 13:50:06,423:INFO   : Turning/retaining Item: 
[Acme:SKUA:EACH:A] into a hot sku as abnormal lock count has increased now 
to:6: YFSAvailHotSKUItem

That item was likely successfully converted to a hot SKU if you do not see any more subsequent "turning hot" messages for that item.

On the other hand, if you continue to see "turning hot" messages for the same SKU in the same window, you may have a "Hot" SKU that has low inventory. When a SKU's inventory level is below a safety level, the Hot SKU feature continues to lock that inventory item to calculate the items availability. For more information, see Limitations.