[SERVER-22475] manyclients.js consumes too much memory Created: 04/Feb/16  Updated: 18/Nov/16  Resolved: 05/Feb/16

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: 3.3.1
Fix Version/s: 3.2.3, 3.3.2

Type: Bug Priority: Major - P3
Reporter: Mira Carey Assignee: Mira Carey
Resolution: Done Votes: 0
Labels: test-only
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Completed:
Sprint: Platforms 10 (02/19/16)
Participants:
Linked BF Score: 0

 Description   

parallel/manyclients.js uses 100 threads, which appears to still be too many (in terms of memory pressure) on some debug builders.

Let's ramp that down to something more manageable. I.e. 50 (the same as in noPassthroughWithMongod/connections_opened.js)



 Comments   
Comment by Githook User [ 10/Feb/16 ]

Author:

{u'username': u'hanumantmk', u'name': u'Jason Carey', u'email': u'jcarey@argv.me'}

Message: SERVER-22475 Reduce concurrency in manyclients.js

Drop from 100 to 50 to lower the memory pressure.

(cherry picked from commit 475e90668351d6f4719e1fbce7cf54f2fdfe52da)
Branch: v3.2
https://github.com/mongodb/mongo/commit/abe971536f732f7cb1387723d8d60a9300ffc6e3

Comment by Githook User [ 05/Feb/16 ]

Author:

{u'username': u'hanumantmk', u'name': u'Jason Carey', u'email': u'jcarey@argv.me'}

Message: SERVER-22475 Reduce concurrency in manyclients.js

Drop from 100 to 50 to lower the memory pressure.
Branch: master
https://github.com/mongodb/mongo/commit/475e90668351d6f4719e1fbce7cf54f2fdfe52da

Comment by Mira Carey [ 04/Feb/16 ]

ah, I see. Thanks for the heads up.

Bleh, bits is top level too

Comment by Max Hirschhorn [ 04/Feb/16 ]

There is already logic in manyclients.js that attempts to reduce the number of connections to 50 connections on debug builds.

// Reducing the number of threads to 100 because of WT-1989
numThreads = 100;
buildInfo = db.adminCommand( "buildInfo" ).buildEnvironment
 
if ( buildInfo.bits < 64 ||
     buildInfo.target_os != "linux" ||
     buildInfo.debug ) {
    numThreads = 50;
}

I think the issue is that we are checking db.adminCommand("buildInfo").buildEnvironment.debug instead of db.adminCommand("buildInfo").debug.

Generated at Thu Feb 08 04:00:31 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.