Hi Bogdan, For the lcr module I did a reload implementation that is allowing regexp to be used. After a reload is performed, each worker process is detecting the new regex on the first invocation of a method/function that will need to use the regex. The first SIP request on each process that will need to use the regex after a reload/change is done, will take the additional load of compiling the new regex in private memory. Please check load_from_uri_regex() method and the conditional invocation of it on the lcr module: do_load_gws().
Regards, Ovidiu Sas On Nov 28, 2007 3:27 AM, Bogdan-Andrei Iancu <[EMAIL PROTECTED]> wrote: > Hi Helmut, > > No, there is no way to reload the regexp without restarting - the main > stopper for doing this is the fact you need to compile the regexp > (before using) in private memory (per process) - and the reload is done > from an additional process (MI). > > Regards, > Bogdan > > > Helmut Kuper wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > Hi again, > > > > ok, found it. Due to DB caching my changes to regexps in DB are only > > loaded at startup .... > > > > > > Is the a way to reload the regexps without restarting openser ? > > > > regards > > helmut > > > > > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.4.5 (MingW32) > > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > > > iD8DBQFHTG0J4tZeNddg3dwRAk2DAKDAtZh/XhtK2D0AXhBz1nFBHdJlIACeK3YK > > w67ssoiugF3SuYFt6ffkJmY= > > =YLF/ > > -----END PGP SIGNATURE----- > > > > _______________________________________________ > > Users mailing list > > [email protected] > > http://lists.openser.org/cgi-bin/mailman/listinfo/users > > > > > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.openser.org/cgi-bin/mailman/listinfo/users > _______________________________________________ Users mailing list [email protected] http://lists.openser.org/cgi-bin/mailman/listinfo/users
