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

learn more… | top users | synonyms (1)

0
votes
1answer
25 views

is it safe to create a snapshot of a volume of a running ec2 instance

I'm running a MongoDB Cluster on 3 Instances on AWS Each instance has 2 EBS attached to it - / [8GB] - /data [50GB] To backup a cluster MongoDB recommends to create a snapshot of the /data driver ...
0
votes
1answer
10 views

mongodb folder size is very big

I installed a mongodb on a Debian Jessie. After some inserts (<100) I checked the size of the folder /var/lib/mongodb/ and the content of the folder is 3.3 GB high. Is this normal? The hard disk ...
0
votes
0answers
11 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. ...
1
vote
1answer
56 views
+50

Install MongoDB extension on a specific PHP version

I have a Debian web server on which I installed Apache/Mysql/PHP5 around ISPConfig 3. I manually installed an additionnal PHP version (PHP 7.0.5) in order to have one website on PHP 5, and one website ...
0
votes
0answers
16 views
+50

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
1answer
18 views

Create a new user for MongoDB inside Docker

I'm using the default MongoDB Docker image and I'm trying to create a new user for the database. I'm currently trying to do it this way: FROM docker.io/mongo:3.2 MAINTAINER <alexandernst> ...
1
vote
1answer
26 views

How to preform a core dump on MongoDB

I am in the process of investigating a potential memory leak within MongoDB, last night I experienced an issue where the resident memory in use, had an unexpect climb to +10GB. I am trying to preform ...
0
votes
1answer
20 views

Mongodb sharded cluster architecture

I have a mongodb cluster on aws. In order to reduce network latency I want to have multiple shards in different regions. In each region there will be the application nodes that connect to the ...
1
vote
0answers
72 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 ...
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
33 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
12 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
1answer
155 views

SELinux setup for MongoDB

I'm trying to install MongoDB on CentOS 7.2 from the mongodb.org repository. So far so good, but the hoster has created a secondary disk (/mongo) for all the MongoDB data files. This clashes with the ...
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. ...
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: ...
0
votes
0answers
12 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 ...
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
votes
1answer
64 views

Sending many record on client startup. Nginx 502 bad gateway too many open files

I have nodejs app that sending > 800 mongodb documents on client startup (execute only when a client access my app for the first time). Nginx as reverse proxy in front of node server. App server ...
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 ...
1
vote
1answer
18 views

Is there any simple way to see which mongodb indexes are being used?

We've accumulated a large number of indexes on one of our mongodb collections, and it would be good to remove some of these if possible. However, it's quite difficult to know which indexes are in ...
0
votes
0answers
65 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
56 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 ...
3
votes
0answers
227 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 ...
2
votes
1answer
82 views

MongoDB sharding: mongos and config servers together?

We want to create a MongoDB shard (v. 2.4). The official documentation recommends to have 3 config servers. However, the policies of our company won't allow us to get 3 extra servers for this ...
0
votes
1answer
41 views

mongodb - authentication failure on phpmongodb with username

I have a problem to authenticating to mongodb. The system is ubuntu 14.04 LTS. I can connect locally: $ mongo mytestdb -u mongotest -p MYPASSWORD MongoDB shell version: 3.2.3 connecting to: mytestdb ...
0
votes
0answers
22 views

MONGO - mongod - no connection to database [duplicate]

i have an testserver running under ubuntu 14.04 with public ip address. On this i have plesk 12.5 and mongodb 3.2. For administration of mongo i installed phpmongodb. Then created an database, an ...
1
vote
2answers
623 views

Cannot connect to MongoDB in docker

Using the official mongo image from the docker hub, I run the following command to get it running: docker run --name api -p 127.0.0.1:27017:27017 -p 127.0.0.1:28017:28017 -d mongo Then from another ...
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
1answer
25 views

chef common recipe multiple roles

i have created a mongodb chef recipe, and i am overriding the default attributes on the recipe from the role. name 'mongo_datanode_jackey' description 'this module is currently under testing...' ...
1
vote
1answer
105 views

Cannot connect to mongodb instance on Azure

I have setup a mongodb server on Azure (on Ubuntu 15.04). The instance works and I can connect to mongodb when ssh'd into the machine by simply using 'mongo'. However, when I try to connect from my ...
0
votes
1answer
32 views

Taring mongodump database produce different checksum

(I am french so sorry for bad english) I am trying to backup my mongo database and check for changes with a sha1 checksum. The problem is that the checksum is not the same. $ mongodump --quiet --db ...
0
votes
1answer
136 views

Unusually large number of httpd processes and high CPU load on MongoDB replica set members

I am investigating a strange behavior on 3 CentOS machines serving as a MongoDB replica set, whereas one of them is also hosting a PHP web app utilizing the MongoDB replica set. The basic setup is as ...
0
votes
0answers
36 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
1answer
117 views

php:5-apache docker image no /etc/php/apache2/php.ini

I just pulled docker image php:5-apache and it runs well and all but there is no /etc/php5/apache2/php.ini file so I can't add extension=mongodb.so even if it is installed with PECL.
0
votes
0answers
41 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
54 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
1answer
42 views

Is there a way to send a mongodump over sftp without using diskspace?

Problem We have a mongo database (on ubuntu server) we need to migrate. However the old server has not enough disk space to store mongodump. Can we send it to another computer skipping local storage? ...
0
votes
2answers
81 views

Mongodb log rotation creates an extra empty log file each time it runs

I configured a new mongodb arbiter recently, and used this to test some new mongo config, using the mongo 3 config syntax, at the same time I tested log rotation on the server. This worked nicely: $ ...
0
votes
1answer
15 views

Simple MongoDB EBS Backup Scheme

Can I get by with standard EBS snapshots to back up my small MongoDB replica set? I have a 3-member MongoDB replica set (~2GiB of data across several databases). I don't anticipate it to grow ...
0
votes
0answers
51 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 ...
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 ...
0
votes
1answer
140 views

MongoDB 3.2 mongod.conf master/slave replication cant be configured via mongod.conf

I need to setup master/slave replication for mongodb 3.2 server. Servers are Centos 6.7 and mongodb is latest 3.2 from offical RPMS. My /etc/mongod.conf is pretty much with default options from the ...
-1
votes
2answers
246 views

Can't connect to any remote mongoDb

I'm running ubuntu 14.04 and am unable to connect to any remote mongodb server on my home network. I'm pretty sure it worked only a month ago. Furthermore, I have no problems connecting from my work ...
2
votes
1answer
410 views

Mongodb install fails in Ubuntu 14.04 docker container

I am trying to install mongodb on ubuntu 14.04 in a docker container, using the following steps from the official mongodb guides in my Dockerfile: RUN sudo apt-key adv --keyserver ...
1
vote
2answers
136 views

Stop mongos process

May be a dumb question, In a sharded database configuration, I launched my mongos with the following command : mongos --configdb config1:27019,config2:27019,config3:27019 I now need to stop mongo ...
0
votes
1answer
73 views

mongodb sharding - launch mongos with mongos.conf

We are currently setting up a sharded cluster with MongoDB, config servers have been set up using a configuration file : mongod.conf pointing out alternative paths for data and logs folders : ...
0
votes
2answers
41 views

mongo replica set unable to import the example restaurant json

I'm new to mongo and I have just set up a replicaset localy on my laptop. I'm trying to import the demo database of restaurants from here : ...
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 ...