Details
-
Bug
-
Resolution: Fixed
-
Critical
-
2.2.0, 2.3.0
-
Security Level: Public
-
no relation with os env
Description
The fd_set struct related definition (e.g. fd_set readfds[FD_SETSIZE]; ) in "plugins\io\select\plugin-select.c" should be only one item, not array, like: fd_set readfds. Because fd_set has been a set array.
In our os env, FD_SETSIZE is 51200, which means "readfds[FD_SETSIZE]" will consume very large memory.
Attachments
Gerrit Reviews
For Gerrit Dashboard: CCBC-407 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
36758,2 | CCBC-407: Increase performance on select | master | libcouchbase | Status: MERGED | +2 | +1 |
37388,10 | CCBC-407: Increase performance on select | packet-ng | libcouchbase | Status: MERGED | +2 | +1 |