Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-2298

macOS 3.4.24 test failed with User Assertion: 8:24: Too many open files src/mongo/db/catalog/database.cpp 564

    • Type: Icon: Task Task
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Tests
    • Labels:
      None

      macOS MongoDB 3.4.24 test timed out: https://evergreen.mongodb.com/task/mongo_python_driver_test_macos__platform~macos_1014_auth~auth_ssl~nossl_test_3.4_replica_set_74202455aa33b762641caeeaf4b87b7c58675820_20_06_16_22_55_21

      It appear that the server on port 27017 crashed because of too many open files:

      2020-06-17T13:45:11.188+0000 D STORAGE  [repl writer worker 15] many_collections.coll76: clearing plan cache - collection info cache reset
      2020-06-17T13:45:11.195+0000 D STORAGE  [repl writer worker 1] create collection many_collections.coll77 {}
      2020-06-17T13:45:11.200+0000 D STORAGE  [repl writer worker 1] stored meta data for many_collections.coll77 @ RecordId(451)
      2020-06-17T13:45:11.239+0000 D STORAGE  [repl writer worker 1] many_collections.coll77: clearing plan cache - collection info cache reset
      2020-06-17T13:45:11.239+0000 D STORAGE  [repl writer worker 1] create uri: table:index-942--555886246681615991 config: type=file,internal_page_max=16k,leaf_page_max=16k,checksum=on,prefix_compression=true,block_compressor=,,,,key_format=u,value_format=u,app_metadata=(formatVersion=8,infoObj={ "v" : 2, "key" : { "_id" : 1 }, "name" : "_id_", "ns" : "many_collections.coll77" }),
      2020-06-17T13:45:11.830+0000 E STORAGE  [repl writer worker 1] WiredTiger error (24) [1592401511:830366][73944:0x70000928a000], WT_SESSION.create: /data/mci/dd63702463bbefef829fc889d059da31/drivers-tools/.evergreen/orchestration/db/mongod-pc8682c1/index-942--555886246681615991.wt: handle-open: open: Too many open files
      2020-06-17T13:45:11.831+0000 D -        [repl writer worker 1] User Assertion: 8:24: Too many open files src/mongo/db/catalog/database.cpp 564
      2020-06-17T13:45:11.831+0000 D STORAGE  [repl writer worker 1] WT drop of  table:collection-941--555886246681615991 res 16
      2020-06-17T13:45:11.831+0000 D STORAGE  [repl writer worker 1] ~WiredTigerRecordStore for: many_collections.coll77
      2020-06-17T13:45:11.831+0000 E REPL     [repl writer worker 1] Failed command { create: "coll77", idIndex: { v: 2, key: { _id: 1 }, name: "_id_", ns: "many_collections.coll77" } } on many_collections with status UnknownError: 24: Too many open files during oplog application
      2020-06-17T13:45:11.831+0000 F REPL     [repl writer worker 1] Error applying operation ({ ts: Timestamp 1592401511000|5, t: 2, h: 8225647492296056723, v: 2, op: "c", ns: "many_collections.$cmd", o: { create: "coll77", idIndex: { v: 2, key: { _id: 1 }, name: "_id_", ns: "many_collections.coll77" } } }):  :: caused by :: UnknownError: 24: Too many open files
      2020-06-17T13:45:11.831+0000 I -        [repl writer worker 1] Fatal assertion 16359 UnknownError: 24: Too many open files at src/mongo/db/repl/sync_tail.cpp 1087
      2020-06-17T13:45:11.831+0000 I -        [repl writer worker 1] 
      
      ***aborting after fassert() failure
      

      The "many_collections" database is created in TestDatabase.test_list_collection_names .

            Assignee:
            shane.harvey@mongodb.com Shane Harvey
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: