Error map

mongod: Too many open files (ulimit warning) MongoDB: WARNING: soft rlimits too low. Number of files is 1024, should be at least 64000 / Too many open files

MongoDB · layer 5, Data

Open the full error page →

Centre: this error. First ring: errors it is linked with (11). Outer ring: what those are linked with. Colours show the layer of a request each error belongs to. Click any dot to re-centre the map on it; hover to follow its connections. The centre dot opens the error page.

mongod: Too many open files (ulimit warning) — MongoDB: WARNING: soft rlimits too low. Number of files is 1024, should be at least 64000 / Too many open files (MongoDB)mongod: Too…RequestEntityTooLargeException — Lambda: Request must be smaller than 6291456 bytes for the InvokeFunction operation (RequestEntityTooLargeException) (AWS)RequestEntityTooLar…Unzipped size must be smaller than 262144000 bytes — Lambda: Unzipped size must be smaller than 262144000 bytes (AWS)Unzipped size must …fork: retry: Resource temporarily unavailable — fork: retry: Resource temporarily unavailable (process/thread limit) (Linux)fork: retry: Resour…EMFILE — Too many open files (EMFILE) (Linux)EMFILEmongod exited with code 14 (data dir permission / lock) — mongod: Process exited with status 14 — Exception in initAndListen: IllegalOperation: Attempted to create a lock file on a read-only directory (MongoDB)mongod exited with …Atlas: bad auth: Authentication failed — MongoServerError: bad auth : Authentication failed. (Atlas user / special characters in password) (MongoDB)Atlas: bad auth: Au…mongod killed by OOM killer — MongoDB: Out of memory: Killed process (mongod) — WiredTiger cache + queries exhausted RAM (MongoDB)mongod killed by OO…Sort/Group exceeded memory limit of 100 MB (allowDiskUse) — MongoServerError: Exceeded memory limit for $group, but didn't allow external sort. Pass allowDiskUse:true to opt in (MongoDB)Sort/Group exceeded…BSONObj size is invalid / exceeds maximum document size (16MB) — MongoServerError: BSONObj size: 17825792 (0x1100000) is invalid. Size must be between 0 and 16793600(16MB) (MongoDB)BSONObj size is inv…Index key too large to index — MongoServerError: Index key too large to index (key size exceeds 1024 bytes) / pre-4.2 behaviour (MongoDB)Index key too large…WARNING: /sys/kernel/mm/transparent_hugepage/enabled is 'always' — MongoDB startup: WARNING: /sys/kernel/mm/transparent_hugepage/enabled is 'always'. We suggest setting it to 'never' (MongoDB)WARNING: /sys/kerne…413 — HTTP 413 Content Too Large (Request Entity Too Large) (HTTP)413Task timed out — AWS Lambda: Task timed out after X seconds (AWS)Task timed outRuntime.ImportModuleError — Runtime.ImportModuleError: Unable to import module 'lambda_function': No module named 'x' (AWS)Runtime.ImportModul…Runtime.HandlerNotFound — Runtime.HandlerNotFound: index.handler is undefined or not exported (AWS)Runtime.HandlerNotF…Runtime exited with error: signal: killed — Lambda: Runtime exited with error: signal: killed (Runtime.ExitError) (AWS)Runtime exited with…role cannot be assumed by Lambda — InvalidParameterValueException: The role defined for the function cannot be assumed by Lambda (AWS)role cannot be assu…EADDRINUSE — Error: listen EADDRINUSE: address already in use :::3000 (Node.js)EADDRINUSEEPIPE — Error: write EPIPE (Node.js)EPIPEmaxBuffer exceeded — RangeError [ERR_CHILD_PROCESS_STDIO_MAXBUFFER]: stdout maxBuffer length exceeded (Node.js)maxBuffer exceededENOENT — Error: ENOENT: no such file or directory (Node.js)ENOENTECONNRESET — Error: socket hang up / read ECONNRESET (API)ECONNRESET1040 — MySQL ERROR 1040 (08004): Too many connections (MySQL)1040daemon — Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? (Docker)daemonsudoers — user is not in the sudoers file. This incident will be reported. (Linux)sudoerslisten EACCES — Error: listen EACCES: permission denied 0.0.0.0:80 (Node.js)listen EACCESbuffering timed out — MongooseError: Operation `users.find()` buffering timed out after 10000ms (Node.js)buffering timed outMongoServerSelectionError — MongooseServerSelectionError: connect ECONNREFUSED 127.0.0.1:27017 (Node.js)MongoServerSelectio…E11000 duplicate key — MongoServerError: E11000 duplicate key error collection: db.users index: email_1 dup key (Node.js)E11000 duplicate keyOOMKilled — Kubernetes: OOMKilled (exit code 137) (Kubernetes)OOMKilledSIGSEGV — Segmentation fault (core dumped) (Linux)SIGSEGVOOM killer — Killed / Out of memory: Killed process (Linux OOM killer) (Linux)OOM killerheap out of memory — FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory (Node.js)heap out of memoryMaxListenersExceededWarning — MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 listeners added (Node.js)MaxListenersExceede…CastError ObjectId — CastError: Cast to ObjectId failed for value "x" (type string) at path "_id" (Node.js)CastError ObjectIdMongoose ValidationError — ValidationError: User validation failed: email: Path `email` is required. (Node.js)Mongoose Validation…Document failed validation — MongoDB: MongoServerError: Document failed validation (code 121) (MongoDB)Document failed val…MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017 — MongoDB: MongoServerSelectionError: connect ECONNREFUSED 127.0.0.1:27017 (MongoDB)MongoNetworkError: …MongoDB Atlas: connection timed out — IP not whitelisted — MongoServerSelectionError: Could not connect to any servers in your MongoDB Atlas cluster. One common reason is that you're trying to access the database from an IP that isn't whitelisted (MongoDB)MongoDB Atlas: conn…createIndex failed: unique index with duplicates — MongoServerError: Index build failed: E11000 duplicate key error collection: db.users index: email_1 dup key (MongoDB)createIndex failed:…WiredTiger: No space left on device — MongoDB: WiredTiger error (28) [...] No space left on device / Fatal assertion 28558 ... disk full (MongoDB)WiredTiger: No spac…WARNING you have Transparent Huge Pages (THP) support enabled — Redis: # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis (Redis)WARNING you have Tr…

Directly related (11)

RequestEntityTooLargeExceptionAWS

Lambda: Request must be smaller than 6291456 bytes for the InvokeFunction operation (RequestEntityTooLargeException)

The event payload (or response) is over Lambda’s 6 MB synchronous limit (256 KB for async invocations).

Unzipped size must be smaller than 262144000 bytesAWS

Lambda: Unzipped size must be smaller than 262144000 bytes

The function code plus layers exceed Lambda’s 250 MB unzipped limit for zip deployments.

fork: retry: Resource temporarily unavailableLinux

fork: retry: Resource temporarily unavailable (process/thread limit)

The user or container hit its maximum number of processes/threads (ulimit -u, pids cgroup), so new processes can’t be created.

EMFILELinux

Too many open files (EMFILE)

The process hit its file-descriptor limit — sockets, files and pipes all count.

mongod exited with code 14 (data dir permission / lock)MongoDB

mongod: Process exited with status 14 — Exception in initAndListen: IllegalOperation: Attempted to create a lock file on a read-only directory

`mongod` couldn't start because the data directory or log/socket file isn't writable or already locked.

Atlas: bad auth: Authentication failedMongoDB

MongoServerError: bad auth : Authentication failed. (Atlas user / special characters in password)

Atlas rejected the username/password in the connection string.

mongod killed by OOM killerMongoDB

MongoDB: Out of memory: Killed process (mongod) — WiredTiger cache + queries exhausted RAM

The Linux OOM killer terminated `mongod` because the host ran out of memory.

Sort/Group exceeded memory limit of 100 MB (allowDiskUse)MongoDB

MongoServerError: Exceeded memory limit for $group, but didn't allow external sort. Pass allowDiskUse:true to opt in

An aggregation stage needed more than 100 MB of RAM and spilling to disk wasn't enabled.

BSONObj size is invalid / exceeds maximum document size (16MB)MongoDB

MongoServerError: BSONObj size: 17825792 (0x1100000) is invalid. Size must be between 0 and 16793600(16MB)

A single document (or an aggregation result row) grew past MongoDB's 16 MB limit.

Index key too large to indexMongoDB

MongoServerError: Index key too large to index (key size exceeds 1024 bytes) / pre-4.2 behaviour

A document has an indexed field whose value is too large for the index (limit 1024 bytes before MongoDB 4.2).

WARNING: /sys/kernel/mm/transparent_hugepage/enabled is 'always'MongoDB

MongoDB startup: WARNING: /sys/kernel/mm/transparent_hugepage/enabled is 'always'. We suggest setting it to 'never'

Transparent Huge Pages are enabled, which can hurt MongoDB performance (latency spikes).

Two steps away (31)

413HTTP

HTTP 413 Content Too Large (Request Entity Too Large)

The request body is bigger than the server is willing to accept — usually a file upload over the configured limit.

Task timed outAWS

AWS Lambda: Task timed out after X seconds

The function ran longer than its configured timeout (default 3 seconds) and Lambda stopped it.

Runtime.ImportModuleErrorAWS

Runtime.ImportModuleError: Unable to import module 'lambda_function': No module named 'x'

Lambda couldn’t load your handler file or one of its dependencies — the package is missing from the deployment zip/layer or the h…

Runtime.HandlerNotFoundAWS

Runtime.HandlerNotFound: index.handler is undefined or not exported

Lambda loaded the file but couldn’t find the function named in the handler setting.

Runtime exited with error: signal: killedAWS

Lambda: Runtime exited with error: signal: killed (Runtime.ExitError)

The function process was killed — almost always because it ran out of its configured memory.

role cannot be assumed by LambdaAWS

InvalidParameterValueException: The role defined for the function cannot be assumed by Lambda

The execution role’s trust policy doesn’t allow lambda.amazonaws.com — or the role was just created and IAM hasn’t propagated yet.

EADDRINUSENode.js

Error: listen EADDRINUSE: address already in use :::3000

Another process is already listening on that port.

EPIPENode.js

Error: write EPIPE

Node wrote to a pipe or socket whose other end was already closed.

maxBuffer exceededNode.js

RangeError [ERR_CHILD_PROCESS_STDIO_MAXBUFFER]: stdout maxBuffer length exceeded

child_process.exec/execSync produced more output than its buffer allows (default 1 MB).

ENOENTNode.js

Error: ENOENT: no such file or directory

A file or directory the program tried to open doesn’t exist at that path.

ECONNRESETAPI

Error: socket hang up / read ECONNRESET

The other side closed the TCP connection abruptly while your client was still using it.

1040MySQL

MySQL ERROR 1040 (08004): Too many connections

MySQL reached `max_connections` and refuses new clients.

daemonDocker

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

The docker CLI can’t talk to the Docker engine — it isn’t running, or your user can’t access the socket.

sudoersLinux

user is not in the sudoers file. This incident will be reported.

Your account isn’t allowed to use sudo.

listen EACCESNode.js

Error: listen EACCES: permission denied 0.0.0.0:80

Node isn’t allowed to bind that port — ports below 1024 need root on Linux/macOS, and some Windows ports are reserved.

buffering timed outNode.js

MongooseError: Operation `users.find()` buffering timed out after 10000ms

Mongoose queued a query waiting for a connection that never opened.

MongoServerSelectionErrorNode.js

MongooseServerSelectionError: connect ECONNREFUSED 127.0.0.1:27017

The MongoDB driver couldn’t find a reachable server for the connection string.

E11000 duplicate keyNode.js

MongoServerError: E11000 duplicate key error collection: db.users index: email_1 dup key

An insert/update violated a unique index in MongoDB.

OOMKilledKubernetes

Kubernetes: OOMKilled (exit code 137)

The container used more memory than its limit, and the kernel killed it.

SIGSEGVLinux

Segmentation fault (core dumped)

A program accessed memory it wasn’t allowed to, and the kernel killed it with SIGSEGV (exit code 139).

OOM killerLinux

Killed / Out of memory: Killed process (Linux OOM killer)

The kernel ran out of memory and killed a process to recover — the program just prints “Killed” (exit code 137).

heap out of memoryNode.js

FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory

The V8 heap hit its limit — a large build (webpack, tsc, Next.js) needs more memory, or the app leaks.

MaxListenersExceededWarningNode.js

MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 listeners added

More than 10 listeners were added to one event — often a leak where listeners are added repeatedly.

CastError ObjectIdNode.js

CastError: Cast to ObjectId failed for value "x" (type string) at path "_id"

A value that isn’t a valid 24-hex-character ObjectId was used in an _id query.

Mongoose ValidationErrorNode.js

ValidationError: User validation failed: email: Path `email` is required.

A document failed Mongoose schema validation before saving.

Document failed validationMongoDB

MongoDB: MongoServerError: Document failed validation (code 121)

The collection has a JSON Schema validator and the inserted/updated document doesn’t satisfy it.

MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017MongoDB

MongoDB: MongoServerSelectionError: connect ECONNREFUSED 127.0.0.1:27017

The driver couldn't connect to a MongoDB server on localhost:27017 — nothing is listening there.

MongoDB Atlas: connection timed out — IP not whitelistedMongoDB

MongoServerSelectionError: Could not connect to any servers in your MongoDB Atlas cluster. One common reason is that you're trying to access the database from an IP that isn't whitelisted

Atlas rejects connections from IP addresses that aren't in the project's Network Access list.

createIndex failed: unique index with duplicatesMongoDB

MongoServerError: Index build failed: E11000 duplicate key error collection: db.users index: email_1 dup key

You tried to build a unique index but existing documents already contain duplicate values.

WiredTiger: No space left on deviceMongoDB

MongoDB: WiredTiger error (28) [...] No space left on device / Fatal assertion 28558 ... disk full

MongoDB ran out of disk space on the data volume and stopped or refuses writes.

WARNING you have Transparent Huge Pages (THP) support enabledRedis

Redis: # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis

THP is enabled, which can cause latency spikes and high memory usage with Redis.