diff --git a/doc/api/cluster.markdown b/doc/api/cluster.markdown index c46a2cc5385a8e..f2f388c2904022 100644 --- a/doc/api/cluster.markdown +++ b/doc/api/cluster.markdown @@ -563,7 +563,7 @@ in the master process using the message system: console.log("numReqs =", numReqs); }, 1000); - // Count requestes + // Count requests function messageHandler(msg) { if (msg.cmd && msg.cmd == 'notifyRequest') { numReqs += 1; diff --git a/doc/api/errors.markdown b/doc/api/errors.markdown index 04d3d97a52b0f5..505241fc89a487 100644 --- a/doc/api/errors.markdown +++ b/doc/api/errors.markdown @@ -308,7 +308,7 @@ An operation expected a file, but the given pathname was a directory. #### EMFILE: Too many open files in system -Maxiumum number of [file descriptors](http://en.wikipedia.org/wiki/File_descriptor) allowable on the system has +Maximum number of [file descriptors](http://en.wikipedia.org/wiki/File_descriptor) allowable on the system has been reached, and requests for another descriptor cannot be fulfilled until at least one has been closed.