• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tarantool / tarantool / 9616944177
88%

Build:
DEFAULT BRANCH: master
Ran 21 Jun 2024 04:50PM UTC
Jobs 1
Files 513
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

21 Jun 2024 04:40PM UTC coverage: 87.103% (+0.001%) from 87.102%
9616944177

push

github

Gerold103
sio: use kern.ipc.somaxconn for listen() on Mac

listen() on Mac used to take SOMAXCONN as the backlog size. It is
just 128, which is too small when connections are incoming too
fast. They get rejected.

Increase of the queue size wasn't possible, because the limit was
hardcoded. But now sio takes the runtime limit from
kern.ipc.somaxconn sysctl setting.

One weird thing is that when set too high, it seems to have no
effect, like if nothing was changed. Specifically, values above
32767 are not doing anything, even though stay visible in
kern.ipc.somaxconn.

It seems listen() on Mac internally might be using 'short' or
int16_t to store the queue size and it gets broken when anything
above INT16_MAX is used. The code truncates the queue size to this
value if the given one is too high.

Closes #8130

NO_DOC=bugfix
NO_TEST=requires root privileges for testing

67712 of 120805 branches covered (56.05%)

100436 of 115307 relevant lines covered (87.1%)

2601509.58 hits per line

Jobs
ID Job ID Ran Files Coverage
1 9616944177.1 21 Jun 2024 04:50PM UTC 0
87.1
GitHub Action Run
Source Files on build 9616944177
Detailed source file information is not available for this build.
  • Back to Repo
  • 7e9a872f on github
  • Prev Build on master (#9610842961)
  • Next Build on master (#9644167304)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc