Changeset 619

Show
Ignore:
Timestamp:
07/04/08 02:03:42 (7 weeks ago)
Author:
markdoliner
Message:

Hopefully make the documentation for max_fds more clear for people who
aren't programmers and aren't familiar with how jabberd works.

Location:
trunk/etc
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/etc/c2s.xml.dist.in

    r539 r619  
    174174  <!-- Input/output settings --> 
    175175  <io> 
    176     <!-- Maximum number of file descriptors. Note that the number of 
    177          possible connections will be slightly less than this, because 
    178          c2s itself can use up five on its own, and auth/reg modules may 
    179          need a few also. If the supply of file descriptors is 
    180          exhausted, new incoming connections will be denied. 
     176    <!-- Maximum number of file descriptors. This value sets an upper 
     177         limit on the number of users who may be logged in to this 
     178         server at a given time. Each user consumers one file 
     179         descriptor. 
     180 
     181         Note that the number of possible connections will be slightly 
     182         less than this, because c2s itself can use up five on its own, 
     183         and auth/reg modules may need a few also. If the supply of 
     184         file descriptors is exhausted, new incoming connections will 
     185         be denied. 
     186 
     187         Also note that this value only affects how many file descriptors 
     188         jabberd is able to handle internally. You may also need to 
     189         tell your operating system to allow jabberd to use more file 
     190         descriptors. On Linux this can be done using ulimit -n or by 
     191         changing the value of /proc/sys/fd/file-max. 
     192 
    181193         (default: 1024) --> 
    182194    <max_fds>1024</max_fds> 
  • trunk/etc/router.xml.dist.in

    r591 r619  
    8282         the router itself can use up four on its own. If the supply of 
    8383         file descriptors is exhausted, new incoming connections will be 
    84          denied (default: 1024) --> 
     84         denied. 
     85 
     86         These file descriptors are really only used when a component 
     87         connects to the router. So unless you have a lot of components 
     88         for some reason then you probably don't need to change this 
     89         value. 
     90 
     91         (default: 1024) --> 
    8592    <max_fds>1024</max_fds> 
    8693 
  • trunk/etc/s2s.xml.dist.in

    r580 r619  
    122122         s2s itself can use some on its own. If the supply of file 
    123123         descriptors is exhausted, new incoming connections will be 
    124          denied (default: 1024) --> 
     124         denied. 
     125 
     126         These connections are mainly consumed when we make a 
     127         connection to an external jabber server, or an external jabber 
     128         server connects to us. If you don't have a lot of users then 
     129         there's probably no need for s2s to establish connections to 
     130         external jabber servers and the default value here is probably 
     131         fine. On the other hand, if you have lots of users with lots 
     132         of remote buddies in their buddylist then s2s will need to have 
     133         lots of open connections with other jabber servers and you may 
     134         need to increase this value. 
     135 
     136         Note that this value only affects how many file descriptors 
     137         jabberd is able to handle internally. You may also need to 
     138         tell your operating system to allow jabberd to use more file 
     139         descriptors. On Linux this can be done using ulimit -n or by 
     140         changing the value of /proc/sys/fd/file-max. 
     141 
     142         (default: 1024) --> 
    125143    <max_fds>1024</max_fds> 
    126144