home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 35 Internet
/
35-Internet.zip
/
ircd-hyb.zip
/
README.small_nets
< prev
next >
Wrap
Text File
|
1999-05-26
|
2KB
|
49 lines
On a stand alone server, make sure you #undef all of
NO_CHANOPS_ON_SPLIT, NO_JOIN_ON_SPLIT, PRESERVE_CHANNEL_ON_SPLIT
NO_JOIN_ON_SPLIT_SIMPLE in config.h Otherwise, you will have trouble
with non opered clients gaining ops in new channels.
ircd-hybrid has been primarily geared for EFnet, where 40k clients
is becoming the norm. But for smaller non EFnet nets, thats going
to cost your server memory, because it will be expecting the large numbers
of clients on EFnet that will never happen on a smaller net.
You can easily tune your hybrid to use less memory on startup
by modifying the file "list.c" in src
These comments will be found in list.c
/* Number of Link's to pre-allocate at a time
for Efnet 1000 seems reasonable,
for smaller nets who knows? -Dianora
*/
#define LINK_PREALLOCATE 1024
/* Number of aClient structures to preallocate at a time
for Efnet 1024 is reasonable
for smaller nets who knows? -Dianora
*/
/* This means you call MyMalloc 30 some odd times,
rather than 30k times -Dianora
*/
#define CLIENTS_PREALLOCATE 1024
I suggest you trim these numbers as needed, to fit your estimated
needs. You could use 64 for each for example, on a server that
normally never saw more than 60 people on the entire network.
Keeping it a multiple of 2 is advisable, but not absolutely
necessary. You will just waste a tiny bit of memory in one of the
bit maps.
Other things to reduce, to use less startup memory.
(from flier@globecom.net) All of these are in config.h
- reduce NICKNAMEHISTORYLENGTH from 15000 to say 1000
- reduce MAXSENDQLENGTH from 5050000 to 500000
- reduce INITIAL_DBUFS from 1000 to 300
- Dianora