/[svn]/branches/newio/include/defaults.h
ViewVC logotype

Diff of /branches/newio/include/defaults.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2423 by michael, Mon Jul 15 19:51:03 2013 UTC revision 2424 by michael, Sun Jul 28 17:18:24 2013 UTC
# Line 89  Line 89 
89  #define MAXCLIENTS_MAX   (hard_fdlimit - LEAKED_FDS - MAX_BUFFER)  #define MAXCLIENTS_MAX   (hard_fdlimit - LEAKED_FDS - MAX_BUFFER)
90  #define MAXCLIENTS_MIN   32  #define MAXCLIENTS_MIN   32
91    
92    /*
93     * Safety margin so we can always have one spare fd, for motd/authd or
94     * whatever else.  -24 allows "safety" margin of 10 listen ports, 8 servers
95     * and space reserved for logfiles, DNS sockets and identd sockets etc.
96     */
97    #define MAXCLIENTS      (MAXCONNECTIONS - 24)
98    
99  /* class {} default values */  /* class {} default values */
100  #define DEFAULT_SENDQ 9000000           /* default max SendQ */  #define DEFAULT_SENDQ 9000000           /* default max SendQ */
101  #define DEFAULT_RECVQ 2560           /* default max RecvQ */  #define DEFAULT_RECVQ 2560           /* default max RecvQ */

Legend:
Removed from v.2423  
changed lines
  Added in v.2424

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28