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

learn more… | top users | synonyms (1)

0
votes
1answer
781 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
229 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
600 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
97 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
230 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
197 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
662 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
649 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
135 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
480 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
126 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] ...
5
votes
1answer
382 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
1answer
122 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
991 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
160 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
949 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
24 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
499 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
358 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
266 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
72 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
109 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
633 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
3k 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
285 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
548 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
250 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
2k 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
194 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
164 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
2k 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
1k 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
146 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
2answers
115 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
201 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
220 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 ...
2
votes
1answer
114 views

Remove a secondary from a mongo replica set without triggering re-election?

I had to add a new secondary node to my replica set yesterday so that I could do maintenance on another secondary node. Now that the maintenance is complete, I'd like to remove one of the secondaries ...
2
votes
2answers
665 views

Install mongodb as a service on Windows 8 [closed]

I am trying to install mongodb as a service on Windows 8. I am using the following command to install Mongodb. C:\mongodb\bin\mongod.exe --auth --config C:\mongodb\mongod.cfg --install And I am ...
2
votes
1answer
216 views

MongoDB CPU usage in top is confusing

I have an Ubuntu 12.04 VM running in VirtualBox that has a whole MongoDB cluster on it (4 data nodes, one config node, and a mongos router). When I look at "top", I see that each of those processes ...
0
votes
1answer
247 views

MongoDB default port change

I want to change the default port of MongoDB in Ubuntu 12.04 for security purposes. How can I achieve this?
-1
votes
2answers
174 views

Fresh MongoDB Using 100MB of Virtual Memory? [closed]

I'm having a problem with virtual memory usage using MongoDB on a server. NOTE: I have only a local user account without root privs. The server's VM limit (from ulimit -v) is 120MB. With an empty ...
0
votes
3answers
508 views

MongoDB: two nodes & primary election

According to Mongo documentation in order to safely deploy a replication set, you need at least two active and one arbiter because election of the a primary needs the majorities of the votes. Let's ...
0
votes
1answer
520 views

Thread Safe php-pecl-memcache and php-pecl-mongo

I'm looking to switch a Fedora server running Apache from prefork to worker. Everything seems to be fine except the php libraries for Mongo and Memcache. Has anyone had any success getting these to ...
0
votes
3answers
537 views

EC2 servers are slower than local machine

We have been trying to do some performance benchmarking for our webapp written using python that uses mongodb heavily and we have found the following. We tried using 1st Gen Extra Large ec2 servers ...
0
votes
2answers
705 views

Mongodb keeps reporting “no primary found”, but shell works fine

I have a simple mongodb setup in a replicaset, with 1 actual instance and 1 arbiter (to avoid conflicts). This is in anticipation of expanding the replicaset to include more instances as our load ...
1
vote
4answers
55 views

Mongo security users & ports

As long as my mongo port is not accessible to the outside world and only available locally, can I go about without securing my database with a username and password?
4
votes
1answer
149 views

mongo and app server cpu

The beginning: We are using uwsgi and I decided to switch our configuration to use more workers/processes. Why: We have been seeing a traffic increase lately and in my tests with apache benchmark, ...
1
vote
1answer
1k views

How much of hardware resource is required for Graylog2? [closed]

We've mounted a graylog2 dedicated server (with a rails unicorn, mongodb and eleasticsearch) on a virtual machine with 2gigs of ram a couple days ago. RAM Consumption just keeps climbing, I am ...
2
votes
1answer
371 views

PostgreSQL and Mongodb in production

We have a product that uses Postgres for RDBMSish data (accounts, billing, etc.) and MongoDB for each of the accounts data (which obviously can't be maintained on Postgres). In local development we ...
0
votes
1answer
103 views

EC2 and Mongo, best practices

When hosting web applications with EC2 is it best practice to use a separate EC2 instance for the database (mongo in this case) or is it ok just to keep the web server and database server on the same ...