Hi!
I'm using ser 0.8.10 with mysql on RedHat 8.1. For some loadtests I generated 10000 REGISTERs with sipsak. Worked fine. I stopped ser and tried to restart it. During that I found out that ser won't start if more than ~6000 entries are in the location table of mysql. The start script says "OK", but a "ps aux" afterwards shows that no ser process is running. A look into /var/log/messages shows nothing (debug level set to 9). After reducing the number of entries with the mysql command client to <6000 ser will start up and copy the entries to its memory, as 'serctl monitor' shows. Am I missing something?
Best regards, Volker
Hello,
there is a shortcoming in SER -- it tries to preload all contacts in private memory during boot-up before placing them in shared memory in a single batch.
A workaround for now is increase the private memory limit. Edit file config.h and set PKG_MEM_POOL_SIZE to higher value (it is in bytes) and recompile ser.
We will introduce incremental loading later.
-Jiri
At 08:36 AM 7/7/2003, Volker Voigt wrote:
Hi!
I'm using ser 0.8.10 with mysql on RedHat 8.1. For some loadtests I generated 10000 REGISTERs with sipsak. Worked fine. I stopped ser and tried to restart it. During that I found out that ser won't start if more than ~6000 entries are in the location table of mysql. The start script says "OK", but a "ps aux" afterwards shows that no ser process is running. A look into /var/log/messages shows nothing (debug level set to 9). After reducing the number of entries with the mysql command client to <6000 ser will start up and copy the entries to its memory, as 'serctl monitor' shows. Am I missing something?
Best regards, Volker
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
-- Jiri Kuthan http://iptel.org/~jiri/
Hi Jiri!
Thanks a lot. Works fine now after I increased the defined value in config.h .
Best regards, Volker
-----Original Message----- From: Jiri Kuthan [mailto:jiri@iptel.org] Sent: Montag, 7. Juli 2003 10:40 To: Volker Voigt; serusers@lists.iptel.org Subject: Re: [Serusers] restart problems with 0.8.10 and >6000 locations
Hello,
there is a shortcoming in SER -- it tries to preload all contacts in private memory during boot-up before placing them in shared memory in a single batch.
A workaround for now is increase the private memory limit. Edit file config.h and set PKG_MEM_POOL_SIZE to higher value (it is in bytes) and recompile ser.
We will introduce incremental loading later.
-Jiri
At 08:36 AM 7/7/2003, Volker Voigt wrote:
Hi!
I'm using ser 0.8.10 with mysql on RedHat 8.1. For some loadtests I generated 10000 REGISTERs with sipsak. Worked fine. I stopped
ser and tried
to restart it. During that I found out that ser won't start if more than ~6000 entries are in the location table of mysql. The start script says "OK", but a "ps aux" afterwards shows that no ser process is
running. A look
into /var/log/messages shows nothing (debug level set to 9).
After reducing
the number of entries with the mysql command client to <6000 ser
will start
up and copy the entries to its memory, as 'serctl monitor' shows. Am I missing something?
Best regards, Volker
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
-- Jiri Kuthan http://iptel.org/~jiri/