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

learn more… | top users | synonyms (1)

-2
votes
1answer
211 views

MongoDB Crashed,Not able to start it again [closed]

Mongodb fail to start after showing this error...and not able to start it again..?Can u help me find out? *** glibc detected *** /usr/lib/mongodb/mongo: corrupted double-linked list: ...
5
votes
1answer
635 views

Multiple MongoDB instances on same server

We set up a MongoDB development server on CentOS 6.3 and were able to separate different projects by using separate config files and rc scripts. Now we're looking at setting up a MongoDB production ...
1
vote
1answer
27 views

Understanding mongod log entries

Can anyone explain the numbers in the % column, in this mongod log snippet ? It is building a new index but I'm not sure I understand why the numbers look like that Tue Nov 20 11:38:08 ...
1
vote
1answer
255 views

How to install 64bit version of Mongodb

How can I install the 64bit (x86_64) version of MongoDB? I've specified in the 10gen.repo the 64bit: baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64 But when I run: yum install ...
1
vote
1answer
578 views

How to set Mongodb

I'm trying to set up Mongodb on my vps but when trying to start it: service mongod start It returns this error: Starting mongod: /usr/bin/mongod: error while loading shared libraries: ...
0
votes
2answers
680 views

Is it possible to upgrade Ubuntu 10.04 32bit to 64bit with out reinstall OS?

My VPS server is running Ubuntu 10.04 32bit now, but I have to upgrade my OS to 64bit because of the 32-bit limitation of mongoDB. But if i reinstall the system, there are a lot of programs need to ...
3
votes
1answer
494 views

Rails/Mongo across multiple different geo-regions

I have a system that by necessity requires physical presence in three or more different locations and I need advice on structuring in such a way that my database stays replicated in a timely manner ...
3
votes
2answers
404 views

Is rest=true a must for MongoDB's replicaSet setup?

I see there are a lot of tutoirl on the internet suggest to add the rest parameter mongod --rest --replSet myset Are there any side effect if I don't use them?
1
vote
2answers
143 views

Mongo Scripting the shell

On my production stack, I have a front-end server and a Mongo server. I would like to be able to set a cron job on the front-end server to create some logs daily. I wrote a script that does this: ...
2
votes
1answer
232 views

Mongodb Slave replication lag

We using standard mongo setup: 2 replicas + 1 arbiter. Both replica servers use same AWS m1.medium with RAID10 EBS. We experiencing constantly growing replication lag on secondary replica. I ...
2
votes
1answer
84 views

MongoDB PHP EC2 Setup Configuration

I am new to web development and server set up. I am looking for some advice or a link to a tutorial on setting up a production system up. Right now, I have a server (Ubuntu, Apache, MongoDB, and ...
2
votes
3answers
196 views

Drop in solution for logging to DB

I'm considering setting up our servers to log to a Mongo Database rather than log files. Logs will then be all on one server, queryable, and overall easier to manage. I'd love to find a solution that ...
0
votes
1answer
227 views

How to upgrade a single instance's size without downtime

I'm afraid there may not be a way to do this since we're not load balancing, but I'd like to know if there is any way to upgrade an EC2 EBS backed instance to a larger size without downtime. First of ...
0
votes
3answers
158 views

How to choose NoSQL database engine?

We have a database with following specs: 30k records, 7mb in size 20 inserts/second 1000 updates/second 1000 range selects/second, by secondary index, approx 10 rows each needs at least one ...
3
votes
1answer
954 views

Is it possible to recover MongoDB databases from .ns and .0, .1, . … files?

I have a MongoDB 2.0.4 installation on Ubuntu 12.10. Recently I had some problems connecting to the database from the outside, and figured out there was something which prevented MongoDB from starting ...
2
votes
2answers
678 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
328 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
992 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
281 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
264 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
84 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
236 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 [ ...
5
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
730 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
164 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
955 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
202 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
177 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
4k 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
261 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
954 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
252 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
308 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
406 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
457 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
5k 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
206 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
5k 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
989 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
224 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: ...
8
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
3answers
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
473 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 ...
4
votes
2answers
430 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
92 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
271 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
364 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
81 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 ...