Skip to content

MongoDB


Here, you find possible solutions to problems that can occur with MongoDB when installing or running Digital Process Factory.


Reduce Memory Usage of MongoDB

If MongoDB is using too much memory and fails, reduce its cache size:

  1. On the DPF server, open the configuration file of MongoDB in an editor:

    C:\ProgramData\SEAL Systems\config\mongod.conf
    
  2. Add the following lines to storage to reduce the cache size. Adapt the value as needed.

        wiredTiger:
            engineConfig:
                cacheSizeGB: 2
    

    Example of mongod.conf

    storage:
        dbPath: /opt/seal/data/seal-mongodb
        wiredTiger:
            engineConfig:
                cacheSizeGB: 2
    

Reduce Size of MongoDB

If you need to reduce the size of MongoDB, use the compact command of MongoDB. For how to use it, refer to the Manual Reference of MongoDB.


Back to top