Changeset 6738a67 for doc/README
- Timestamp:
- 2008-07-16T23:22:52Z (16 years ago)
- 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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/README
r9730d72 r6738a67 41 41 by default) and chown it to the UID BitlBee is running as. Make sure this 42 42 directory is read-/writable by this user only. 43 44 --- (Fork)Daemon mode 45 46 If you don't want to run any inetd daemon, you can run BitlBee in Daemon 47 mode. Right now, daemon mode may be a bad idea on servers with multiple 48 users, since possible fatal BitlBee bugs will crash the BitlBee process and 49 disconnect all connected users at once. Instead, you can use ForkDaemon 50 mode, which serves every user from a separate process, without depending on 51 an inetd daemon. 52 53 To use BitlBee in daemon mode, just start it with the right flags or enable 54 it in bitlbee.conf. You probably want to write an init script to start 55 BitlBee automatically after a reboot. (This is where you realise using 56 a package from your distro would've been a better idea. :-P) 57 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. 43 62 44 63 … … 88 107 versions of make, we'd love to hear it, but it seems this just isn't 89 108 possible. 90 91 92 RUNNING ON SERVERS WITH MANY USERS93 ==================================94 95 BitlBee is not yet bug-free. Sometimes a bug causes the program to get into96 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 long99 time already on our own machines, but some people still manage to get100 themselves in nasty situations we haven't seen before.101 102 For now the best we can offer against this problem is bitlbeed, which allows103 you to setrlimit() the child processes to use no more than a specified104 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 your106 whole machine.107 108 We don't believe adding a limit for bitlbee to /etc/security/limits.conf will109 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 that115 much of an issue anymore. However, on a public server, especially if you116 also use it for other things, it can't hurt to protect yourself against117 possible problems.118 109 119 110
Note: See TracChangeset
for help on using the changeset viewer.