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

learn more… | top users | synonyms (1)

3
votes
0answers
425 views

Using haproxy in tcp mode to proxy mongo server causes mongo clients to fail about 25% of the time

I am trying to use haproxy in tcp mode in front of a mongo server. On the haproxy machine I have a mongo client to test with. When connecting from the haproxy machine directly to the mongo server ...
3
votes
0answers
862 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
74 views

MongoDB replication failure

I am trying to debug an odd issue that results in the failure or a replica set secondary becoming out of date and unable to catchup with the primary (running on AWS, AWS linux). The typical ...
2
votes
0answers
275 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
33 views

How can I set up mongodb to scale it quickly on AWS

I want to deploy a database using mongodb on AWS, and I think this database will receive a lot of data making necessary to think on the possibility that one server is not enough, so my questions is: ...
1
vote
0answers
37 views

Proper way to set limit in mongodb on log files

It more beginner question. I trying to set limit on mongo log file in AWS linux instance. I found some question that was asked here. And tryed to do that as was suggest from someone for mongo 3.0. ...
1
vote
0answers
39 views

What are the proper Readahead values for a RAID 10 array over 4 EBS PIOPS volumes?

tl;dr - What are the proper readahead values for the different EBS PIOPS volumes in a RAID 10 array ? What about the RAID 10 physical and logical volumes themselves ? What about the chunk size of the ...
1
vote
0answers
112 views

Mongodb failing to start using init script with dbpath on mounted drive

I've been trying to set up a mongodb instance (2.6.11) on my CentOS 6.3 to use a data location on a different drive because of space constraints on the default location of /var/lib/mongo I've changed ...
1
vote
0answers
387 views

How To: Dockerized MongoDB Replication on Elastic Container Service

I have a Node.js app together with a MongoDB database running on AWS ECS. The setup I've got currently is formed of 2 ELB's and 2 Instances running each a Docker container with its assigned service (...
1
vote
0answers
38 views

What is the resolved default location mongod.exe looks for the configuration in?

Trying to do a minimal configuration of mongod, and I would like to use the 'natural' pathing structure for the location of the config file. To give an example on what I am looking for, here are the ...
1
vote
0answers
77 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
197 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 couldn'...
1
vote
0answers
304 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
128 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
6 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
301 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
205 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 ...
1
vote
0answers
46 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
864 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 ...
1
vote
0answers
121 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
249 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
2k 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
816 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
20 views

Mongodb slower on more powerful server. How can that be?

I wanted to migrate our servers today, but I couldn't since on the new (larger) server MongoDB was very slow for a specific collection. First of all, here are the specs. Old server: Digital Ocean 80$...
0
votes
0answers
9 views

mongo db balancer when there is 1,76,000 entries in tags collection of config database?

I am trying tag based sharding in mongo db with tag ranges .Since i do have a range for my shard key .I came up with an idea of adding range for each value of shard key. ex: sh.addTagRange( "db....
0
votes
0answers
6 views

OSX gets no response for chunked (MongoDB/GridFS) file sent by Express/Node

I have a server running NodeJS/Express which streams a file from GridFS via HTTP. The following code does this through a route in Express: router.get('/', function(req, res, next) { var stream = ...
0
votes
0answers
32 views

Error while creating a mongobackup using MongoDump

I'm using the following command line: /global/instance/mongodb-linux-x86_64-enterprise-suse11-2.6.10/bin/mongodump --host localhost:27017 --authenticationDatabase admin --username admin --password ...
0
votes
0answers
52 views

MongoDB won't keep running in a Docker container

I want to set up a MongoDB Docker container which would work based on a configuration file I specify. Here it is: storage: dbPath: /data/db/mongodb journal: enabled: true systemLog: ...
0
votes
0answers
17 views

How to get connect to MongoDB in Java without specifying it database name in the URL?

I am using the following mongodb driver. <dependency> <groupId>org.mongodb</groupId> <artifactId>mongo-java-driver</artifactId> <version>3.0.2</version>...
0
votes
0answers
35 views

Cannot start mongo - Mongo killed

I tried to migrate my Mongo installation from 14.04 to 16.04 using a new LXD Container. I used the previous configuration file that can be found below. mongod.cnf # mongod.conf # for ...
0
votes
0answers
48 views

Unable to add a mongod server in local network as shard

I'm trying to build a small cluster using mongodb sharding. In node1 and node2, mongod is started. In node1, config server and mongos are started. All listening 0.0.0.0 with exclusively allocated ...
0
votes
0answers
29 views

How to create a pem certificate for a mongo server that is accessed from different domains

I have a mongo server on aws. The server has both internal and external addresses. I enabled ssl on the server and create a CA and a mongo server certificate and a client side certificate. https://...
0
votes
0answers
40 views

How to find which db/collection/query triggers disk read?

We're running a MongoDB 3.0 server with multiple users accessing it and we're experiencing very frequent disk reads by mongod process utilizing our SSD drives to 100% During these peaks the page ...
0
votes
0answers
45 views

MongoDB or mongoclient not closing connections

I'm having an issue with our mongodb server having too many connections open. We have tracked down the problem to be related to the incoming connections from the vhost with the php server. sudo lsof ...
0
votes
0answers
72 views

No Reachable Server Error when migrate our parse app using mongodb URI

am using mongodb version 3.0.11 on ubuntu server, but when I migrate our existing parse app in aws for production, after installing mongodb on ubuntu server when click on migrate button after changing ...
0
votes
0answers
19 views

rsyslog capturing apacher logs in mongodb

I am trying to send my apache logs to mongodb via rsyslog My rsyslog.conf looks like this: module(load="imuxsock") module(load="imklog") module(load="imfile") module(load="ommongodb") input(...
0
votes
0answers
4 views

Seamless migrate MongoDB instance to another server,

Currently, my MongoDB server is running at EC2 instance. Due to the budget issue I have to migrate it to another VPS provider. However, the data in the MongoDB instance is changing all the time. ...
0
votes
0answers
19 views

changing MongoDB process user on Ubuntu

I'm writing an installation/configuration script for MongoDB. I want to change the user account under which mongod will run. Looking at /etc/init/mongod.conf I see this line: DAEMONUSER=${...
0
votes
0answers
13 views

error while creating replication sets in mongodb

I have 3 servers with mongodb instances and running in replset mode. I followed this article for deploying MongoDB on Azure and this MongoDB article about replica sets. When i try to add secondary ...
0
votes
0answers
72 views

MongoDB setup for Rocket.Chat error message

I'm following this tutorial for a Rocket.Chat setup on an Ubuntu 14.04 LTS installation. After installation of Mongod, it says to setup a replica set and gives the instructions to insert the following ...
0
votes
0answers
131 views

MongoDB high page faults every 15 minutes, delayed readers

We have a relatively small MongoDB production replicaset. We do about 100 operations per second -- balanced reads and writes. Every 15 minutes or so we see a spike in response time on reads, and in ...
0
votes
0answers
62 views

Mongodb, we can't go over 100 insert/sec on 200iops HDD

Thanks in advance for your help, we get a strange behaviour in mongodb. So we have a cluster of 20 shards, each composed of 1 master and 2 slaves. This database has a heavy load of write only. However ...
0
votes
0answers
22 views

Mongodb sharding with differently specc'd hardware questions

I'm interested in implementing a sharding setup as cheaply as I can manage for an application that doesn't have much stored at the moment but could grow in future. I wonder what difference it would ...
0
votes
0answers
60 views

mongodump on mongos : Shard not found for server

Trying to mongodump a mongodb 3.2.1 cluster with : - 3 mongos on port 28018 + keyfile internal auth (one shard on rs0) - 3 mongod_config servers on port 28019 using keyfile internal auth + auth - 3 ...
0
votes
0answers
49 views

AWS MongoDB 3.0.6 replicaset - Primary server becomes unresponsive to connections and read timeouts

We have an existing MongoDB replicaset deployment in which all the servers are running on version 3.0.6 on AWS Linux machines within a private VPC. This mongodb version has been deployed since ...
0
votes
0answers
65 views

Mistakenly upgraded MongoDB 2.6 straight to 3.2

I upgraded a dev box form mongo 2.6 to 3.2. I had every intention of upgrading to 3.0 and then 3.2 as per the docs, but thanks to a glorious bit of lack of attention ended up just upgrading straight ...
0
votes
0answers
66 views

Upgrading mongoDB shard to 3.2

mongoDB's Upgrade Recommendations for upgrading a sharded cluster from 3.0 to 3.2 only describe to scenario of upgrading the shard members one at a time, which I can understand is what most people ...
0
votes
0answers
218 views

MongoDB 3.2 on Windows 8.1, I can not start the service

I am running mongoDB 3.2 the OS is Windows 8.1. I can not seem to start the net service for MongoDB I started Mongod OK and it is listening I started Mongo as well MongoDB shell version: 3.2.0 ...
0
votes
0answers
229 views

Failed to authenticate with mechanism MONGODB-CR AuthenticationFailed MONGODB-CR credentials missing in the user document

When i have to connect remote database in Mongodb getting error on log using robomongo database. tail -f /var/log/mongodb/mongodb.log 2015-10-03T00:29:51.275-0500 I ACCESS [conn25] Failed to ...
0
votes
0answers
44 views

Nginx/Passenger (with Rails, Capistrano and MongoDB replica set)

I've encountered a problem with a Ruby on Rails application that runs under Nginx/Passenger and connects to MongoDB replica set. Everything worked fine until suddenly the application stopped ...