# kamailio -h
version: kamailio 1.4.1-notls (i386/linux)
Usage: kamailio -l address [-l address ...] [options]
Options:
-f file Configuration file (default
/usr/local/etc/kamailio/kamailio.cfg)
-c Check configuration file for errors
-C Similar to '-c' but in addition checks the flags of exported
functions from included route blocks
-l address Listen on the specified address/interface (multiple -l
mean listening on more addresses). The address format is
[proto:]addr[:port], where proto=udp|tcp and
addr= host|ip_address|interface_name. E.g: -l locahost,
-l udp:127.0.0.1:5080, -l eth0:5062 The default behavior
is to listen on all the interfaces.
-n processes Number of child processes to fork per interface
(default: 8)
-r Use dns to check if is necessary to add a "received="
field to a via
-R Same as `-r` but use reverse dns;
(to use both use `-rR`)
-v Turn on "via:" host checking when forwarding replies
-d Debugging mode (multiple -d increase the level)
-D Do not fork into daemon mode
-E Log to stderr
-T Disable tcp
-N processes Number of tcp child processes (default: equal to `-n`)
-W method poll method
-V Version number
-h This help message
-b nr Maximum receive buffer size which will not be exceeded by
auto-probing procedure even if OS allows
-m nr Size of shared memory allocated in Megabytes
-w dir Change the working directory to "dir" (default "/")
-t dir Chroot to "dir"
-u uid Change uid
-g gid Change gid
-P file Create a pid file
-G file Create a pgid file
#
<shared memory >
-m nr Size of shared memory allocated in Megabytes
<shared memory />
On Wed, Oct 15, 2008 at 1:42 PM, Pablo Bertuzzi
<pablo_bertuzzi(a)yahoo.com> wrote:
Hi Forum, kamailio failed to start I believe due to a
large carrierrote
table (50K prefixes).
Kamailio version is 1.4.1, OS is debian, physical memory installed is 4Gb.
How can I change the size?
Oct 14 15:01:18 sip-proxy /usr/local/sbin/kamailio[3541]:
INFO:carrierroute:get_route_tree: found domain 0
Oct 14 15:01:18 sip-proxy /usr/local/sbin/kamailio[3541]:
INFO:carrierroute:add_route: found route, now adding
Oct 14 15:01:18 sip-proxy /usr/local/sbin/kamailio[3541]:
ERROR:carrierroute:add_route_rule: out of shared memory
Oct 14 15:01:18 sip-proxy /usr/local/sbin/kamailio[3541]:
ERROR:carrierroute:prepare_route_tree: could not load routing data
Oct 14 15:01:18 sip-proxy /usr/local/sbin/kamailio[3541]:
ERROR:carrierroute:mod_init: could not prepare route tree
Oct 14 15:01:18 sip-proxy /usr/local/sbin/kamailio[3541]:
ERROR:core:init_mod: failed to initialize module carrierroute
Oct 14 15:01:18 sip-proxy /usr/local/sbin/kamailio[3541]: ERROR:core:main:
error while initializing modules
_______________________________________________
Users mailing list
Users(a)lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users