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

learn more… | top users | synonyms (1)

1
vote
1answer
210 views

Very high disk IO on Mongodb Config servers

Perhaps someone could tell me if this is expected or not (It doesn't seem normal to me)... On all 3 of my config servers I am seeing consistent high disk IO, even when the sharded-cluster has ...
2
votes
1answer
430 views

Can I use MongoDB with Amazon EC2 small instance?

I want to move my MongoDB from a virtual server to amazon web services. I know MongoDB provides a preconfigured AMI, with three provisioned EBS volumes. But this is only available for m1.large ...
1
vote
1answer
191 views

MongoDB getting OOM killed

we are running a mongodb replicaset on three machines. All three machines have around 16GB but only 255MB Swap. Swappiness is left on it's default value 60. The machines are running CentOS 6.4. The ...
0
votes
2answers
398 views

Installing Mongo driver for PHP using Puppet+Vagrant

I'm playing around with Vagrant and Puppet, provisioning a development machine for a project based on Apache/PHP/Mongo. I have all components setting up correctly (using modules from Puppet Forge), ...
0
votes
1answer
107 views

How could I avoid having 90 CPU Load only by pressing F5 on my browser?

I have a php website and If I press on F5 on my browser I get this CPU load : $ w 11:34:54 up 16 days, 1 min, 5 users, load average: 90,81, 32,02, 12,57 It come from every pages on my website ! ...
0
votes
1answer
158 views

server load too high on mongodb server

I have a mongo server on ec2 and its storing some collection which is having 12+ millions documents. Their are 7 other instances trying to fetch some documents from the mongo server. Also their are ...
0
votes
1answer
258 views

How good is this MongoDB/EC2 setup? [duplicate]

Hi, I wondered what was a good setup for AWS/MongoDB in terms of machines and the sizes of their disks. Current setup 3 micro machines for the config servers, 1 mongos and arbiters. The 8Gb limit ...
1
vote
1answer
31 views

Mongodb spamming log

I found that mongod writes [snapshotthread] cpu: elapsed:4000 writelock: 0% continuously. So it one day log now about 2Mb. What does it mean and how to disable this?
1
vote
2answers
480 views

How to check if mongodb metadata's integrity?

I had to replace a mongodb config server in a cluster that contains only 1 shard. By mistake, I started the new config server without any data and got the following message in the logs: ...
0
votes
0answers
284 views

authenticating mongodb from a remote machine with ssh tunnelling

I have mongo db running in a remote server (debian) with authentication on. I need to connect to it with UMongo (UI tool for mongodb) from my local machine (windows) to visualize the data. I have not ...
0
votes
1answer
126 views

Failure to connect to MongoDB - couldn't connect to server

I am using a reverse-ssh tunnel to make a DB behind firewall available from remote machine. But here is the intriguing part: From AWS server with ssh tunnel to DB behind firewall: connecting to IP ...
0
votes
1answer
452 views

How to install mongodb on SUSE Linux Enterprise Server 10 (x86_64)

I download mongodb for distrubution SUSE Linux Enterprise . . I downloaded mongodb from link http://downloads.10gen.com/linux/mongodb-linux-x86_64-subscription-suse11-2.4.5.tgz and extract it to ...
1
vote
1answer
152 views

ec2-consistent-snapshot mongodb - mongod.lock file

I'm trying out ec2-consistent-snapshot with --mongo --freeze-filesystem options. The snapshot itself works great. However, after I restore the volume and try to use it with a new instance, when I ...
0
votes
2answers
417 views

Setting up MongoDB for multi-db authentication

I have a MongoDB that has the regular authentication setup so you need a username and password to connect to the database (auth=true in the configs). The problem I'm running in to is that I have some ...
1
vote
1answer
84 views

Nginx PHP Consistently Slower than Apache 2.2

NOTE: I asked this first on StackOverflow and was sent here. I hope the repetition is OK. In doing load testing comparing Apache 2.2 and Nginx 1.2.6 running using fully stock packages on Ubuntu ...
-1
votes
1answer
154 views

10gen mms monitoring service to start after reboot [duplicate]

I have setup MMS agent for my mongoD instances on AWS. MMS Agent is on a separate t1.micro instance. It all works fine however, every time I reboot the server I have to run sudo nohup python agent.py ...
0
votes
1answer
105 views

How to configure a MongoDB configsvr and arbiter on same instance?

I am setting up an arbiter onto the same machine as a config server, but having some trouble with the default 10gen /etc/init.d/mongod file. I tried creating an additional /etc/init.d/mongod-arb for ...
1
vote
1answer
296 views

mongorestore from stdin

On a remote server I have a file which is the mongodump output compressed, let me say a file called mongodb.tar.gz. Inside mongodb.tar.gz there is a directory structure like this: dump/dbname/ ...
0
votes
1answer
358 views

Move Mongo Database to a different location

I want to run MongoDB on an Amazon EC2 off the local drive and default folder and move all data files, log files, on mounted raid5 ebs drive. I have already tried both methods: 1- edit the ...
1
vote
1answer
93 views

Re-mount EBS vol on EC2 instance

I am new to sysadmin. I am trying to launch a EBS-backed EC2 instance. I did the following based on mongodb docs: sudo mdadm --verbose --create /dev/md0 --level=10 --chunk=256 --raid-devices=1 ...
4
votes
2answers
286 views

How to change the master in a MongoDB cluster without restarting the process?

Reading the documentation of MongoDB about how to configure a master-slave configuration of a cluster (our cluster will have more than 12 nodes, so unfortunately we can't have a replica-set ...
0
votes
1answer
65 views

Mongodb over Lustre?

I need to install a mongodb instance with a lot of data storage. We have a Lustre FS with hundreds of terabytes, but when monogdb start show me this error: Mon Jul 15 12:06:50.898 [initandlisten] ...
0
votes
0answers
71 views

Intall MongoDB extension for PHP using ElasticBeanstalk config file

I created a config file with this content: container_commands: 01-command: command: pecl install mongo ignoreErrors: true And it worked. But I think that every time I deploy a new version ...
5
votes
1answer
252 views

How can I filter MongoDB Replica Set Heartbeats with tcpdump?

Occasionally, when troubleshooting the health of a replica set, I'd like to filter out the heartbeat packets specifically, track them going out, and the subsequent reply (or lack thereof) without all ...
0
votes
0answers
27 views

Installation of PHP 5.3+ on RHEL 5.5? [duplicate]

I have a problem with my PHP. I am currently running on RHEL 5.5 and I would like to install php 5.3+ along with compatible php-devel package. On further research/reading, I found that PHP 5.3+ can ...
0
votes
1answer
96 views

Deb 6: Can't install Mongodb 64; uname -m and arch both return x86_64

As the title suggests, in bash the commands uname -m and arch both return x86_64, suggesting to me that I'm on a 64bit OS and processor. But, when I use aptitude or apt-get to install the package ...
1
vote
4answers
481 views

Restarting MongoDB automatically if it crashes

I am running MongoDB on an Ubuntu server. It's using an upstart script to start mongod when the machine boots. I noticed that if the process crashes, it doesn't get restarted. How can I make sure ...
2
votes
2answers
121 views

With 3 production nodes, why Mongodb complains about even voting nodes?

I run a mongodb sharded cluster with 1 shard, 1 replica set (2 secondaries, 1 primary, 1 delayed slave). Frequently, the following message appears in the logs: [rsMgr] replSet total number of votes ...
0
votes
1answer
444 views

MongoDB new replica set node not coming online

After adding a new MongoDB replica set node on the primary I get > rs.status() { ... { "_id" : 2, "name" : "nde3.test.com:27017", "health" : 1, ...
0
votes
1answer
23 views

How do you deny a user access to a certain collection in mongo?

I have several collections that I would not like certain users to see. How would I go about "hiding" them or blocking a user from viewing?
0
votes
2answers
307 views

Problems with running a node.js application using mongoDB on a VPS running CentOS

I have registered a VPS with DirectAdmin, running CentOS and I'm using a domain which I registered from a different site. I've done the necessary configuration to make the domain display the default ...
1
vote
1answer
190 views

MongoDB is not using all of my system memory for working set?

My machine has 42GB RAM, and the total index size is 40GB (working set should be 100% filled as the indexes are all on UUID columns). I suspect my working set is too large as the page fault started ...
2
votes
2answers
185 views

Cannot Restart MongoDB 2.4.3 on Debian 6.0.7 (32-bit)

I installed MongoDB on a Debian VM using apt-get from the 10gen repository. Some time after the install, I wanted to enable authentication in the configuration file, but when I ran service mongodb ...
2
votes
1answer
58 views

Add new shard - always best? [closed]

In our setup, we currently have 3 shard set sharded cluster, each shard being a replica set of 3. Our writes are about to go up significantly to implement a new feature, and we know the extra data ...
2
votes
1answer
78 views

Mongodb production server too slow compared to staging

We have two sets of db and app servers running on Rackspace VPS. Production and Staging. The app is on Rails and db is MongoDB. While staging(with as many documents as prod, 55k) works just fine, ...
0
votes
1answer
536 views

Should you compact your MongoDB frequently?

I have read a post from Parse [1] that you can run compact in order to save the index size on the MongoDB. Our total index size is 10GB, and our total memory memory is 12GB, as you might know the ...
6
votes
3answers
2k views

node.js, mongodb, redis, on ubuntu performance degradation in production, RAM is free, CPU 100%

As the question title suggests, I'm having an hard time to figure out what can be improved on my application(or tuned in the os, ubuntu) to achieve an acceptable performance. But first I'll explain ...
1
vote
1answer
198 views

Strange behaviour starting process with init script

I'm seeing some strange behaviour when starting a process with an init script. Most likely I am doing something stupid, but perhaps someone could let me know what might cause this behaviour: ...
1
vote
2answers
276 views

Mongodb sharding - Init script for mongos process?

I've been running mongodb as a replica set, and have recently attempted to move to a sharded cluster. One thing I'm a little unsure about is how I should be starting the mongos process. Previously I ...
0
votes
2answers
129 views

Should I disable turn off MongoDB profiler in production machine?

The default according to [1] is collect profile data when execution time > 100ms But one of the issue is when majority of queries' execution time > 100ms, our system start to overload and I am not ...
0
votes
1answer
972 views

Removing MongoDB from Ubuntu

I recently started to mess with setting up ReplicaSets. After some testing and playing, I was wanting to remove MongoDB and all settings, and start with a fresh install on all systems to get it ...
0
votes
1answer
128 views

What causes SocketException (9001) handling request in node.js app and MongoDB ReplicaSet?

I have a simple node.js application that makes a single call connection call to my ReplicaSet. Things were actually working fine earlier today and nothing was changed in the application, now my ...
1
vote
1answer
119 views

mongodb mystery crashes with sigkill under strace

I have a mongodb instance that seems to crash roughly once a day. I don't see any useful information in the mongo log file. All is well and then the process is just crashed with no additional ...
2
votes
1answer
944 views

How to tune system settings for mongoDB on Linux?

Trying to squeeze a lot out of one question here -- please bear with me. Although the MongoDB man pages make several useful recommendations about system settings like ulimit ...
0
votes
1answer
789 views

MongoDB Locking - Very, very, slow to read

This is the output from db.currentOp(): > db.currentOp() { "inprog" : [ { "opid" : 2153, "active" : false, "op" : "update", "ns" : "", ...
0
votes
1answer
101 views

Error getting data from Mongo Monitoring Service - ConnectionFailure: unknown encoding: idna

I am having issues installing MMS. I have it installed on an agent. I can connect to a mongos instance from the server the agent is installed on. In the agent log, I see the following messages ...
0
votes
1answer
38 views

Express App Cannot Connect to valid MongoDB, Can Connect Using `mongo <ip_address>`

x-posted I have an app in production that has been running for about a year. It's had it's fair share of ups and downs, but I haven't had a problem with it for a while. The Linode server decided to ...
0
votes
2answers
76 views

remove a mongodb replica set when into a sharding cluster

I have this configuration: mongos> db.adminCommand('getShardMap') { "map" : { "RS13" : "RS13/mongo09-02:27003,mongo09-01:27001", "RS13/mongo09-02:27003,mongo09-01:27001" : ...
0
votes
2answers
142 views

MongoDB Failover Time

I have a MongoDB 2.4 replica set of six nodes and an arbitrator running in a test environment. I was testing the fail-over response time and it was around forty-five seconds. Keep in mind, reads are ...
2
votes
1answer
142 views

LVM+MongoDB. Dropping in speed of backup creation

Till recent time we have been making mongo backups archiving LVM snapshot on hidden SECONDARY server with RAID10 on SAS disks. Currently operation on making snapshot from volume with 500 Gb of data ...