Menu

#2465 Two fixes for sfcb-ps test script

Test
pending-fixed
sfcb (1090)
none
5
2013-03-07
2012-05-26
Dave Heller
No

1. The "sfcb-ps" test script identifies SFCB processes by grepping through ps output for entries with 'sfcbd'. This is not ideal but is fast and simple. The detection is improved slightly by appending the regex boundary character '\b' to the search string. This avoids misidentification of processes that do not belong to SFCB but have these chars in their executable name.

2. In embedded environments, under heavy load with parallel client requests, there can be a transient period where a socket inode number is reported as zero in /proc/net/tcp or /proc/net/tcp6. This fouls sfcb-ps' detection of "Http Daemon" and "Http Request Handler" processes and causes other SFCB processes to be misidentifed as one of these. The patch is to discard any inode with value of 0.

Discussion

  • Dave Heller

    Dave Heller - 2012-05-26

    patch for SFCB 1.4

     
  • Dave Heller

    Dave Heller - 2012-05-26
    • status: open --> pending
     
  • Dave Heller

    Dave Heller - 2012-05-26

    committed to git master

     
  • Dave Heller

    Dave Heller - 2013-03-07
    • status: pending --> pending-fixed
    • component: --> none
     

Log in to post a comment.