Changeset 6738a67 for doc/README


Ignore:
Timestamp:
2008-07-16T23:22:52Z (16 years ago)
Author:
Sven Moritz Hallberg <pesco@…>
Branches:
master
Children:
9b55485
Parents:
9730d72 (diff), 6a78c0e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

merge in latest trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/README

    r9730d72 r6738a67  
    4141by default) and chown it to the UID BitlBee is running as. Make sure this
    4242directory is read-/writable by this user only.
     43
     44--- (Fork)Daemon mode
     45
     46If you don't want to run any inetd daemon, you can run BitlBee in Daemon
     47mode. Right now, daemon mode may be a bad idea on servers with multiple
     48users, since possible fatal BitlBee bugs will crash the BitlBee process and
     49disconnect all connected users at once. Instead, you can use ForkDaemon
     50mode, which serves every user from a separate process, without depending on
     51an inetd daemon.
     52
     53To use BitlBee in daemon mode, just start it with the right flags or enable
     54it in bitlbee.conf. You probably want to write an init script to start
     55BitlBee automatically after a reboot. (This is where you realise using
     56a package from your distro would've been a better idea. :-P)
     57
     58Note that the BitlBee code is getting stable enough for daemon mode to be
     59useful. Some public servers use it, and it saves a lot of memory by serving
     60tens of users from a single process. One crash affects all users, but these
     61are becoming quite rare.
    4362
    4463
     
    88107versions of make, we'd love to hear it, but it seems this just isn't
    89108possible.
    90 
    91 
    92 RUNNING ON SERVERS WITH MANY USERS
    93 ==================================
    94 
    95 BitlBee is not yet bug-free. Sometimes a bug causes the program to get into
    96 an infinite loop. Something you really don't want on a public server,
    97 especially when that machine is also used for other (mission-critical) things.
    98 For now we can't do much about it. We haven't seen that happen for a long
    99 time already on our own machines, but some people still manage to get
    100 themselves in nasty situations we haven't seen before.
    101 
    102 For now the best we can offer against this problem is bitlbeed, which allows
    103 you to setrlimit() the child processes to use no more than a specified
    104 number of CPU seconds. Not the best solution (not really a solution anyway),
    105 but certainly trashing one busy daemon process is better than trashing your
    106 whole machine.
    107 
    108 We don't believe adding a limit for bitlbee to /etc/security/limits.conf will
    109 work, because that file is only read by PAM (ie just for real login users,
    110 not daemons).
    111 
    112 See utils/bitlbeed.c for more information about the program.
    113 
    114 Just a little note: Now that we reach version 1.0, this shouldn't be that
    115 much of an issue anymore. However, on a public server, especially if you
    116 also use it for other things, it can't hurt to protect yourself against
    117 possible problems.
    118109
    119110
Note: See TracChangeset for help on using the changeset viewer.