View Issue Details

IDProjectCategoryView StatusLast Update
0004130unrealircdpublic2012-11-12 18:40
ReporternenolodAssigned To 
PrioritynormalSeverityminorReproducibilityN/A
Status closedResolutionfixed 
Summary0004130: FD_SETSIZE / MAXCONNECTIONS / MAXCLIENTS
DescriptionWe should set up FD_SETSIZE to match MAXCONNECTIONS + 10 (for overhead, curl, c-ares, etc).
3rd party modules

Activities

syzop

2012-10-15 15:05

administrator   ~0017164

- Disable USE_POLL on Windows, since it doesn't work with XP and has
  no advantage anyway. Reported by nenolod (0004129).
Done. It didn't compile anyway (don't care right now either ;p).

As for your 2nd request:
[quote]While there, we should set up FD_SETSIZE to match MAXCONNECTIONS + 10 (for overhead, curl, c-ares, etc).[/quote]
Do you mean for Windows? I guess not, since on Windows FD_SETSIZE is already 16k. Also MAXCONNECTIONS is 4096 on windows so I doubt the 10 matters much.
Or on *NIX? But on *NIX we always use poll now (not to mention FD_SETSIZE setting is unused on f.e. Liux), so the FD_SETSIZE shouldn't matter anymore.

Another note: see MAXCLIENTS, which is used to limit the # of clients with a slightly lower value than MAXCONNECTIONS. It's currently -4.

In any case, not urgent for 3.2.10.

nenolod

2012-10-26 08:42

reporter   ~0017203

i think that we can close this out since there's the other bug for the new i/o subsystem (post 3.2.10)

nenolod

2012-11-12 18:40

reporter   ~0017229

I am marking this as closed because on Windows it doesn't matter, and post 3.2.10 we have evented I/O anyway.

Issue History

Date Modified Username Field Change
2012-10-15 15:05 syzop New Issue
2012-10-15 15:05 syzop Issue generated from: 0004129
2012-10-15 15:07 syzop Reporter syzop => nenolod
2012-10-15 15:07 syzop Summary Windows builds shouldn't use USE_POLL => FD_SETSIZE / MAXCONNECTIONS / MAXCLIENTS
2012-10-15 15:07 syzop Description Updated
2012-10-15 15:07 syzop Description Updated
2012-10-16 10:59 syzop Priority high => normal
2012-10-26 08:42 nenolod Note Added: 0017203
2012-11-12 18:40 nenolod Note Added: 0017229
2012-11-12 18:40 nenolod Status new => closed
2012-11-12 18:40 nenolod Resolution open => fixed