[OpenSER-Users] Calls Not Completed
Norman Brandinger
norm at goes.com
Mon Aug 20 22:44:50 CEST 2007
Hi Gerson,
#
# The children parameter specifies how many copies of OPENSER processes
should
# be started for each supported protocol and interface. Default is 8 copies
# per interface for both TCP and UDP.
#
children=8
Depending on your configuration, OpenSER will open a variable number of
connections with the back end database. Many of the optional modules
you can load will interact with the back end database (usually specified
with the db_url parameter). These modules will generally open one or
more connections.
There is support within OpenSER for database connection reuse and/or
connection pooling to reduce the total number of connections are used.
It is up to the particular optional module to close its connection so
that it can be reused when it's done with it (but this particular
subject belongs more on the developers list than here).
So, the short answer to your question is that the number of connections
is dependent on your configuration which includes the loaded optional
modules as well as the number of children started.
Regards,
Norm
Gerson Matiolli wrote:
> Change max_connections= 450 to obtain to place children=100
>
> This is correct ?
>
> It is is the relation?
>
> With 400 users how much is the ideal for children?
>
>
> Mon, 20 Aug 2007 13:33:49 -0400, Norman Brandinger <norm at goes.com> escreveu:
>
>
>> The following message may be related to the MySQL connections being too few.
>>
>> Aug 20 11:09:55 localhost openser[21667]: new_connection: Too many connections
>>
>> Try updating your my.cnf file with an increased max_connections value,
>> for example:
>>
>> [mysqld]
>> max_connections = 100
>>
>> Regards,
>> Norm
>>
>> Gerson Matiolli wrote:
>>
>>> Hi
>>>
>>> Ny log
>>>
>>> Aug 20 11:09:55 localhost openser[21525]: AUTH module - initializing
>>> Aug 20 11:09:55 localhost openser[21525]: AUTH_DB module - initializing
>>> Aug 20 11:09:55 localhost openser[21525]: ACC - initializing
>>> Aug 20 11:09:55 localhost openser[21525]: EXEC - initializing
>>> Aug 20 11:09:55 localhost openser[21525]: AVPops - initializing
>>> Aug 20 11:09:55 localhost openser[21525]: INFO: udp_init: SO_RCVBUF is initially 109568
>>> Aug 20 11:09:55 localhost openser[21525]: INFO: udp_init: SO_RCVBUF is finally 262142
>>> Aug 20 11:09:55 localhost openser[21526]: INFO:mi_fifo:mi_child_init(1): extra fifo listener processes created
>>> Aug 20 11:09:55 localhost openser[21667]: new_connection: Too many connections
>>> Aug 20 11:09:55 localhost openser[21667]: auth_db:child_init: unable to connect to the database
>>> Aug 20 11:09:55 localhost openser[21667]: ERROR:init_mod_child: Error while initializing module auth_db, rank -1
>>> Aug 20 11:09:55 localhost openser[21667]: timer: init_child failed
>>> Aug 20 11:09:55 localhost openser[21649]: INFO: signal 15 received
>>> Aug 20 11:09:55 localhost openser[21582]: INFO: signal 15 received
>>> Aug 20 11:09:55 localhost openser[21647]: INFO: signal 15 received
>>> Aug 20 11:09:55 localhost openser[21585]: INFO: signal 15 received
>>> Aug 20 11:09:55 localhost openser[21643]: INFO: signal 15 received
>>> Aug 20 11:09:55 localhost openser[21641]: INFO: signal 15 received
>>> Aug 20 11:09:55 localhost openser[21579]: INFO: signal 15 received
>>>
>>>
>>> Mon, 20 Aug 2007 19:10:05 +0300, Daniel-Constantin Mierla <daniel at voice-system.ro> escreveu:
>>>
>>>
>>>
>>>> Hello,
>>>>
>>>> what did you get in the syslog file?
>>>>
>>>> Cheers,
>>>> Daniel
>>>>
>>>>
>>>> On 08/20/07 17:43, Gerson Matiolli wrote:
>>>>
>>>>
>>>>> Hi
>>>>>
>>>>> I am with the following problem:
>>>>>
>>>>> In the greater schedule I pass through good part of the linkings are busy
>>>>>
>>>>> I modified the param childreen for 20, It improved.
>>>>>
>>>>> But, I do not obtain to increase more than this.
>>>>>
>>>>> The service not start
>>>>>
>>>>> ps -ef
>>>>>
>>>>> opsenser start <defunct>
>>>>> opsenser start <defunct>
>>>>> opsenser start <defunct>
>>>>> opsenser start <defunct>
>>>>> opsenser start <defunct>
>>>>>
>>>>> The CPU is 2G memory, 2 processors
>>>>>
>>>>> What it can be happening?
>>>>>
>>>>> _______________________________________________
>>>>> Users mailing list
>>>>> Users at openser.org
>>>>> http://openser.org/cgi-bin/mailman/listinfo/users
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at openser.org
>>> http://openser.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>>>
>>>
>>
>>
>
>
>
More information about the Users
mailing list