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

learn more… | top users | synonyms (1)

3
votes
0answers
28 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 ...
2
votes
0answers
46 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 ...
2
votes
0answers
31 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
0answers
463 views

How to find/kill long running mongo scripts

I think I have a long running mongo script tanking my database, but I'm not sure. I was connected to the linux server via SSH and I ran the script like so: mongo my_database my_script.js It started ...
1
vote
0answers
13 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), ...
1
vote
0answers
4 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 ...
1
vote
0answers
55 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
0answers
28 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 ...
1
vote
0answers
23 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 ...
1
vote
0answers
66 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
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 ...
1
vote
0answers
106 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 ...
1
vote
0answers
255 views

How to display MongoDB stats in Graphite?

After googling for 2 days with no solution I would like to know if anyone uses Graphite with either CollectD or StatsD to include MongoDB statistics in a dashboard. I was hoping for an up-to-date ...
1
vote
0answers
128 views

adding mongodb authentication breaks connecting via nodejs

I needed to have external access to my mongodb database, so I have removed the bind_ip from the mongod.conf file, and turned on auth. I then added a root user that can access everything, and tried to ...
1
vote
0answers
35 views

Merge 7 node mongodb (2.4) cluster into one standalone mongo shard

I'm running a 7 node mongodb sharded cluster (version 2.4...). I would like to merge this into a standalone shard with 7 times the disk-space. I've tried to create the single shard instance and ...
1
vote
0answers
326 views

MongoDB high CPU usage

Running MongoDB 2.4.11 on Ubuntu 14.04.1 LTS In top, this mongod thread is constantly using ~195% CPU: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 24524 mongodb 20 ...
1
vote
0answers
71 views

Mongo Cluster - Unresponsive node/primary prevents creation of databases, secondary didn't take over

I have a Mongo cluster with a few shards each backed by replicasets with a primary, a secondary and an arbiter. Today one of the primaries became unresponsive. I logged into it directly and tried a ...
1
vote
0answers
135 views

Migrate standalone Mongo DBs to sharded/replicated cluster

Currently I have several independent standalone Mongo servers. I have Now set up a sharded and replicated Mongo cluster. I plan to copy over all databases from the standalone Mongo servers to the ...
1
vote
0answers
1k views

how to integrate between MONGODB & SOLR, using MONGO-CONNECTOR

Like this I started my mongod with replSet mod mongod --dbpath=/home/local/ASSYST-COC/so/mongo --replSet myrep --auth mongo started mongo -u root -p root --authenticationDatabase admin IN ...
1
vote
0answers
575 views

MongoDB Performance Troubleshooting

I have a small MongoDB replica set (2.4.6) and it seems about once a week, the primary gets bogged and the load average spikes up. This app doesn't see a huge amount of traffic. It resides in EC2 ...
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 ...
0
votes
0answers
5 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
6 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 ...
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
23 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
0answers
11 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
27 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 ...
0
votes
0answers
63 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 ...
0
votes
0answers
39 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
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
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
126 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
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
0answers
34 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
0answers
66 views

Best practice of using MongoDB Replica Set on AWS EC2

MongoDB needs at least three replica set members on independent locations to work automatic failover correctly. However, some of AWS Regions (such as ap-northeast-1) have only two Availability Zones. ...
0
votes
0answers
62 views

MongoDB mongos memory usage

Planning how to deploy a shard-ready cluster (Single shard at the moment, with all config servers and mongos processes), I've read the MongoDB operations best practices. I have doubts about the memory ...
0
votes
0answers
155 views

mongodb authentication not working in puppet

I used the same connectionstring in the terminal and it's working ok. But from Ruby I get error output when vagrant provision runs mongo admin -u 'vaga' -p 'vaga' --authenticationDatabase admin ...
0
votes
0answers
16 views

Database groups in mongodb

I'm facing a problem (well, not a real problem, more of a detail) in deploying an infrastructure for several applications. Some of them use PostgreSQL and some of them MongoDB. I would like to run ...
0
votes
0answers
47 views

MongoDB hogging IO but it doesn't show in mongotop or mongostat

Iotop says mongod is using a lot of IO (96.32%) for a long while but mongotop and mongostat show a bunch of zeros. How can I better monitor mongodb and find out what's happening?
0
votes
0answers
101 views

Add security/authentication to mongodb (2.6) without downtime?

We have a 3 node replica set (running 2.6.1) that's running mostly defaults. We'd like to add authentication, but do it without downtime. I'm fine with restarting the nodes one-by-one and even ...
0
votes
0answers
34 views

How remove a collection from a database without a running Mongo instance?

Is it possible to remove a collection from a database without a running Mongo instance? I ask because I cannot start Mongod due to an exception being thrown ("no NamespaceDetails for index"). The ...
0
votes
0answers
533 views

AWS Linux yum repository can't find MongoDB packages for install

I am trying to install the latest version of MongoDB for my 32-bit AWS Linux instance. I am following these instructions from the MongoDB documentation. I have created the .repo file in the proper ...
0
votes
0answers
134 views

Linked Server in SSMS: role of “String Column Lengths” values

I'm using linked server in SQL Server Management Studio in order to connect to Mongo database through ODBC. I have hard time trying to get data from Mongo. Here is a query I try to make: Select * ...
0
votes
0answers
143 views

Replicated MongoDB server slower than simple shards

I tried to compare the performance of a sharded configuration against a sharded and replicated configuration. The sharded configuration consists of 8 shards each running on three different machines ...
0
votes
0answers
291 views

MongoDB Max Connections

we are using mongodb in our application for catching a lot of the data to reduce load from our main mysql database, for the last 2 3 days we are having an issue where the mongodb will hit the limit ...
0
votes
0answers
545 views

RockMongo Connection Issue with MongoDB Slave

I have a MongoDB Replication with Master-Slave (not RepliSet) I have configured RockMongo on two servers. But I able to login to master server through rockmongo but when I login to slave with rock ...
0
votes
0answers
29 views

MySQL version of MongoDB Replica. OR MySQL MongoDB Driver

Not sure if this is the right stack exchange site for this question so if it is can you please advise which one would be best. Is there any way to either: A)Have MySQL run via a dedicated driver / ...