laforge has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-mgw/+/17442 )

Change subject: allow larger MGCP client wqueue: 10 -> 1024
......................................................................

allow larger MGCP client wqueue: 10 -> 1024

Enlarge the MGCP client workqueue maximum limit by factor 100.

During Abis load testing, a BSC trying to DLCX 200 conns at the same time hit
the limit of 10 very very quickly, and everything broke down.

Change-Id: I8980cce37bae0757828b28455b25c77bcb6316d0
---
M src/libosmo-mgcp-client/mgcp_client.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved



diff --git a/src/libosmo-mgcp-client/mgcp_client.c 
b/src/libosmo-mgcp-client/mgcp_client.c
index a65cd61..b6bf43b 100644
--- a/src/libosmo-mgcp-client/mgcp_client.c
+++ b/src/libosmo-mgcp-client/mgcp_client.c
@@ -828,7 +828,7 @@
        inet_aton(mgcp->actual.remote_addr, &addr.sin_addr);
        mgcp->remote_addr = htonl(addr.sin_addr.s_addr);

-       osmo_wqueue_init(wq, 10);
+       osmo_wqueue_init(wq, 1024);
        wq->bfd.when = BSC_FD_READ;
        wq->bfd.data = mgcp;
        wq->read_cb = mgcp_do_read;

--
To view, visit https://gerrit.osmocom.org/c/osmo-mgw/+/17442
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-Change-Id: I8980cce37bae0757828b28455b25c77bcb6316d0
Gerrit-Change-Number: 17442
Gerrit-PatchSet: 1
Gerrit-Owner: neels <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-MessageType: merged

Reply via email to