MongoDB is a document oriented database (also known as NoSQL database).

learn more… | top users | synonyms (1)

2
votes
2answers
111 views

Full data backup to Amazon S3

I have an Ubuntu server hosted on Digital Ocean that has outgrown it's existing backup solution. The relevant parts of the stack I use are Node.js, MongoDB, and Elasticsearch. So far backups have ...
-2
votes
0answers
17 views

AWS: Amazon Linux vs. Ubuntu for Meteor [on hold]

I'm creating a Meteor app solely dependent on AWS. In doing so, I'm staying far away from the usual Modulus.io for the app and Compose.io for the database. I'm just having trouble picking the AMI. ...
1
vote
0answers
18 views

MongoDB fsyncUnlock won't unlock occasionally on Windows

We have a MongoDB replica set installed on Windows servers, with a scheduled backup job. MongoDB is configured to use journaling. The job runs db.fsyncLock() via script on MongoDB (primary server), ...
0
votes
0answers
5 views

Mongod cli version differs from db.version

I've followed the instructions to upgrade Mongo from 2.4 to 2.6, which was basically just to install the new binaries, but the versions being reported are inconsistent. I've tried restarting the ...
1
vote
0answers
5 views

Huge oplog size after full sync on one secondary causing performance issues - MongoDB

I'm a MongoDB newbie. I have a replica set with 3 members (1 primary and 2 secondaries) on CentOS 6 and Mongo 2.6.8. One of the secondaries crashed because of high consumption of memory and I ...
0
votes
0answers
7 views

Ensure Full Admin When Upgrading User Profiles

I have a MongoDB replica set who is sitting on version 2.6 currently. After trying to update our secondary to 3.x, I found out that I need to update the users on the admin table to be 2.6 compliant. ...
0
votes
0answers
7 views

Disabling Transparent Huge Pages for Mongodb - is it important?

I am running mongodb on a server with other software running as well. So before disabling this setting on my system , i have 2 questions: 1) how much does it change for mongodb ? does it really ...
0
votes
0answers
7 views

MongoDB backup browse GridFS

I have "big" MongoDB database (~100GB) with GridFS, using mongodump I made backup for this database and I wan't to browse files in GridFS, can this be done without restoring backup?
0
votes
0answers
10 views

MongoDB start sharding

When I want to move a single mongodb server into a sharded cluster, I know that I need 3 config servers. Since we have evertything on one single EXSi server I just want to ask if it is the preferred ...
-1
votes
0answers
38 views

MongoDB using 100% CPU

I have a MongoDB instance running in production on an n1-standard google compute engine VM machine (single-core, 3.8GB RAM). It is part of a replica set with 2 replicas and one primary. During peak ...
0
votes
0answers
12 views

Random mongo shutdown

I had mongo randomly shutdown on one of my servers today and I was wondering if anyone could take a look at the logs below and tell me what might have happened. The server is hosted on digital ocean ...
0
votes
0answers
26 views

DataFileSync flushing mmaps takes a long time

We are running MongoDB 2.6.9 on a 64 bit Ubuntu Linux VM. When I look in the database folder, this is what I see with ls -lh: -rw------- 1 mongodb mongodb 64M Apr 15 14:26 admin.0 -rw------- 1 ...
0
votes
1answer
39 views

Connecting to mongodb on AWS EC2 using java

I am trying to connect to mongoDB on an EC2 instance using java. I am able to connect to the EC2 instance using putty after converting the .pem file into the .ppk file.In case of connecting with java ...
0
votes
0answers
12 views

AWS deployed mongodb not connecting through node JS driver

I have a weird problem. I was able to connect mongodb through node JS drivers two days back. Suddenly I am getting connection time out. Mongodb is installed on Amazon AWS. I am able to connect mongodb ...
0
votes
0answers
28 views

mongodb avgObjSize confusion and effect of field length on storage size

I have a Replica Set of 3 instances instance A: Mongodb 3.0 (using wiredtiger storage engine) instance B: Mongodb 2.6 (using good old mmapv1) instance C: Mongodb 3.0 arbiter and i have 3 ...
2
votes
0answers
52 views

Corrupt WiredTiger MongoDB files

I'm running MongoDB with the WiredTiger engine on an ext4 file system. The last thing that I did was start building an index, but then something came up and I needed to cancel the index build and ...
0
votes
0answers
68 views

set up Apache2 virtual hosts and now MongoDB connection refused

I'm running Ubuntu 14.04 on an AWS EC2 instance with Apache2. This morning I upgraded my Apache2 settings to allow multiple virtual servers following these instructions. Just now I tried to access my ...
2
votes
2answers
65 views

MongoDB WiredTiger storage not using two CPU cores

As claimed in WiredTiger storage engine description, it provides an ability of better concurrency due to document-level locking. From this post: WiredTiger scales on modern, multi-CPU ...
1
vote
2answers
54 views

mongodb 3.0 wouldn't start on ArchLinux [closed]

I run into some trouble while starting mongodb on my Archlinux. Here's some basic information about my system and config. root /var/lib/mongodb # uname -a Linux yxx1 4.0.4-2-ARCH #1 SMP PREEMPT Fri ...
1
vote
0answers
30 views

Mongo 2.6.9 process stopping, no error logs

I have a Mongo 2.6.9 process running on a Linux SMP instance. Here's uname -a with the server name redacted: Linux xxx.xxxx.com 3.13.0-042stab085.20 #1 SMP Sun Jul 20 13:27:24 MSK 2014 x86_64 x86_64 ...
0
votes
1answer
47 views

Adding an admin user to a MongoDB

I'm using MongoDB 3.0.3, and I've been having issues with creating users. I created a user on the admin database using db.addUser('admin', '....'). I gave it dbAdminAnyDatabase privilege. The output ...
2
votes
0answers
35 views

When and how should we shard MongoDB when we are bound to physical machines?

We maintain a search service that serves data from MongoDB. Our Mongo production instance is arranged in a 4 node replica set across four physical servers. The database is comprised of several small ...
2
votes
2answers
47 views

MongoDB frequently switching primaries

We are running a Mongo 2.6 replica set with 3 members: primary, secondary, arbiter. Nearly every day our MongoDB is switching which server is primary and this causes all connections to that DB to be ...
0
votes
0answers
41 views

Mongo secondaries stuck at startup state

I have a MongoDB replica set with secondaries that won't make it past the STARTUP state. The database is large but they should have moved to STARTUP2 by now. The correct ports are open as I can ...
0
votes
1answer
53 views

CentOS 7 Cannot delete ports defined for MongoDB

I installed and later removed the MongoDB server on a CentOS 7 box. While cleaning up, I noticed that the ports assigned to MongoDB were still open. if I remember correctly, I was able to delete the ...
1
vote
0answers
24 views

MongoDB Backup & purge

I'm exploring solutions for a basic dbadmin need : periodically backing up and purging data in MongoDB. Basically, I need a logrotate for mongodb. I have a backend program filling a collection. I ...
0
votes
1answer
35 views

mongod bind_ip bind to wrong ip

I'm trying to setup a mongodb in a FreeBSD jail. I found in the documetation that I can set the bind_ip to 127.0.0.1 to allow only access from localhost. But when I check with sockstats it's bound to ...
1
vote
0answers
69 views

MongoDB Install Simple Test Ops Manager java.lang.OutOfMemoryError on startup

just installed a test evaluation of MongoDB Ops Manager and get an error on startup of the Backup HTTP server: Migrate MMS data Running migrations...[ OK ] Start MMS server Instance 0 ...
1
vote
2answers
26 views

Mongodb: handle offline queries without affecting regular queries

I have a MongoDB replica set with Three members: primary, secondary and hidden secondary, only for backups. Ideally, I want to add additional instance dedicated to running slow batch operations. The ...
0
votes
1answer
55 views

LVM Free Disk Space

I have a MongoDB running on a virtual server (Ubuntu 14.04.2 LTS). The MongoDB logs say this: Fri May 8 13:08:02.270 [initandlisten] ERROR: Insufficient free space for journal files Fri May 8 ...
0
votes
1answer
102 views

Mongodb config file option for authentication

I'm trying to start mongodb(3.0.2) with authentication enabled on mac osx 10.10 from the doc. Starting monodb manually with --auth works and starts without any error. I installed mongodb using ...
1
vote
0answers
4 views

MongoDB - Tie user to specific replica set node

Is there a way in MongoDB 3.0 to allow users access to only a single replica set node? We have a lot more data on disk than we do memory. So to keep our production support from paging into memory ...
0
votes
0answers
7 views

varnish - little delay after 5 seconds

I installed varnish on a hello world application, along with nginx, hhvm and mongodb. The only things that bugges me is that the first time when I access the url I get around 125 ms response time and ...
0
votes
1answer
26 views

Slow mongodb on ruby on rails

I have a ruby on rails application with mysql and mongodb (mongoid framework) running. I tested a load test with siege with the setting -c 60 -r 10 on one page which have 2 stationsong find queries. ...
2
votes
1answer
68 views

Permission denied to connect Mongodb with PHP on EC2

I can't connect to the remote EC2 server with PHP because I got permission denied. However I could connect remotely by command line from the same server so it seems the firewall settings are fine and ...
1
vote
0answers
107 views

exception in initAndListen: 28595 2: No such file or directory, terminating

after server crashed, mongod service don't start. OS: Windows Server 2008 R2 start mongo version: 3.0.0 repair option don't help, journal directory is empty after crash update mongo to 3.0.2, this is ...
4
votes
0answers
30 views

MongoDB Oplog Security

We are using a MongoDB replica set for sharing sessions and other (potentially sensitive) data in a web farm. All the data we store uses TTL indexes to expire documents after a relatively short ...
0
votes
1answer
176 views

Chef: mongodb::user_management failing in aws opsworks with “NameError: uninitialized constant Mongo::MongoClient”

I have been using the mongodb cookbook successfully to create user accounts for months but recently something has changed and I can't figure out what it is. The default recipe completes without ...
2
votes
1answer
107 views

mongod: symbol lookup error: mongod: undefined symbol: _ZN5boost6detail13once_epoch_cvE

Iam having trouble with my mongodb install : when I run sudo mongod, I get mongod: symbol lookup error: mongod: undefined symbol: _ZN5boost6detail13once_epoch_cvE uname -a Linux xyz 3.2.0-4-686-pae ...
2
votes
2answers
1k views

Why can't i install mongodb 3.0 on Ubuntu 14.04 32bit?

I have followed all the official istructions listed here: official page In detail, i have done: sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10 (seems ok) echo "deb ...
-1
votes
1answer
51 views

creating snapshot for mongodb

I am trying to create snapshot for mongodb on centos 6.6. root@ ~]# lvscan File descriptor 12 (pipe:[23409]) leaked on lvscan invocation. Parent PID 3579: /bin/bash File descriptor 13 ...
0
votes
0answers
14 views

Error: no open connections at Db._executeQueryCommand

I have a node application used with express framework. This application runs smoothly. But suddenly, after some point of time, it starts to give error as "Error: no open connections at ...
0
votes
0answers
129 views

Expanding HAProxy health check to monitor MongoDB primary and secondary state

Follow up question regarding the MongoDB health check with HAProxy How to construct a MongoDB Health Check in HAProxy? The current solution works well when the focus is on determining if mongo ...
0
votes
1answer
209 views

'mongod wiredTiger' on Ubuntu?

I cannot use wiredTiger as a service for MongoDB. Then, I progresses step by step according to the following guide; http://docs.mongodb.org/manual/release-notes/3.0-upgrade/ Step-1: Start 3.0 ...
0
votes
1answer
49 views

How can I configure an Azure VM to securely host Mongo for connection to a web role [closed]

I would like to run Mongo DB in Azure. I looked into the hosted version, but the price is high, so I'd like to run my own MongoDB for use with an Azure Web Role. I would like the Mongo DB to remain ...
0
votes
0answers
47 views

Mongodb + Kerberos BadValue SASL mechanism GSSAPI is not supported

I am trying to run an instance of mongodb with the authentication mechanism GSS-API. This is the command: mongod --dbpath /home/ec2-user/db/node2/data --auth --setParameter ...
0
votes
1answer
89 views

EBS vs Instance Local storage for MongoDB in ec2

Cassandra recommends using instance local storage for EC2 deployments instead of EBS I am deploying MongoDB in EC2... should I also be using instance local storage instead of EBS PIOPS?
0
votes
0answers
35 views

MongoDB cluster network Resilience with 2 ethernet only

I wonder if it is possible to configure a network resilience mongodb cluster using only 2 ethernet adapter card on each node. I configured the cluster with 3 nic emulating the third nic using vip ...
0
votes
0answers
66 views

Slow insert speed to Mongodb utilizing Mongoid ORM

I have a production platform utilizing Sidekiq, Mongoid and a replica set (3 nodes). This has been operational for about 6 months and running very smoothly. All jobs were processing in usually less ...
0
votes
1answer
19 views

EC2 Linux mapping between file system and EBS volumes

Where are "observable" paths like /home/ubuntu/foo.txt stored on a Linux EC2 instance with mounted EBS? I have a basic EC2 instance with added EBS storage, mounted as /mnt/my-data following one of ...