Skip to content

Instantly share code, notes, and snippets.

@fengmk2
Created January 22, 2015 00:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fengmk2/e3d24c38f269a7f633dc to your computer and use it in GitHub Desktop.
Save fengmk2/e3d24c38f269a7f633dc to your computer and use it in GitHub Desktop.
$ cat mirrors/nodejs_stdout.log
[Tue Jan 20 2015 13:48:58 GMT+0800 (CST)] [worker:22680] new worker start
[Tue Jan 20 2015 13:49:01 GMT+0800 (CST)] [worker:22680] Server started, dist server listen at 127.0.0.1:7003, cluster: true
Error: read ECONNRESET
at exports._errnoException (util.js:742:11)
at TCP.onread (net.js:535:26)
[error] 2015-01-21 08:32:51.981 nodejs.ECONNRESETErrorException: Error: read ECONNRESET
at exports._errnoException (util.js:742:11)
at TCP.onread (net.js:535:26)
pid: 22680
domainThrown: false
Host: iZ23nhnj505Z
URL:
Data: ""
2015-01-21 08:32:51.981
Error: read ECONNRESET
at exports._errnoException (util.js:742:11)
at TCP.onread (net.js:535:26)
[error] 2015-01-21 08:33:31.566 nodejs.ECONNRESETErrorException: Error: read ECONNRESET
at exports._errnoException (util.js:742:11)
at TCP.onread (net.js:535:26)
pid: 22680
domainThrown: false
Host: iZ23nhnj505Z
URL:
Data: ""
2015-01-21 08:33:31.566
Error: write EPIPE
at exports._errnoException (util.js:742:11)
at Object.afterWrite (net.js:749:14)
[error] 2015-01-21 08:33:44.495 nodejs.EPIPEErrorException: Error: write EPIPE
at exports._errnoException (util.js:742:11)
at Object.afterWrite (net.js:749:14)
pid: 22680
domainThrown: false
Host: iZ23nhnj505Z
URL:
Data: ""
2015-01-21 08:33:44.495
Error: write EPIPE
at exports._errnoException (util.js:742:11)
at Object.afterWrite (net.js:749:14)
[error] 2015-01-21 08:33:46.798 nodejs.EPIPEErrorException: Error: write EPIPE
at exports._errnoException (util.js:742:11)
at Object.afterWrite (net.js:749:14)
pid: 22680
domainThrown: false
Host: iZ23nhnj505Z
URL:
Data: ""
2015-01-21 08:33:46.798
Error: read ECONNRESET
at exports._errnoException (util.js:742:11)
at TCP.onread (net.js:535:26)
[error] 2015-01-21 08:33:57.716 nodejs.ECONNRESETErrorException: Error: read ECONNRESET
at exports._errnoException (util.js:742:11)
at TCP.onread (net.js:535:26)
pid: 22680
domainThrown: false
Host: iZ23nhnj505Z
URL:
Data: ""
2015-01-21 08:33:57.716
Error: write EPIPE
at exports._errnoException (util.js:742:11)
at Object.afterWrite (net.js:749:14)
[error] 2015-01-21 10:28:59.220 nodejs.EPIPEErrorException: Error: write EPIPE
at exports._errnoException (util.js:742:11)
at Object.afterWrite (net.js:749:14)
pid: 22680
domainThrown: false
Host: iZ23nhnj505Z
URL:
Data: ""
2015-01-21 10:28:59.220
Error: write EPIPE
at exports._errnoException (util.js:742:11)
at Object.afterWrite (net.js:749:14)
[error] 2015-01-21 14:28:49.614 nodejs.EPIPEErrorException: Error: write EPIPE
at exports._errnoException (util.js:742:11)
at Object.afterWrite (net.js:749:14)
pid: 22680
domainThrown: false
Host: iZ23nhnj505Z
URL:
Data: ""
2015-01-21 14:28:49.614
[Wed Jan 21 2015 18:54:49 GMT+0800 (CST)] [cfork:master:22678] master uncaughtException: AssertionError: Resource leak detected.
at removeWorker (cluster.js:328:9)
at ChildProcess.<anonymous> (cluster.js:348:34)
at ChildProcess.g (events.js:199:16)
at ChildProcess.emit (events.js:118:17)
at Process.ChildProcess._handle.onexit (child_process.js:1059:12)
{ [AssertionError: Resource leak detected.]
name: 'AssertionError',
actual: false,
expected: true,
operator: '==',
message: 'Resource leak detected.',
generatedMessage: false }
(total 0 disconnect, 0 unexpected exit)
@fengmk2
Copy link
Author

fengmk2 commented Jan 22, 2015

这个也知道原因了,是因为 tnpm3用的还是 co4版本,我对 mirrors api 的压测,导致 worker 内存超出限制了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment