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

learn more… | top users | synonyms (1)

2
votes
2answers
655 views

what is best multi-server configuration with OpenVPN

We have a number of Database severs running MongoDB on Debian plus a number of Application servers also on Debian. The db servers hold replicating db clusters, so they need to talk to each other. ...
2
votes
1answer
311 views

Error while compiling PHP extension

Im trying to install a php extension that is written in c and make use of mongodb c driver. I have been trying for the last 2 days to compile and install the extension however im getting the same ...
3
votes
1answer
949 views

How do I network this Windows Failover Cluster and MongoDB Replica Set? (diagram inside)

As you can see, my two Windows Server Failover Cluster (WSFC) nodes have three network interfaces each, which connects them to three different networks : A public network A private network ...
2
votes
3answers
266 views

Varnish Cache logging to MongoDB

I want to stream Varnish's log into MongoDB for realtime reporting. Can this be configured directly within Varnish or can the official Varnish-Agent (https://github.com/varnish/varnish-agent) be used ...
0
votes
0answers
257 views

Setting up MongoDB in High Performance Computing LSF linux cluster

I am trying to run mongo in a LSF cluster computing environment where I have no admin control. Our sysadmin installed mongodb, but it is not running. Any ideas on what should I ask the server admin ...
0
votes
1answer
81 views

replica set with multiple primary nodes

I am trying to configure a replica set with three nodes: node A, B and C. I execute the rs.add()'s from node A and after that rs.status() shows that the three nodes are PRIMARY. Moreover node B and C ...
2
votes
1answer
211 views

Using mongodump with an auth enabled mongodb server

I'm trying to do a daily backup of my mongodb server (auth enabled) using the mongodump tool. mongodump provides two parameters to set the credentials: -u [ --username ] arg username -p [ ...
4
votes
1answer
3k views

SocketException in Mongo logs

We are running mongo for 4 months so far , But lately I am seeing a lot of SocketException handling request, closing client connection: 9001 socket exception [2] server [127.0.0.1:58996] How can I ...
2
votes
1answer
648 views

non-mapped virtual memory & total number of connections

We have two MongoDB data nodes (replica set) - Primary & Secondary. I noticed that the non-mapped virtual memory is relatively high and wondering if they are hurting our MongoDB performance (The ...
1
vote
1answer
151 views

Thread-Safe or Non-Thread-Safe PHP Extension for Windows? [closed]

I am wanting to install the MongoDB PHP extension for Windows for my Dev server to play around with it. Looking at the PHP manual ...
3
votes
1answer
844 views

How to get the MongoDB' current working set size

From the doc , it said "For best performance, the majority of your active set should fit in RAM." So for example, my db.stats() give me { "db" : "mydb", "collections" : 16, "objects" : 21452, ...
2
votes
1answer
195 views

Disk / system configuration for log collection / syslog server

I am looking into building a syslog / logging infrastructure and am pondering about some architecture best practices. Essentially, I see that a syslog system needs to support two conflicting ...
0
votes
1answer
168 views

Large, high performance object or key/value store for HTTP serving on Linux

I have a service that serves images to end users at a very high rate using plain HTTP. The images vary between 4 and 64kbytes, and there are 1.300.000.000 of them in total. The dataset is about 30TiB ...
0
votes
2answers
3k views

How to reset MongoDB replica set settings

I want to start over the configurations of replica, is it possible? How to reset it? In group people saying to remove the database content, but are there any work around?
2
votes
2answers
249 views

Cross-cloud deployment: Servers on azure - Mongodb at MongoHQ (AWS) - known pitfalls?

Looking to deploy an existing Mongodb-backed solution to the cloud for a client. I'm hoping to combine MongoHQ and Azure to use the simplest possible Mongodb deployment together with the simplest ...
2
votes
2answers
817 views

nginx reverse proxy to mongodb rest interface

I'm trying to set up a reverse proxy with HTTP auth that proxies MongoDB's REST interface. So far, I've got this: server { listen 80; server_name tld.example.com; charset ...
1
vote
1answer
245 views

enkive mail archive ldap setup

I am trying to set up mail archiving using enkive with exchange. i have followed the installation of all the prerequisites for enkive. i run enkive with defaults and i get error in the log file Aug ...
1
vote
1answer
285 views

MongoDB: Random Vs Sequential Read Performance

I have a single-instance mongodb with a collection with 3 fields: _id, block_id, payload. Payloads are always 4096 byte binaries _id is an ever-incremented unique integer There is a secondary ...
2
votes
2answers
359 views

Unsure of how to setup two Virtual Machines on Windows Azure to match my desired architecture

I'm in the process of trying to setup a couple Win2008 Server Virtual Machines on Windows Azure (using the VM Preview feature) and I'm not sure how to get my desired "architecture" setup properly. ...
1
vote
1answer
435 views

diagnosing mongodb major faulting and erratic behavior

We have a mongodb instance running on an amazon ec2 large (7.5GB) ubuntu instance (same machine that our node.js server is running from). Traffic has increased a LOT recently and we are starting to ...
2
votes
5answers
4k views

Fast Database to store 1 Billion records [closed]

I am writing a code to store data and want to store 1 Billion to 10 Billion records or even more. Most importantto this is speed (nearly 10000 - 20000 / records per second), SPACE usage and CRASH ...
-3
votes
2answers
191 views

I have a mongod process but i did not install mongodb, what could this be? [closed]

when I do a top I could see mongod in the top consumers: But I do not have mongodb installed: How do I remove mongod? I know I could easily do a kill 571 but it's not neat. Could this be a virus ...
1
vote
2answers
4k views

pnp4nagios is not creating graph for new services / hosts

I have working nagios infrastructure with pnp4nagios. Last days I added new host nosql and alerts of mongodb which is installed there. Host configuration: define host{ host_name ...
10
votes
3answers
2k views

MongoDB and datasets that don't fit in RAM no matter how hard you shove

This is very system dependent, but chances are near certain we'll scale past some arbitrary cliff and get into Real Trouble. I'm curious what kind of rules-of-thumb exist for a good RAM to Disk-space ...
0
votes
3answers
973 views

MongoDB installation in Ubuntu 12.04

I want to install MongoDB in ubantu 12.04, but I don't have any idea to add deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gencode in /etc/apt/sources.list file. I used sudo vim ...
-3
votes
1answer
219 views

Mongodb/Redis setup [duplicate]

Possible Duplicate: Can you help me with my capacity planning? I am contemplating purchasing/setting up a 16gb server which will contain 2 5gb instances of mongodb (multi drive ...
2
votes
2answers
2k views

mongod cannot execute in ubuntu

I am installing mongodb on ubuntu terminal from this url (http://mongojs.org/install-mongodb-ubuntu-11-04-natty) I am on the step where you type in ./mongod when I type that I get the following: ...
7
votes
2answers
4k views

pecl install mongo - keeps compiling with wrong module API

Working with Ubuntu 12.04 here, nginx and php5-fpm I had mongo working well on php 5.3, then I added the ondrej/php5 ppa and updated to php5.4. It kept GD and CURL extensions, but not mongo. I ...
4
votes
2answers
2k views

mongoid connection issue

I've been trying to use Mongoid with Rails on Ubuntu. Mongodb was working fine for me with rails app 3.0 to 3.2, today suddenly, i am getting error ...
1
vote
1answer
392 views

mongodb replication: no primary elected

I have three servers with mongod installed on it running as a replication set. Suddenly the two secondories became unavailable (the mongod process died) - I think because they were too stale. The ...
3
votes
2answers
378 views

mongod fork vs nohup

I'm currently writing process management software. One package we use is mongo. Is there any difference between launching mongo with mongod --fork --logpath=/my/path/mongo.log --logappend and ...
3
votes
1answer
91 views

Is /home a good place to put my (huge) MongoDB data file?

(I'm not too familiar with admin stuff.) My server has two disks/partitions, one mounted on /, the other much bigger one mounted on /home. My MongoDB data file was at /var/lib/mongodb by default ...
1
vote
2answers
254 views

MongoDB on EC2 - Creating a replicaset across DCs

we are trying to get a MongoDB setup in EC2 going. I had a few questions - Should we turn on auth since the MongoDB endpoint will have a public VIP? Any big hit on perf with auth enabled? Best way ...
1
vote
2answers
334 views

What is the standard system architecture for MongoDB

I know this question is too vague, so I would like to add some key numbers to give insights about what the scenario is Each Document size - 360KB Total Documents - 1.5 million Document created/day ...
1
vote
1answer
76 views

mongod: automatically initiate replica-set

Currently I manually execute the rs.initiate() in the shell after starting a mongo primary or secondary machine to join the replica-set "farm". Doesn't the /etc/mongodb.conf allow me to define the ...
1
vote
1answer
32 views

Mongo is not account specific

I have mongo running on my system however I can access all my databases/collections from other peoples accounts. Can I secure specific collections? How do I block access to my collections but not cut ...
1
vote
1answer
239 views

mongodb eating 48G in 1min

In mongodb i work with this collection: Size 55.93g Data Size 39.82g Storage Size 41.08g Extents 53 Indexes 4 Index Size 9.64g It takes few seconds of mongdb being up with this ...
5
votes
2answers
630 views

MMS gets hostname from uname and can't connect to it

I'm trying to get 10gen's MongoDB Monitoring Service monitoring my 3-node replica set. The replica set running in an AWS VPC. Each node runs on a different [virtual] machine. Assume their IPs are ...
2
votes
1answer
143 views

Capture only certain logs with syslong-NG

I'm new to Syslog-ng. sofar I deployed it and it is running fine pushing some logs to MongoDB. Now, what I really want to do is push some logs (e.g. /var/log/secure) to MongoDb while pushing some ...
3
votes
1answer
432 views

MongoDB -what's the safest and most efficient way to change from Master-Slave to ReplicaSet?

I now have two mongo servers with a Master-Slave configuration (all read-writes are done with the Master, the Slave is just a cold backup) serving a pretty demanding web app. I want to switch to ...
2
votes
1answer
689 views

So how does one use rockmongo to connect to a mongo sharded setup with replicasets?

I try to use rockmongo, to connect to our cluster. Our setup is a setup of two shards each consisting of a replicaset. I try to connect to the mongos instance and while rockmongo connects I get an ...
1
vote
1answer
227 views

MongoDB ReplicaSet Elections when some nodes are down

I'm trying to get into ReplicaSet concept, and found something weird in mongoDB Documentation: For a node to be elected primary, it must receive a majority of votes. This is a majority of all ...
2
votes
2answers
230 views

How many mongod instances should I run with a 2 server replicaset setup?

Currently I've got server A and server B running with the following mongod instances: Server A mongod server (usually PRIMARY) mongod arbiter Server B mongod server (usually SECONDARY) When ...
3
votes
3answers
450 views

Recommended way to install mongoDB

We are looking to install mongoDB on Ubuntu 12.04 and are researching different installation options. Currently examining a) apt-get b) retrieving binaries (wget) and manually installing What are ...
2
votes
2answers
276 views

mongo replica set to single server

I have a mongodb replica set and want to move it to a single server setup Is it just as simple as doing a rs.remove() to the other 2 nodes?
4
votes
2answers
230 views

Mongodb ubdate on Ubuntu 10.04 LTS

I installed MongoDB on live VPS to write logs. The server is running on Ubuntu 10.04 LTS and Mongodb version is 2.0.3. I want to upgrade to latest version (2.0.5) but I want to upgrade only MongoDB. I ...
1
vote
1answer
246 views

Random timeouts between zones in Amazon EC2?

I am having issues with tcp connections between two instances in EC2. I thought at first it was the tools I was using (JRuby on Rails stack + MongoDB) when I saw exceptions such as the following in my ...
4
votes
2answers
551 views

MongoDB best practice against constant power failure

Background: I have some AIO application machines, (running ubuntu with rails + mongodb + chromium) in one machine on a mobile coach for displaying information, occasionally user might change chuck ...
1
vote
1answer
1k views

Where does gentoo store mongodb.conf? Want to change dbpath location

This may seem like an innocent enough question, but I can't for the life of me figure out where gentoo puts mongodb.conf after installation from portage. The documentation says to look under /etc/, ...
5
votes
2answers
794 views

Should I install MongoDB using Ubuntu's repository or MongoDB's private repository?

I was reading the MongoDB install instructions and noticed they have a private repository that the instructions tell you to add. I'm wondering if this is really needed because MongoDB is also in the ...