Hello all,
I have done some modification in my ser.cfg. And when I decided to restart, it failed.
Here the output from "messages" :
Sep 3 06:44:57 solo /usr/local/sbin/ser[23168]: Maxfwd module- initializing Sep 3 06:44:58 solo /usr/local/sbin/ser[23168]: permissions - initializing Sep 3 06:44:58 solo /usr/local/sbin/ser[23168]: Default allow file (/usr/local/etc/ser/permissions.allow) not found => empty rule set Sep 3 06:44:58 solo /usr/local/sbin/ser[23168]: Default deny file (/usr/local/etc/ser/permissions.deny) not found => empty rule set Sep 3 06:44:58 solo /usr/local/sbin/ser[23168]: AVPops - initializing Sep 3 06:44:58 solo /usr/local/sbin/ser[23168]: CHECK_UA - initializing Sep 3 06:44:58 solo /usr/local/sbin/ser[23168]: convert_row(): No memory left Sep 3 06:44:58 solo /usr/local/sbin/ser[23168]: convert_rows(): Error while converting row #4207 Sep 3 06:44:58 solo /usr/local/sbin/ser[23168]: convert_result(): Error while converting rows Sep 3 06:44:58 solo /usr/local/sbin/ser[23168]: store_result(): Error while converting result Sep 3 06:44:58 solo /usr/local/sbin/ser[23168]: preload_udomain(): Error while doing db_query Sep 3 06:44:58 solo /usr/local/sbin/ser[23168]: register_udomain(): Error while preloading domain 'location' Sep 3 06:44:58 solo /usr/local/sbin/ser[23168]: domain_fixup(): Error while registering domain Sep 3 06:44:58 solo /usr/local/sbin/ser[23168]: ERROR: fix_expr : fix_actions error Sep 3 06:44:58 solo /usr/local/sbin/ser[23168]: CHECK_UA - destroing module
I had thinking that my modification were bad, so I leaved them. But SER failed again with the same output.
I put some comments before the lines which used "check_ua" module, and then it worked ! I had never experience a problem with "check_ua" before that.
Can someone help me to understand why it failed ?
Hello,
Following our migration to SER 0.9.8, we have experienced the same problem (as describing below) when we wanted to restart SER.
I read about this problem that it should be necessary to modify the parameter PKG_MEM_POOL_SIZE for allocate more memory for each process.
What's the recommandation for memory allocation to be able to load location table in memory without have need to truncate the table ?
Regards,
Adrien
Le jeudi 03 septembre 2009 à 15:04 +0200, inge a écrit :
Hello all,
I have done some modification in my ser.cfg. And when I decided to restart, it failed.
Here the output from "messages" :
Sep 3 06:44:57 solo /usr/local/sbin/ser[23168]: Maxfwd module- initializing Sep 3 06:44:58 solo /usr/local/sbin/ser[23168]: permissions - initializing Sep 3 06:44:58 solo /usr/local/sbin/ser[23168]: Default allow file (/usr/local/etc/ser/permissions.allow) not found => empty rule set Sep 3 06:44:58 solo /usr/local/sbin/ser[23168]: Default deny file (/usr/local/etc/ser/permissions.deny) not found => empty rule set Sep 3 06:44:58 solo /usr/local/sbin/ser[23168]: AVPops - initializing Sep 3 06:44:58 solo /usr/local/sbin/ser[23168]: CHECK_UA - initializing Sep 3 06:44:58 solo /usr/local/sbin/ser[23168]: convert_row(): No memory left Sep 3 06:44:58 solo /usr/local/sbin/ser[23168]: convert_rows(): Error while converting row #4207 Sep 3 06:44:58 solo /usr/local/sbin/ser[23168]: convert_result(): Error while converting rows Sep 3 06:44:58 solo /usr/local/sbin/ser[23168]: store_result(): Error while converting result Sep 3 06:44:58 solo /usr/local/sbin/ser[23168]: preload_udomain(): Error while doing db_query Sep 3 06:44:58 solo /usr/local/sbin/ser[23168]: register_udomain(): Error while preloading domain 'location' Sep 3 06:44:58 solo /usr/local/sbin/ser[23168]: domain_fixup(): Error while registering domain Sep 3 06:44:58 solo /usr/local/sbin/ser[23168]: ERROR: fix_expr : fix_actions error Sep 3 06:44:58 solo /usr/local/sbin/ser[23168]: CHECK_UA - destroing module
I had thinking that my modification were bad, so I leaved them. But SER failed again with the same output.
I put some comments before the lines which used "check_ua" module, and then it worked ! I had never experience a problem with "check_ua" before that.
Can someone help me to understand why it failed ?
sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
On Sep 25, 2009 at 12:26, inge inge@legos.fr wrote:
Hello,
Following our migration to SER 0.9.8, we have experienced the same problem (as describing below) when we wanted to restart SER.
I read about this problem that it should be necessary to modify the parameter PKG_MEM_POOL_SIZE for allocate more memory for each process.
What's the recommandation for memory allocation to be able to load location table in memory without have need to truncate the table ?
Try at least 4 Mb (but you could try much more, if it's too much and it won't be used it will have almost no impact on the "real" memory used). IIRC the problem appeared only at startup when the location data is preloaded in memory. The final destination is the shared memory, but there is a startup db query with temporarily stores the whole location in pkg_mem and this fails if more memory then PKG_MEM_POOL_SIZE is needed for it.
Andrei