Beautifully crafted websites, mobile applications and all things digital since 2006

  • Shelter
  • British Science Association
  • Rawls & Co
  • Rated People
  • Palmers Boxing Academy
  • Increasing MongoDB soft rlimits on Mac OS X

    If you've installed MongoDB on Mac OS X (and this will more than likely be applicable to similar UNIX based systems such as Linux) you may be greeted with the following warning when running the mongo daemon process in your Terminal application:

    ** WARNING: soft rlimits too low. Number of files is 256, should be at least 1000
    

    Looks a little cryptic doesn't it? Let's take a look at what this means and how to fix it...

    More »
  • Resolving MongoDB lock error

    If you've been exploring the MEAN Stack (MongoDB, ExpressJS, AngularJS and Node.....for those not in the know!) you may have encountered the following problem when attempting to start MongoDB from the command line:

    old lock file: /data/db/mongod.lock.  probably means unclean shutdown,
    but there are no journal files to recover.
    this is likely human error or filesystem corruption.
    please make sure that your journal directory is mounted.
    

    Resolving this issue is relatively straightforward...

    More »