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

learn more… | top users | synonyms (1)

0
votes
1answer
688 views

Wrong php_sufix config variable in MAMP [closed]

I've just installed MAMP and I'm trying to install the Mongo extension via pecl but I'm getting an error: jonesy:bin Billy$ sudo pecl install mongo downloading mongo-1.4.4.tgz ... Starting to ...
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
0answers
113 views

Uninstall Mongo DB completely

I followed the following steps to install MongoDb on my centos machine. http://andres.jaimes.net/876/setup-mongo-php-module-centos-6/ As mentioned at the end of the document, in the phpinfo() the ...
0
votes
0answers
55 views

Node.js server crashes , Database operations halfway?

I have a node.js app with mongodb backend going to production in a week and i have few doubts on how to handle app crashes and restart . Say i have a simple route /followUser in which i have 2 ...
0
votes
0answers
76 views

Using MongoDB + Redis + Apache on the same server in production?

I intend to launch my web app using a 8 GB VPS. It uses MongoDB + Redis for storage/caching and Apache + PHP-FPM for serving requests. Could there be any issues with running Mongo + Redis + Apache ...
0
votes
0answers
84 views

installed mongo using brew but stuck at prompt

I have installed mongo using brew on my mac. When I give mongo command I see this MongoDB shell version: 2.4.6 connecting to: test but it stays there and never give me command prompt back anyone ...
1
vote
0answers
153 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 ...
0
votes
0answers
198 views

CentOS 6 - Mongodb - Invalid access at address xxxx from thread: initandlisten

For starts I looked everywhere online for this, a lot of people have the problem, no one has a working solution. I've installed mongodb using yum and their instructions provided at ...
2
votes
1answer
1k views

MongoDB virtual memory usage

I'm testing MongoDB for archives data. We have a collection with 160M rows. MongoDB instance takes 76.2 Gb virtual memory on a 12 Gb physical memory box ;-) The swap in null. I read that virtual ...
1
vote
1answer
88 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: ...
3
votes
2answers
6k views

/etc/security/limits.conf soft nproc limit appears to be ignored

My MongoDB database was running into problems under load, with the following errors spamming the logs: [initandlisten] pthread_create failed: errno:11 Resource temporarily unavailable [initandlisten] ...
1
vote
2answers
155 views

Multiple Amazon EC2 With Load Balancing And MongoDB

I have an Amazon EC2 server where we run a webapp and MongoDB. We want add a second EC2 server and a Load Balancing to the same region. Load Balancing will redirect all web requests (80 and 443) to ...
0
votes
0answers
93 views

Jboss lost connections to MongoDB “WARNING [com.mongodb] emptying DBPortPool to /x.x.x.x:27017 b/c of error”

I have a few Jboss 5.1 servers which uses MongoDB data set. Till yesterday I had 3 Mongo 2.0 nodes in this dataset. Yesterday I added 2 Mongo 2.4.6 secondaries to this dataset; and after that I see ...
0
votes
2answers
454 views

MongoDB on EC2 - Could not stat /dev/xdf — No such file or directory

I'm following a tutorial for setting up MongoDB on EC2 and I got stuck at the following part: $ sudo mkfs.ext4 /dev/xdf mke2fs 1.42.3 (14-May-2012) Could not stat /dev/xdf --- No such file or ...
2
votes
1answer
52 views

MongoDB Sharding Config and MongoS Storage

In doing this year's budgeting, I need to estimate the capacity needs for next year. We are planning on needing to shard our MongoDB Replica Set out to 4-shards, but I have the disk capacity needs ...
6
votes
2answers
2k views

what does locked % in mongostat mean?

When running mongostat to look at our mongo database, I'll frequently see the locked % number jump up, sometimes as high as 80%. Here's a few example rows: insert query update delete getmore ...
0
votes
1answer
67 views

What's special in restoring a DB in a MongoDB sharded cluster?

I'd like to migrate a DB from a replica set to another which belongs to a sharded cluster. Till now, this cluster has got only 1 shard, and no collection or database is really sharded. I mongodumped ...
1
vote
1answer
281 views

Mongodb - proper way to rotate logs

Mongo docs say that I can: use -SIGUSR1 signal and get the old log renamed and current switched use logrotate from OS I want the OS's logrotate ability to zip old files and remove oldest, but see ...
1
vote
1answer
26 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
211 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 ...
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?
2
votes
1answer
445 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
192 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
3answers
151 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 ...
0
votes
0answers
286 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
108 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
161 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
264 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
2answers
484 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
1answer
128 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
453 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
419 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
85 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 ...
0
votes
1answer
106 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
299 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
363 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
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 ...
1
vote
1answer
95 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
287 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
67 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
72 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 ...
1
vote
4answers
489 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 ...
0
votes
2answers
130 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 ...
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 ...
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 ...
2
votes
2answers
122 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
447 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, ...