[OpenSIPS-Users] strange memory error when starting up opensips

Bogdan-Andrei Iancu bogdan at voice-system.ro
Fri Dec 5 09:39:06 CET 2008


Hi Juan,

try setting the fetch_rows to a smaller value (default is 3000):
    http://www.opensips.org/html/docs/modules/1.4.x/usrloc.html#id2520113
setting to 1500, as the private memory you have is not enough for 
loading 3000 rows.

Regards,
Bogdan

Juan Backson wrote:
> Hi,
>
> I am getting some strange error when starting Opensips and it looks 
> like the error is Memory-related.  Does anyone know what is wrong?  
> Opensips is not processing any rquests...
>
>
> Dec  5 14:54:46 [29175] WARNING:core:main: no fork mode  and more than 
> one listen address found(will use only the first one)
> Dec  5 14:54:46 [29175] INFO:core:init_tcp: using epoll_lt as the TCP 
> io watch method (auto detected)
> Dec  5 14:54:46 [29175] NOTICE:core:main: version: opensips 
> 1.4.1-notls (x86_64/linux)
> Dec  5 14:54:46 [29175] INFO:core:main: using 32 Mb shared memory
> Dec  5 14:54:46 [29175] INFO:core:main: using 1 Mb private memory per 
> process
> Dec  5 14:54:46 [29175] INFO:sl:mod_init: Initializing StateLess engine
> Dec  5 14:54:46 [29175] INFO:tm:mod_init: TM - initializing...
> Dec  5 14:54:46 [29175] INFO:maxfwd:mod_init: initializing...
> Dec  5 14:54:46 [29175] INFO:usrloc:ul_init_locks: locks array size 512
> Dec  5 14:54:46 [29175] INFO:registrar:mod_init: initializing...
> Dec  5 14:54:46 [29175] INFO:textops:mod_init: initializing...
> Dec  5 14:54:46 [29175] INFO:xlog:mod_init: initializing...
> Dec  5 14:54:46 [29175] WARNING:permissions:parse_config_file: file 
> not found: /var/app/config/permissions.allow
> Dec  5 14:54:46 [29175] WARNING:permissions:mod_init: default allow 
> file (/var/app/config/permissions.allow) not found => empty rule set
> Dec  5 14:54:46 [29175] WARNING:permissions:parse_config_file: file 
> not found: /var/app/config/permissions.deny
> Dec  5 14:54:46 [29175] WARNING:permissions:mod_init: default deny 
> file (/var/app/config/permissions.deny) not found => empty rule set
> Dec  5 14:54:46 [29175] INFO:auth:mod_init: initializing...
> Dec  5 14:54:46 [29175] INFO:auth_db:mod_init: initializing...
> Dec  5 14:54:46 [29175] INFO:core:probe_max_receive_buffer: using a 
> UDP receive buffer of 255 kb
> Dec  5 14:54:46 [29175] WARNING:core:main_loop: using only the first 
> listen address (no fork)
> Dec  5 14:54:46 [29175] ERROR:db_mysql:db_mysql_convert_row: no 
> private memory left
> Dec  5 14:54:46 [29175] ERROR:db_mysql:db_mysql_fetch_result: error 
> while converting row #1935
> Dec  5 14:54:46 [29175] ERROR:usrloc:preload_udomain: fetching rows failed
> Dec  5 14:54:46 [29175] ERROR:usrloc:child_init: child(1): failed to 
> preload domain 'location'
> Dec  5 14:54:46 [29175] ERROR:core:init_mod_child: failed to 
> initializing module usrloc, rank 1
> Dec  5 14:54:46 [29175] ERROR:core:main_loop: init_child failed in 
> don't fork
> Dec  5 14:54:46 [29185] INFO:core:sig_usr: signal 15 received
> Dec  5 14:54:46 [29175] INFO:core:handle_sigs: child process 29185 
> exited normally, status=0
> Dec  5 14:54:46 [29175] INFO:core:handle_sigs: terminating due to SIGCHLD
> Dec  5 14:54:46 [29186] INFO:core:sig_usr: signal 15 received
> Dec  5 14:54:46 [29175] ERROR:core:pool_remove: weird, connection not 
> found in the pool
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>   




More information about the Users mailing list