Questions tagged [mongodb]

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

MongoDB is a document oriented database. It's coded to be fast, scalable and supports natively solutions like sharding, replication, Map/Reduce and storage of files on the DB.

MongoDB doesn't uses SQL, making it a NoSQL database, its data is retrieved using a dynamic query system and returns JSon-style data.

889 questions
8
votes
2 answers

How can I exclude a package from yum-cron but not from manual "yum upgrade"?

I've just gone through my servers and installed yum-cron (and then enabled with chkconfig yum-cron on since that doesn't seem to happen automatically). Now I realise that I'm running a MongoDB cluster and that automatically upgrading the…
Nic Cottrell
  • 1,302
  • 16
  • 32
8
votes
7 answers

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 that if it crashes, the mongod process is restarted?
Flavien
  • 367
  • 1
  • 2
  • 8
8
votes
2 answers

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 know the cause of this error ? Is it related to…
Dina Abu-khader
  • 141
  • 2
  • 2
  • 7
8
votes
2 answers

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 192.168.1.1 (primary or secondary), 192.168.1.2…
Adam Monsen
  • 725
  • 1
  • 7
  • 24
8
votes
4 answers

Using mongodb tools (mongodump, mongorestore) from another machine

I have a mongodb server (A) and a http server (B). I would like to run mongodump and mongorestore commands on http server (B) to backup data on server B. But these tools comes with mongodb installation and i don't want to install mongodb to my http…
edigu
  • 271
  • 1
  • 3
  • 11
8
votes
5 answers

How to make a secure MongoDB server?

I'm wanting my website to use MongoDB as it's datastore. I've used MongoDB in my development environment with no worries, but I'm worried about security with a public server. My server is a VPS running Arch Linux. The web application will also be…
Earlz
  • 1,019
  • 5
  • 13
  • 29
7
votes
3 answers

Why doesn't MongoDB automatically restart?

It seems like MongoDB 3.6 isn't automatically configured to restart if it crashes. Looking at the systemd service that is bundled with the latest .deb package for Ubuntu 16.04LTS it doesn't seem to have restarts configured: $ sudo systemctl cat…
four43
  • 2,765
  • 2
  • 16
  • 17
7
votes
4 answers

Unable to rsync due to broken pipe

I'm trying to mirror a large Mongo database between from a production server to a dev environment by stopping Mongo on both servers and then running the command: rsync --archive --delete --recursive --verbose --compress --rsh "ssh -t -o…
Cerin
  • 3,600
  • 19
  • 61
  • 79
7
votes
1 answer

Understanding IXSCAN and COLLSCAN in MongoDB logs

I'm attempting to grep through some Mongo logs in an attempt to find slow operations that I need to optimize. Slow query logging is at the default and is logging operations over 100ms. I think that it's safe to say that generally speaking a…
Antonius Bloch
  • 4,680
  • 6
  • 29
  • 41
7
votes
1 answer

Does MongoDB need to be restarted to reload a CRL?

I'm running a MongoDB replica set with TLS/SSL. I'm also using a CRL to block revoked certificates for clients. Relevant configuration of a replica set member follows. net: ssl: mode: requireSSL PEMKeyFile: /opt/member.pem …
Rafa Viotti
  • 174
  • 10
7
votes
1 answer

mongod: symbol lookup error: mongod: undefined symbol: _ZN5boost6detail13once_epoch_cvE

Iam having trouble with my mongodb install : when I run sudo mongod, I get mongod: symbol lookup error: mongod: undefined symbol: _ZN5boost6detail13once_epoch_cvE uname -a Linux xyz 3.2.0-4-686-pae #1 SMP Debian 3.2.65-1+deb7u2 i686 GNU/Linux which…
3agelx45
  • 93
  • 5
7
votes
2 answers

Installing multiple mongoDB versions on the same server

I have installed a 2.4 mongoDB version and I'd like to compare against the recently released 2.6 version. I want to know if possible to do a clean new install rather en an update to see if those two version can co-exist in the same server. I'm using…
pedrommuller
  • 279
  • 5
  • 14
7
votes
1 answer

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 databases are much larger than the 16GB, but that's…
bjoernhaeuser
  • 171
  • 1
  • 1
  • 2
7
votes
5 answers

NoSQL databases for PHI?

Are the fast, document-based NoSQL solutions--MongoDB, Cassandra, CouchDB, etc--appropriate for PHI data? They have performance advantages compared to RDBMS for sure, but in general appears less mature. I started designing a system based on…
Ming K
  • 173
  • 5
7
votes
1 answer

Why do I see many mongod processes running?

I am running a single MongoDB database. No sharding. When I run htop, I see a lot of instances of mongod. Is that normal? Does every connection create a separate mongod process? Should I be concerned? For some reason when I use top, only one of them…
burger
  • 233
  • 3
  • 6
1 2
3
59 60