Are limitations of select() hurting us?
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
Research direction
Start with the linked Linux select(2) documentation, then inspect RPostgres for any use of select() in connection or event-waiting paths. Done means confirming whether the FD_SETSIZE limitation affects this project and recording a clear conclusion with any needed follow-up.
Written by the indexing model from the issue text.
Description
@zozlak: In https://man7.org/linux/man-pages/man2/select.2.html I read:
WARNING: select() can monitor only file descriptors numbers that
are less than FD_SETSIZE (1024)—an unreasonably low limit for
many modern applications—and this limitation will not change.
All modern applications should instead use poll(2) or epoll(7),
which do not suffer this limitation.
Are we affected here?
- Dominant language
- R
- Stars
- 344
- Forks
- 81
- Avg merge
- 10h 7m
- Merged PRs (30d)
- 13
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from r-dbi/RPostgres
-
Expose SQLSTATE (and other diagnostic fields) on error conditionsPossibly taken @schochastics claimed this 127 days ago. Open
Difficulty 4/5 3-5 days Newbie friendliness 52/100
r-dbi/RPostgres#579 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
Maintainers usually reply within 1 day
-
Align `postgresDefault()` with other Postgres librariesPossibly taken @krlmlr claimed this 236 days ago. Open
r-dbi/RPostgres#552 · 1 reaction · 2 assignees ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
Maintainers usually reply within 1 day
-
pgpass not used?Open
Difficulty 4/5 3-5 days Newbie friendliness 30/100
r-dbi/RPostgres#527 · 1 comment ·
Maintainers usually reply within 1 day
Similar issues
-
bug new windows
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Python can't be used from R for Windows on ARM64 because the architecture check returns "Unknown"Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
rstudio/reticulate#1934 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
NEWS for the 1.1.0 release: rename the development header and add the missing bulletsPossibly taken @comfy96 claimed this 1 day ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
montilab/SigRepo#270 · 1 comment ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 65/100