You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2019/03/26 00:51:36 UTC

[GitHub] [mynewt-core] ccollins476ad opened a new pull request #1723: kernel/os: Optional sanity check for low mbufs

ccollins476ad opened a new pull request #1723: kernel/os: Optional sanity check for low mbufs
URL: https://github.com/apache/mynewt-core/pull/1723
 
 
   This commit adds an additional sanity check.  If an msys pool has a low buffer count for too long, a crash is triggered.  This check is disabled by default.  It can be configured using the following syscfg settings:
   
   ```
   MSYS_1_SANITY_MIN_COUNT:
       description: >
           Trigger a crash if the count of available mbufs in the 1st msys
           pool falls below this minimum for too long.  Set to 0 to disable.
       value: 0
   MSYS_2_SANITY_MIN_COUNT:
       description: >
           Trigger a crash if the count of available mbufs in the 2st msys
           pool falls below this minimum for too long.  Set to 0 to disable.
       value: 0
   MSYS_SANITY_TIMEOUT:
       description: >
           The maximum duration that any msys pool can be low on mbufs before
           a crash is triggered (milliseconds).
       value: 60000
   ```
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services