Permalink
Browse files

Moxi tuning, continued

downstream_conn_max is purported to work in moxi, so let's use it.

Change-Id: Icf309e9a0d1794bfc267a5ec778e0932d1595a84
Reviewed-on: http://review.membase.org/3605
Reviewed-by: Steve Yen <steve.yen@gmail.com>
Tested-by: Steve Yen <steve.yen@gmail.com>
  • Loading branch information...
1 parent f0718cc commit 2b32e2a1ce79101218c03c3993934adc199ee556 @steveyen steveyen committed Nov 9, 2010
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/ns_config_default.erl
  2. +1 −1 src/ns_moxi_sup.erl
@@ -176,7 +176,7 @@ default() ->
% to try to start child processes. If it fails, it should ns_log errors.
{port_servers,
[{moxi, "./bin/moxi/moxi",
- ["-Z", {"port_listen=~B,default_bucket_name=default,downstream_max=16,"
+ ["-Z", {"port_listen=~B,default_bucket_name=default,downstream_max=1024,downstream_conn_max=16,"
"downstream_timeout=5000,wait_queue_timeout=5000",
[port]},
"-z", {"url=http://127.0.0.1:~B/pools/default/saslBucketsStreaming",
View
@@ -89,7 +89,7 @@ child_specs() ->
BigZ =
lists:flatten(
io_lib:format(
- "port_listen=~B,downstream_max=16,"
+ "port_listen=~B,downstream_max=1024,downstream_conn_max=16,"
"downstream_timeout=5000,wait_queue_timeout=5000",
[Port])),
Args = ["-B", "auto", "-z", LittleZ, "-Z", BigZ,

0 comments on commit 2b32e2a

Please sign in to comment.