Re: [nodejs] Server crashes: "Error: spawn Unknown system errno 12"

191 views
Skip to first unread message

Charlie McConnell

unread,
Oct 28, 2012, 7:28:47 PM10/28/12
to nod...@googlegroups.com
What OS are you on?  Your node version is a bit old, and what you're seeing is an unmapped error.  Newer versions of node would probably give you the error accurately, but we can help you figure out which it is, if you tell us which flavor of UNIX you're on.

On Sun, Oct 28, 2012 at 5:05 AM, Stanley <ma...@stanley.me> wrote:
I'm having this issue that crashes my server randomly.  I can't pinpoint what the issue is.  Any ideas?

Any clues?

{
  "process": {
    "pid": 22015,
    "uid": 0,
    "gid": 0,
    "cwd": "/home/ec2-user/www/myproject",
    "execPath": "/usr/local/bin/node",
    "version": "v0.6.14",
    "argv": [
      "node",
      "/usr/local/bin/forever",
      "start",
      "server.js"
    ],
    "memoryUsage": {
      "rss": 302751744,
      "heapTotal": 148586816,
      "heapUsed": 146349712
    }
  },
  "os": {
    "loadavg": [
      1.10498046875,
      0.435546875,
      0.24365234375
    ],
    "uptime": 5111412.949770959
  },
  "trace": [
    {
      "column": 11,
      "file": "child_process.js",
      "function": "errnoException",
      "line": 481,
      "method": null,
      "native": false
    },
    {
      "column": 11,
      "file": "child_process.js",
      "function": "ChildProcess.spawn",
      "line": 444,
      "method": "spawn",
      "native": false
    },
    {
      "column": 9,
      "file": "child_process.js",
      "function": null,
      "line": 342,
      "method": null,
      "native": false
    },
    {
      "column": 10,
      "file": "Object].trySpawn (/usr/local/lib/node_modules/forever/lib/forever/monitor.js",
      "function": "[object",
      "line": 240,
      "method": null,
      "native": false
    },
    {
      "column": 16,
      "file": "Object].start (/usr/local/lib/node_modules/forever/lib/forever/monitor.js",
      "function": "[object",
      "line": 147,
      "method": null,
      "native": false
    },
    {
      "column": 14,
      "file": "/usr/local/lib/node_modules/forever/lib/forever/monitor.js",
      "function": "Array.0",
      "line": 186,
      "method": "0",
      "native": false
    },
    {
      "column": 40,
      "file": "node.js",
      "function": "EventEmitter._tickCallback",
      "line": 192,
      "method": "_tickCallback",
      "native": false
    }
  ],
  "stack": [
    "Error: spawn Unknown system errno 12",
    "    at errnoException (child_process.js:481:11)",
    "    at ChildProcess.spawn (child_process.js:444:11)",
    "    at child_process.js:342:9",
    "    at [object Object].trySpawn (/usr/local/lib/node_modules/forever/lib/forever/monitor.js:240:10)",
    "    at [object Object].start (/usr/local/lib/node_modules/forever/lib/forever/monitor.js:147:16)",
    "    at Array.0 (/usr/local/lib/node_modules/forever/lib/forever/monitor.js:186:14)",
    "    at EventEmitter._tickCallback (node.js:192:40)"
  ],
  "level": "error",
  "message": "uncaughtException"
}


--
Job Board: http://jobs.nodejs.org/
Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nod...@googlegroups.com
To unsubscribe from this group, send email to
nodejs+un...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en



--
Charlie McConnell
Head of DevOps
Nodejitsu, Inc.

Reply all
Reply to author
Forward
0 new messages