[Users] LCR db_only mode problem

Juha Heinanen jh at tutpro.com
Tue Dec 26 18:28:01 CET 2006


X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
the error messages you get are coming from this statement:

    if (lcr_dbf.query(dbh, NULL, 0, NULL, lcr_cols, 0, 4, 0, &res) < 0) {
	    LOG(L_ERR, "lcr_reload_gws(): Failed to query lcr data\n");
	    lcr_dbf.close(dbh);
	    return -1;
    }

i don't know which kind of memory db queries reserve.  if shared memory,
you can start openser with larger -m parameter value.  if pkg memory,
you need to edit PKG_MEM_POOL_SIZE in config.h and recompile openser.

with lots of lcr entries and no caching, performance may be bad.
if you use caching then you need to increase value of

#define MAX_NO_OF_LCRS 256

in lcr_mod.c and recompile lcr module.  increasing MAX_NO_OF_LCRS means
that more shared memory will be used so you may also need to start
openser with larger -m parameter value.

-- juha




More information about the sr-users mailing list