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

learn more… | top users | synonyms (1)

1
vote
1answer
266 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 ...
1
vote
1answer
479 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/ ...
1
vote
1answer
110 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 ...
1
vote
1answer
232 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
398 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 ...
1
vote
1answer
139 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 ...
1
vote
1answer
906 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 ...
1
vote
3answers
195 views

Amazon EC2 High-Memory Extra Large Instance [closed]

I am new to Mongodb and EC2. If I use following single MongoDb server : High-Memory Extra Large Instance 17.1 GiB memory, 6.5 ECU (2 virtual cores with 3.25 EC2 Compute Units each), 420 GB of local ...
1
vote
1answer
720 views

Setting up mongodb via upstart - how to pass options?

I installed MongoDB in an Ubuntu Server VM inside VMware using these instructions: http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/. Everything works fine, and I can access MongoDB ...
1
vote
2answers
273 views

Low priority batch processes on live Mongo database

We want to run MapReduces on our live Mongo database, mainly so that we can extract metrics. However, we've had some bad outages caused by these MRs bogging down the Mongo server (in particular 100% ...
1
vote
1answer
260 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
321 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 ...
1
vote
1answer
34 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
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/, ...
1
vote
1answer
822 views

MongoDB REST interface not listening after update

I replaced the mongodb-10gen install with the Ubuntu package (mongodb-server, mongodb-client and dev). apt-get install mongodb Thereafter, I am now unable to connect to the REST interface, where ...
1
vote
1answer
238 views

MongoDB not replicating properly

I am using mongoDB for my application hosted on 3 amazon instances. I have a got a Primary Node with highest priority (100) and 2 Secondaries with priority 99 and 98. A few days ago I started getting ...
1
vote
1answer
2k views

How to change the default admin username and admin password in RockMongo?

I am using RockMongo admin tool and I can access it usingthe default username admin and admin password settings. I would like to change it however the documentation is a little cryptic. I have even ...
1
vote
1answer
190 views

mongo shell / readline / osx

I would like to get the mongo shell to work with readline under osx lion so it picks up my inputrc and I can get all my funky vim bindings. I tried: scons -j 16 --64 --extralib=readline ...
1
vote
1answer
69 views

AWS use local area IP or public one to network apps?

I have a web server with a separate database server in this case a MongoDB, both are hosted on EC2, but when connecting my webserver to my database server is it best to use the public IP address or ...
1
vote
1answer
490 views

Problems with MongoDB server, (anon):1137 exception connect failed

I have recently installed MongoDB server on Ubuntu. It was working and I use id from PHP too but, I don't know why it started failing. It's the first time I use mongodb so I am a bit lost. Actually, ...
1
vote
1answer
549 views

MongoDB: Fixing ReplicaSet Error on reconfig - “Server::doWork task:rs Manager exception:unauthorized db:local lock type:2 client”

Question: How do I fix my servers and get them back to the normal ReplicaSet with no error messages? I'd offer a serious bounty, but all my points are on SO :( Details of the Problem I'm running a ...
1
vote
3answers
1k views

postfix store emails on mongodb

I need to store the emails received by postfix in mongodb , i red many sites and solution but i didn't find a way to do that. I saw filters and master.cf but i don't know what is the right way to ...
1
vote
1answer
2k views

Getting MongoDB to use max open file descriptors in /etc/security/limits.conf

I've got a MongoDB server that runs out of file descriptors for open connections. I changed the settings in /etc/security/limits.conf so that every user gets a hard and soft limit of 65000 of open ...
1
vote
4answers
343 views

centos + mongo questions

Where does mongo install on centos? I want to remove some databases and file collections as well as uninstall it all together, can anyone help?
1
vote
2answers
1k views

Storing Hundreds of Millions of Records

My company will be coming into possession of a dataset consisting of approximately 200-300 million records. The source material is csv and is about 150GB uncompressed. We would need to perform an ...
1
vote
1answer
63 views

MongoDB Mergelist error in Debian 6.0.9

We installed Ubiquiti UniFi 2.4.6 which installs Mongodb 10gen on Debian Squeeze 6.0.9. This was a clean install, with no other packages installed from the base install (other than SSH). I was able ...
1
vote
0answers
43 views

Migrate standalone Mongo DBs to sharded/replicated cluster

Currently I have several independent standalone Mongo servers. I have Now set up a sharded and replicated Mongo cluster. I plan to copy over all databases from the standalone Mongo servers to the ...
1
vote
1answer
61 views

using cas server with mongodb backend

I 'm new to setting up cas(Central Authentication Service) server. I couldn't find any guides to setup mongodb as backend for CAS server. Is there an adapter to connect CAS and mongodb. BTW, we don't ...
1
vote
0answers
128 views

Can't load Mongo extension in php.ini

I'm having some issues while try to load mongo.so extension at php.ini. Below is what I tried: Compile the mongo extension by following the documentation at php.net for MongoDB site. This resumed ...
1
vote
0answers
648 views

how to integrate between MONGODB & SOLR, using MONGO-CONNECTOR

Like this I started my mongod with replSet mod mongod --dbpath=/home/local/ASSYST-COC/so/mongo --replSet myrep --auth mongo started mongo -u root -p root --authenticationDatabase admin IN ...
1
vote
0answers
223 views

MongoDB Performance Troubleshooting

I have a small MongoDB replica set (2.4.6) and it seems about once a week, the primary gets bogged and the load average spikes up. This app doesn't see a huge amount of traffic. It resides in EC2 ...
1
vote
1answer
206 views

Mongodump segmentation fault when dumping all dbs

I'm running a mongodb(2.0.4) replicaset with one master and two slaves where one is hidden slave for backup. I'm using http://docs.mongodb.org/manual/core/replica-set-architecture-three-members/ When ...
1
vote
1answer
501 views

mongo server does not start on Centos 6.4

I have a mongo server installed and when I try to start it with, always fail. OS: CentOS release 6.4 x86_64 Mongo version: 2.4.8 I have other machines working with the same versión and puppetized ...
1
vote
1answer
70 views

MongoDB Balancer

So I have 2 sharded clusters with 3 servers each.My mongos is running, my config server is running and ive also added test data to 1 of the 2 shard clusters. I am having trouble getting that data to ...
1
vote
1answer
160 views

Changing MongoDB Oplog size

while loading data to mongodb, I keep getting "error RS102 too stale to catch up"... After research I found that my default oplog size for a 32 bit linux machine is too small. I would like it to be ...
1
vote
0answers
210 views

Why mongo pecl module looses its connection after Primary stepDown?

I run an Apache 2.2.22-13 with pecl module "mongo 1.4.4". It connects to a MongoDB 2.4.6 sharded cluster. When a stepDown occurs, the mongo module seems to stay on the mongod node which was the ...
1
vote
1answer
94 views

MongoDB cloneCollection between Azure hosted CentOS servers times out at 2 hours

I'm trying to clone a MongoDB collection from CentOS server A to CentOS server B. Both are running 2.4.6. The copy works great until exaxctly 2 hours, at which point I get a 9001 socket exception: ...
1
vote
1answer
30 views

Query related to production environment

I have configured my production environment with the following details: 1. Three config server 2. Two routers (`mongos`) 3. Two shards of three node replica sets. My question is: I am trying to ...
1
vote
1answer
32 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
1answer
93 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
vote
1answer
296 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 ...
1
vote
1answer
283 views

Quickest/best way to copy a portion of a large mongo database to another server?

I have a dataset of 100m tweets stored in Mongo, unoptimized and unindexed. I need to copy all tweets from the last month onto another server, what is the best way to do this? My idea was to use a ...
1
vote
1answer
77 views

Is it possible to run multiple mongod instances on a single set of database files

We have large multi-gigabyte data sets on which we run very complex queries, for example { $or: [ { id: 30000001, ... }, { id: 30000005, ... }, ..., { id: 30001005, ... } ] } It seems that CPU is ...
1
vote
1answer
28 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
610 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: ...
1
vote
2answers
278 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
1answer
540 views

Very slow MongoDB replica set

I have set up two Mongo instances in EC2 having RAID10. I set up replica set using those two servers and found that this replica is very very slow over network. If I log in locally and issue query ...
1
vote
2answers
209 views

mongod autostart

I have a cluster of mongo servers used for sharding and replicas. If I have to restart a server, would I have to restart the mongod again, or would it autostart? Same for the mongo main server, if ...
1
vote
2answers
222 views

Mongodump from slave only outputs 101 objects

I have a mongo 1.8.3 master/slave setup. slave replication works and tests (collection sizes, query results, updates) all pass. when i am trying to dump a collection from the slave that actually has ...
1
vote
1answer
125 views

How do I troubleshoot apache2 problems?

I apologize if this question is rather basic, but it is seems to be too broad to easily find a solution. I am running apache2 on Ubuntu on a VPS with 768MB of RAM. I am also running MySQL on the same ...