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

learn more… | top users | synonyms (1)

3
votes
0answers
230 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
721 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
65 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
258 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 ...
2
votes
0answers
631 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
77 views

“MongoError write EPIPE” in Parse-Server Installation

I'm helping a friend with migrating a Parse app to a dedicated server as opposed to a hosting provider, and I've gotten stuck trying to resolve an error that I THINK is happening in the Parse Server ...
1
vote
0answers
28 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
23 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
37 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
99 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
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
73 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
176 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
283 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
113 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
262 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
199 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
45 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
823 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
115 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
239 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
795 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
13 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
12 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. ...
0
votes
0answers
15 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
38 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
13 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") ...
0
votes
0answers
3 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
13 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: ...
0
votes
0answers
12 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
38 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
80 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
57 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
21 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
37 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
42 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
55 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
54 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
179 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
204 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
40 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 ...
0
votes
0answers
130 views

Kill Meteor On Ubuntu

I will try to post calmly but really I want to throw my computer out the window. I have resized my digital ocean droplet, and all of a sudden there is a second instance of meteor running, with a ...
0
votes
0answers
10 views

Mongo geoquey on nested element

I have an entity type with an array of elements like this: { id:..., locations:[ { type: "home", location : [ 30.09 , 4.0 ] }, { type: "office", location : ...
0
votes
0answers
34 views

Error reparing mongo db

I have one mongo 3.0.2 database on Ubuntu 14.04.3 LTS. Size of data directory - 3.5 TB. Database worked during several days with failed RAM hardware. Now RAM is replaced with good one, but database ...
0
votes
0answers
42 views

How to monitor MongoDB cursors

I have a MongoDB cluster with 1 PRIMARY and 2 SECONDARY servers. In the last couple of days the number of open cursors has risen from 10-20 a sec to more than 2K and keep rising. I'm getting a lot of ...
0
votes
0answers
52 views

MongoDB: exception: no primary shard configured for db: config, code: 8041

I have set up mongodb sharded cluster with 2 replica set having 3 member each, 3 config server and 2 mongos instance on AWS. I am getting following error I SHARDING [Balancer] moveChunk result: { ...
0
votes
0answers
12 views

MongoDB with ReplicaSet perform updates / compact

I have a MongoDB in ReplicaSet with 1 primary, 1 secondary and 1 arbitrer. I'm doing an heavy update operation on a huge collection (more than 2.5M records), this operation will decrease the ...
0
votes
0answers
34 views

ISSnode not able to reconnect to MongoDB on Azure Webapps

Its weird that ISSNODE is preventing re-connection to mongodb replica set in the following scenario. Primary server goes down and secondary server is set as primary server, at this period the ...