Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/README

    rde8e584 red3ae7e  
    5656a package from your distro would've been a better idea. :-P)
    5757
    58 Note that the BitlBee code is getting stable enough for daemon mode to be
    59 useful. Some public servers use it, and it saves a lot of memory by serving
    60 tens of users from a single process. One crash affects all users, but these
    61 are becoming quite rare.
    62 
    6358
    6459DEPENDENCIES
     
    10398versions of make, we'd love to hear it, but it seems this just isn't
    10499possible.
     100
     101
     102RUNNING ON SERVERS WITH MANY USERS
     103==================================
     104
     105BitlBee is not yet bug-free. Sometimes a bug causes the program to get into
     106an infinite loop. Something you really don't want on a public server,
     107especially when that machine is also used for other (mission-critical) things.
     108For now we can't do much about it. We haven't seen that happen for a long
     109time already on our own machines, but some people still manage to get
     110themselves in nasty situations we haven't seen before.
     111
     112For now the best we can offer against this problem is bitlbeed, which allows
     113you to setrlimit() the child processes to use no more than a specified
     114number of CPU seconds. Not the best solution (not really a solution anyway),
     115but certainly trashing one busy daemon process is better than trashing your
     116whole machine.
     117
     118We don't believe adding a limit for bitlbee to /etc/security/limits.conf will
     119work, because that file is only read by PAM (ie just for real login users,
     120not daemons).
     121
     122See utils/bitlbeed.c for more information about the program.
     123
     124Just a little note: Now that we reach version 1.0, this shouldn't be that
     125much of an issue anymore. However, on a public server, especially if you
     126also use it for other things, it can't hurt to protect yourself against
     127possible problems.
    105128
    106129
Note: See TracChangeset for help on using the changeset viewer.