[Users] Problem with forking
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Wed Jun 28 22:32:38 CEST 2006
Hi Kenny,
the limitation is not in openser or system, but in your mysql server
configuration - it does not accept such a high number of connection (as
required by 32 children).
You need the configure the mysql server to accept a higher number of
connections.
regards,
bogdan
Kenny Chua wrote:
> Hi all,
>
> I was wondering what is the max children I can spawn. When I set
> children = 32 I got this error when doin openserctl moni:
>
> Error opening openser's FIFO /tmp/openser_fifo
> Make sure you have line fifo=/tmp/openser_fifo in your config
>
> Seems like openser or my system can't support that many children? I
> read that in the core cookbook that max children was 32. Wonder why it
> crashed on my system. Its a Dell Server, specs should be Pentium 4 3
> Ghz with 1 GB ram. I think this spec should be enough to support 32
> children.
>
> Here is the debug error.
>
> 51(4998) ERROR:domain_db_init: cannot initialize database connection
> 51(4998) 52(5000) new_connection: Too many connections
> 52(5000) ERROR: child_init(50): Error while connecting database
> 52(5000) ERROR:init_mod_child: Error while initializing module usrloc,
> rank 50
> 52(5000) init_children failed
> ERROR: domain:child_init(): Unable to connect to the database
>
> What am I suppose to do to fix it? I'm using mysql database. Is it
> because mysql needs to support more connection? How am I suppose to
> change that? Thank you
>
> ------------------------------------------------------------------------
> Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great
> rates starting at 1¢/min.
> <http://us.rd.yahoo.com/mail_us/taglines/postman7/*http://us.rd.yahoo.com/evt=39666/*http://messenger.yahoo.com>
>
>
>
> <http://us.rd.yahoo.com/mail_us/taglines/postman7/*http://us.rd.yahoo.com/evt=39666/*http://messenger.yahoo.com>
>------------------------------------------------------------------------
>
>_______________________________________________
>Users mailing list
>Users at openser.org
>http://openser.org/cgi-bin/mailman/listinfo/users
> <http://us.rd.yahoo.com/mail_us/taglines/postman7/*http://us.rd.yahoo.com/evt=39666/*http://messenger.yahoo.com>
>
More information about the sr-users
mailing list