Dear Chicagoboss,
I am learning to use the chicagoboss to build a project. but now I
encounter a problem as follow:
09:54:00.327 [error] Supervisor poolboy_sup had child boss_db_controller
started with {boss_db_controller,start_link,undefined} at <0.229.0> exit with
reason killed in context child_terminated
The Chicagoboss verson I am using is ChicagoBoss-0.8.7, and I use mysql
database, boss.config about database is:
%% Database %%
%%%%%%%%%%%%%%
%% db_host - The hostname of the database. Defaults to "localhost".
%% db_port - The port of the database. Defaults to 1978.
%% db_adapter - The database adapter to use. Valid values are:
%% mock - In-memory (non-persistent) database, useful for testing
%% mnesia - Mnesia
%% mongodb- MongoDB
%% mysql - MySQL
%% pgsql - PostgreSQL
%% riak - Riak
%% tyrant - Tokyo Tyrant
%% db_username - The username used for connecting to the database (if
%% needed).
%% db_password - The password used for connecting to the database (if
%% needed).
%% db_database - The name of the database to connect to (if needed).
%% db_cache_enable - Whether to enable the cache in boss_db. Defaults
%% to false. Requires cache_enable to be set to true.
{db_host, "localhost"},
{db_port, 3306},
{db_adapter, mysql},
{db_username, "root"},
{db_password, "123456"},
{db_database, "ewtmps"},
It is a web project, when the concurrent post request is less than 5, it works
correct, but when the concurrent is greater than 5, it will report errors like
09:54:00.327 [error] Supervisor poolboy_sup had child boss_db_controller
started with {boss_db_controller,start_link,undefined} at <0.229.0> exit with
reason killed in context child_terminated
why and what shoud I do? I don't know
I need your help! Wish your reply!
Thanks a lot.
--
You received this message because you are subscribed to the Google Groups
"ChicagoBoss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at http://groups.google.com/group/chicagoboss.
To view this discussion on the web visit
https://groups.google.com/d/msgid/chicagoboss/tencent_4C8C843876ACA3C81F207502%40qq.com.
For more options, visit https://groups.google.com/groups/opt_out.