Hot answers tagged mongodb
I have been uploading photos with reports to mongodb. I reached the database size limit. How do I increase the size of the database? Assuming you have available disk space, MongoDB will automatically allocate additional disk space as required. Since you are running the MMAP storage engine (based on your db.stats() output), MongoDB will preallocate space ...
Whatever process creates this file is your culprit: gearmand 811 gearman 3w REG 202,1 71016771760 143618 /var/log/gearman-job-server/gearman.log.1 (deleted) Given that it's called gearman.log.1, I suspect that whatever is doing log rollover isn't doing it properly. When you see a gross mismatch between df and du like you're seeing, it's usually a deleted ...
Your issue is that you are using the public elastic IP to connect to your database server from your other servers. This means that the connection is going out to the internet and back into your VPC, which presents the following issues: Security issues due to the data transmission not being contained within your VPC Network latency issues Your database ...
You can only pipe compressed files which contain one collection. You could do: curl http://remoteserver/mongodb.collection.gz | gunzip -c | mongorestore -d dbname -c collectionname - The -c gunzip option is needed so it writes to stdout and the last -so mongorestore expects input from stdin. Tested with version 3.0.7 (doesn't work with v2.6.4).
Sensitive data in logs is the same as sensitive data anywhere. Depending on the criticality you'll want to - only allow those authorized to view it to have access to the data (usually done via roles or group membership.) if the data has any regulated or external issues related info in it (PCI, HIPAA, etc.) you must treat it accordingly and do the ...
I had the same problem, this exception is very misleading. You need to change the ulimit on the linux machine to fix this issue: You can check the ulimits with: ulimits -a and change the limit with: ulimit -n 64000 And try to restart the service with the new limits. Source: docs.MongoDB.org
Only top voted, non community-wiki answers of a minimum length are eligible