Project

General

Profile

Actions

Bug #1603

closed

1.5-svn - server.c - fdevent_init max_fds set to 4096 instead of srv->max_fds

Added by complexero almost 17 years ago. Updated almost 17 years ago.

Status:
Fixed
Priority:
Normal
Category:
core
Target version:
ASK QUESTIONS IN Forums:

Description

I tried digging thru the various changesets for this line to see why the '''srv->max_fds''' was commented out in the trunk version (1.5). I checked the 1.4.x branch and that is still in place.

Can anyone shed some light as to why this was changed in the 1.5 version to 4096?

Does this limit the amount of traffic under load?

Maybe this was just missed when moved over from the 1.4.x branch.

http://trac.lighttpd.net/trac/browser/trunk/src/server.c?rev=2110


1612         if (NULL == (srv->ev = fdevent_init(/*srv->max_fds + 1*/ 4096, srv->event_handler))) { 
1613                 log_error_write(srv, __FILE__, __LINE__, 
1614                                 "s", "fdevent_init failed"); 
1615                 return -1; 
1616         } 

Actions #1

Updated by stbuehler almost 17 years ago

  • Status changed from New to Fixed
  • Resolution set to fixed

Fixed in r2132.

Actions

Also available in: Atom