Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#2464 httpProcs limit can be broken

Stability
pending-fixed
sfcb (1090)
5
2012-05-25
2012-05-25
Chris Buccella
No

The process limit in SFCB is controlled via semaphores. However, the return codes from the semop() calls are not checked. With many inbound requests, it is likely that a blocking semop() call will be interrupted (probably from a SIGCHILD of a previous request). The interrupt causes semop() to return, allowing excess processes to be created instead of waiting their turn.

Discussion

  • Chris Buccella
    Chris Buccella
    2012-05-25

    This is LTC#81750

     
  • Chris Buccella
    Chris Buccella
    2012-05-25

    • status: open --> pending-fixed
     
  • Chris Buccella
    Chris Buccella
    2012-05-25

    committed to CVS HEAD and git master