Titanium JIRA Archive
Appcelerator Daemon (DAEMON)

[DAEMON-141] Appc Daemon is crashing the terminal and studio

GitHub Issuen/a
TypeBug
PriorityCritical
StatusResolved
ResolutionFixed
Resolution Date2017-11-17T17:49:42.000+0000
Affected Version/sAppc Daemon 1.0.0
Fix Version/sAppc Daemon 1.0.0
Componentsappcd-plugin-ios, ioslib
Labelsn/a
ReporterKondal Kolipaka
AssigneeChris Barber
Created2017-11-15T02:36:24.000+0000
Updated2017-12-12T21:24:17.000+0000

Description

*Problem Description:* MacOS terminal is getting crashed If you start a daemon from a terminal and leave for some time. And, I can't even start a studio due to resource unavailability - it just crashes while launching it.
[forkpty: Resource temporarily unavailable]
[Could not create a new process and open a pseudo-tty.]
ITEM-AX40113:~ kkolipaka$ ps aux | wc -l
     241
ITEM-AX40113:~ kkolipaka$ ps aux | grep appcd | wc -l
       5
ITEM-AX40113:~ kkolipaka$ ps aux | grep gulp | wc -l
Studio crash log: https://gist.github.com/kolipakakondal/904a50e1031a500e74ee526ec54ea423

Attachments

FileDateSize
appc_debug_status.txt2017-11-17T17:22:34.000+00001526125

Comments

  1. Kondal Kolipaka 2017-11-15

    Here is appcd status output
       {
         "pid": 18340,
         "process": {
           "execPath": "/Users/kkolipaka/.appcelerator/appcd/node/v8.9.1/darwin/x64/node",
           "execArgv": [
             "--max_old_space_size=3000"
           ],
           "argv": [
             "/Users/kkolipaka/.appcelerator/appcd/node/v8.9.1/darwin/x64/node",
             "/Users/kkolipaka/source/appc-daemon/packages/appcd-core/dist/main.js"
           ],
           "env": {
             "NVM_RC_VERSION": "",
             "TERM_PROGRAM": "Apple_Terminal",
             "NVM_CD_FLAGS": "",
             "SHELL": "/bin/bash",
             "TERM": "xterm-256color",
             "TMPDIR": "/var/folders/54/ygfgj59s2f98jtxjv9qt28fh0000gq/T/",
             "Apple_PubSub_Socket_Render": "/private/tmp/com.apple.launchd.qMTyqMs6XI/Render",
             "TERM_PROGRAM_VERSION": "388.1.1",
             "TERM_SESSION_ID": "1214B80A-FC01-4178-8E5A-E3FBBE542C45",
             "NVM_DIR": "/Users/kkolipaka/.nvm",
             "USER": "kkolipaka",
             "SSH_AUTH_SOCK": "/private/tmp/com.apple.launchd.0VhvOXzxFf/Listeners",
             "__CF_USER_TEXT_ENCODING": "0x1F7:0x0:0x64",
             "PATH": "/Users/kkolipaka/.yarn/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin",
             "PWD": "/Users/kkolipaka",
             "XPC_FLAGS": "0x0",
             "XPC_SERVICE_NAME": "0",
             "SHLVL": "1",
             "HOME": "/Users/kkolipaka",
             "LOGNAME": "kkolipaka",
             "LC_CTYPE": "UTF-8",
             "_": "/usr/local/bin/appcd",
             "APPCD_BOOTSTRAP": "1.0.0-2"
           }
         },
         "node": {
           "version": "8.9.1",
           "versions": {
             "http_parser": "2.7.0",
             "node": "8.9.1",
             "v8": "6.1.534.47",
             "uv": "1.15.0",
             "zlib": "1.2.11",
             "ares": "1.10.1-DEV",
             "modules": "57",
             "nghttp2": "1.25.0",
             "openssl": "1.0.2m",
             "icu": "59.1",
             "unicode": "9.0",
             "cldr": "31.0.1",
             "tz": "2017b"
           }
         },
         "system": {
           "platform": "darwin",
           "arch": "x64",
           "cpus": 8,
           "hostname": "ITEM-AX40113",
           "loadavg": [
             3.00390625,
             2.6650390625,
             2.7578125
           ],
           "memory": {
             "free": 90025984,
             "total": 17179869184
           }
         },
         "version": "1.0.0-2",
         "fs": {
           "nodes": 122,
           "fswatchers": 102,
           "watchers": 63,
           "tree": " ┌ [d] / (34 files, 0 watchers, 0 links, 0 recursion)\n ├─┬ [d] Applications (77 files, 1 watcher, 0 links, 0 recursion)\n │ ├─┬ [d] Xcode-beta.app (1 file, 1 watcher, 0 links, 0 recursion)\n │ │ └─┬ [d] Contents (14 files, 0 watchers, 0 links, 0 recursion)\n │ │   └─┬ [d] Developer (8 files, 0 watchers, 0 links, 0 recursion)\n │ │     └─┬ [d] Platforms (7 files, 0 watchers, 0 links, 0 recursion)\n │ │       ├─┬ [d] iPhoneOS.platform (8 files, 0 watchers, 0 links, 0 recursion)\n │ │       │ └─┬ [d] Developer (3 files, 0 watchers, 0 links, 0 recursion)\n │ │       │   ├─┬ [d] Library (5 files, 0 watchers, 0 links, 0 recursion)\n │ │       │   │ └─┬ [?] CoreSimulator (0 watchers, 0 links, 0 recursion)\n │ │       │   │   └─┬ [?] Profiles (0 watchers, 0 links, 0 recursion)\n │ │       │   │     ├── [?] DeviceTypes (1 watcher, 0 links, 0 recursion)\n │ │       │   │     └── [?] Runtimes (1 watcher, 0 links, 0 recursion)\n │ │       │   └── [d] SDKs (2 files, 1 watcher, 0 links, 0 recursion)\n │ │       ├─┬ [d] iPhoneSimulator.platform (5 files, 0 watchers, 0 links, 0 recursion)\n │ │       │ └─┬ [d] Developer (2 files, 0 watchers, 0 links, 0 recursion)\n │ │       │   └─┬ [d] Library (4 files, 0 watchers, 0 links, 0 recursion)\n │ │       │     └─┬ [d] CoreSimulator (2 files, 0 watchers, 0 links, 0 recursion)\n │ │       │       └─┬ [d] Profiles (2 files, 0 watchers, 0 links, 0 recursion)\n │ │       │         ├── [d] DeviceTypes (14 files, 1 watcher, 0 links, 0 recursion)\n │ │       │         └── [d] Runtimes (1 file, 1 watcher, 0 links, 0 recursion)\n │ │       ├─┬ [d] WatchOS.platform (7 files, 0 watchers, 0 links, 0 recursion)\n │ │       │ └─┬ [d] Developer (3 files, 0 watchers, 0 links, 0 recursion)\n │ │       │   ├─┬ [d] Library (1 file, 0 watchers, 0 links, 0 recursion)\n │ │       │   │ └─┬ [?] CoreSimulator (0 watchers, 0 links, 0 recursion)\n │ │       │   │   └─┬ [?] Profiles (0 watchers, 0 links, 0 recursion)\n │ │       │   │     ├── [?] DeviceTypes (1 watcher, 0 links, 0 recursion)\n │ │       │   │     └── [?] Runtimes (1 watcher, 0 links, 0 recursion)\n │ │       │   └── [d] SDKs (2 files, 1 watcher, 0 links, 0 recursion)\n │ │       └─┬ [d] WatchSimulator.platform (5 files, 0 watchers, 0 links, 0 recursion)\n │ │         └─┬ [d] Developer (2 files, 0 watchers, 0 links, 0 recursion)\n │ │           └─┬ [d] Library (3 files, 0 watchers, 0 links, 0 recursion)\n │ │             └─┬ [d] CoreSimulator (2 files, 0 watchers, 0 links, 0 recursion)\n │ │               └─┬ [d] Profiles (2 files, 0 watchers, 0 links, 0 recursion)\n │ │                 ├── [d] DeviceTypes (2 files, 1 watcher, 0 links, 0 recursion)\n │ │                 └── [d] Runtimes (1 file, 1 watcher, 0 links, 0 recursion)\n │ └─┬ [d] Xcode.app (1 file, 3 watchers, 0 links, 0 recursion)\n │   └─┬ [d] Contents (15 files, 0 watchers, 0 links, 0 recursion)\n │     └─┬ [d] Developer (7 files, 0 watchers, 0 links, 0 recursion)\n │       └─┬ [d] Platforms (7 files, 0 watchers, 0 links, 0 recursion)\n │         ├─┬ [d] iPhoneOS.platform (8 files, 0 watchers, 0 links, 0 recursion)\n │         │ └─┬ [d] Developer (3 files, 0 watchers, 0 links, 0 recursion)\n │         │   ├─┬ [d] Library (6 files, 0 watchers, 0 links, 0 recursion)\n │         │   │ └─┬ [d] CoreSimulator (1 file, 0 watchers, 0 links, 0 recursion)\n │         │   │   └─┬ [d] Profiles (3 files, 0 watchers, 0 links, 0 recursion)\n │         │   │     ├── [d] DeviceTypes (22 files, 2 watchers, 0 links, 0 recursion)\n │         │   │     └── [d] Runtimes (1 file, 2 watchers, 0 links, 0 recursion)\n │         │   └── [d] SDKs (2 files, 2 watchers, 0 links, 0 recursion)\n │         ├─┬ [d] iPhoneSimulator.platform (5 files, 0 watchers, 0 links, 0 recursion)\n │         │ └─┬ [d] Developer (2 files, 0 watchers, 0 links, 0 recursion)\n │         │   └─┬ [d] Library (3 files, 0 watchers, 0 links, 0 recursion)\n │         │     └─┬ [?] CoreSimulator (0 watchers, 0 links, 0 recursion)\n │         │       └─┬ [?] Profiles (0 watchers, 0 links, 0 recursion)\n │         │         ├── [?] DeviceTypes (2 watchers, 0 links, 0 recursion)\n │         │         └── [?] Runtimes (2 watchers, 0 links, 0 recursion)\n │         ├─┬ [d] WatchOS.platform (7 files, 0 watchers, 0 links, 0 recursion)\n │         │ └─┬ [d] Developer (3 files, 0 watchers, 0 links, 0 recursion)\n │         │   ├─┬ [d] Library (3 files, 0 watchers, 0 links, 0 recursion)\n │         │   │ └─┬ [d] CoreSimulator (1 file, 0 watchers, 0 links, 0 recursion)\n │         │   │   └─┬ [d] Profiles (3 files, 0 watchers, 0 links, 0 recursion)\n │         │   │     ├── [d] DeviceTypes (6 files, 2 watchers, 0 links, 0 recursion)\n │         │   │     └── [d] Runtimes (1 file, 2 watchers, 0 links, 0 recursion)\n │         │   └── [d] SDKs (2 files, 2 watchers, 0 links, 0 recursion)\n │         └─┬ [d] WatchSimulator.platform (5 files, 0 watchers, 0 links, 0 recursion)\n │           └─┬ [d] Developer (2 files, 0 watchers, 0 links, 0 recursion)\n │             └─┬ [d] Library (2 files, 0 watchers, 0 links, 0 recursion)\n │               └─┬ [?] CoreSimulator (0 watchers, 0 links, 0 recursion)\n │                 └─┬ [?] Profiles (0 watchers, 0 links, 0 recursion)\n │                   ├── [?] DeviceTypes (2 watchers, 0 links, 0 recursion)\n │                   └── [?] Runtimes (2 watchers, 0 links, 0 recursion)\n ├─┬ [d] Library (61 files, 0 watchers, 0 links, 0 recursion)\n │ ├─┬ [d] Developer (3 files, 0 watchers, 0 links, 0 recursion)\n │ │ └─┬ [d] CoreSimulator (1 file, 0 watchers, 0 links, 0 recursion)\n │ │   └── [d] Profiles (1 file, 1 watcher, 0 links, 0 recursion)\n │ └─┬ [d] Java (2 files, 0 watchers, 0 links, 0 recursion)\n │   └─┬ [d] JavaVirtualMachines (5 files, 1 watcher, 0 links, 0 recursion)\n │     ├── [d] jdk1.7.0_80.jdk (1 file, 1 watcher, 0 links, 0 recursion)\n │     ├── [d] jdk1.8.0_121.jdk (1 file, 1 watcher, 0 links, 0 recursion)\n │     ├── [d] jdk1.8.0_131.jdk (1 file, 1 watcher, 0 links, 0 recursion)\n │     ├── [d] jdk1.8.0_144.jdk (1 file, 1 watcher, 0 links, 0 recursion)\n │     └── [d] jdk1.8.0_151.jdk (1 file, 1 watcher, 0 links, 0 recursion)\n ├─┬ [d] System (2 files, 0 watchers, 0 links, 0 recursion)\n │ └─┬ [d] Library (91 files, 0 watchers, 0 links, 0 recursion)\n │   ├─┬ [d] Frameworks (136 files, 0 watchers, 0 links, 0 recursion)\n │   │ └─┬ [d] JavaVM.framework (4 files, 0 watchers, 0 links, 0 recursion)\n │   │   └─┬ [d] Versions (2 files, 0 watchers, 0 links, 0 recursion)\n │   │     └─┬ [d] A (6 files, 0 watchers, 0 links, 0 recursion)\n │   │       └── [d] Commands (50 files, 1 watcher, 0 links, 0 recursion)\n │   └─┬ [d] Java (2 files, 0 watchers, 0 links, 0 recursion)\n │     └── [?] JavaVirtualMachines (1 watcher, 0 links, 0 recursion)\n ├─┬ [d] Users (5 files, 0 watchers, 0 links, 0 recursion)\n │ └─┬ [d] kkolipaka (79 files, 0 watchers, 0 links, 0 recursion)\n │   ├─┬ [d] .appcelerator (10 files, 0 watchers, 0 links, 0 recursion)\n │   │ └─┬ [d] appcd (4 files, 0 watchers, 0 links, 0 recursion)\n │   │   └── [?] plugins (1 watcher, 0 links, 0 recursion)\n │   ├── [d] Applications (2 files, 1 watcher, 0 links, 0 recursion)\n │   ├─┬ [d] Library (70 files, 0 watchers, 0 links, 0 recursion)\n │   │ ├─┬ [d] Developer (2 files, 0 watchers, 0 links, 0 recursion)\n │   │ │ └─┬ [d] CoreSimulator (1 file, 0 watchers, 0 links, 0 recursion)\n │   │ │   └── [d] Devices (75 files, 1 watcher, 0 links, 1 recursion)\n │   │ ├─┬ [d] MobileDevice (2 files, 0 watchers, 0 links, 0 recursion)\n │   │ │ └── [d] Provisioning Profiles (5 files, 1 watcher, 0 links, 0 recursion)\n │   │ └─┬ [d] Preferences (303 files, 0 watchers, 0 links, 0 recursion)\n │   │   └── [?] com.apple.security.plist (1 watcher, 0 links, 0 recursion)\n │   └─┬ [d] source (22 files, 0 watchers, 0 links, 0 recursion)\n │     └─┬ [d] appc-daemon (19 files, 0 watchers, 0 links, 0 recursion)\n │       └─┬ [d] plugins (6 files, 0 watchers, 0 links, 0 recursion)\n │         ├─┬ [d] appcd-plugin-android (10 files, 2 watchers, 0 links, 0 recursion)\n │         │ └── [d] dist (2 files, 1 watcher, 0 links, 0 recursion)\n │         ├─┬ [d] appcd-plugin-ios (10 files, 2 watchers, 0 links, 0 recursion)\n │         │ └── [d] dist (2 files, 1 watcher, 0 links, 0 recursion)\n │         ├─┬ [d] appcd-plugin-jdk (12 files, 2 watchers, 0 links, 0 recursion)\n │         │ └── [d] dist (2 files, 1 watcher, 0 links, 0 recursion)\n │         ├─┬ [d] appcd-plugin-system-info (11 files, 2 watchers, 0 links, 0 recursion)\n │         │ └── [d] dist (1 file, 1 watcher, 0 links, 0 recursion)\n │         └── [d] appcd-plugin-windows (11 files, 1 watcher, 0 links, 0 recursion)\n └─┬ [d] usr (7 files, 0 watchers, 0 links, 0 recursion)\n   └─┬ [d] local (17 files, 0 watchers, 0 links, 0 recursion)\n     └─┬ [d] lib (42 files, 0 watchers, 0 links, 0 recursion)\n       └─┬ [d] node_modules (5 files, 0 watchers, 0 links, 0 recursion)\n         └─┬ [d] npm (23 files, 0 watchers, 0 links, 0 recursion)\n           └── [f] package.json (1 watcher, 0 links, 0 recursion)"
         },
         "subprocesses": [
           {
             "domain": null,
             "_eventsCount": 1,
             "_maxListeners": null,
             "pid": 18345,
             "command": "/Users/kkolipaka/.appcelerator/appcd/node/v8.9.1/darwin/x64/node",
             "_events": {
               "message": null
             },
             "args": [
               "/Users/kkolipaka/source/appc-daemon/packages/appcd-plugin/bin/appcd-plugin-host",
               "/Users/kkolipaka/source/appc-daemon/plugins/appcd-plugin-system-info"
             ],
             "options": {
               "windowsHide": true,
               "env": {
                 "FORCE_COLOR": 1,
                 "NVM_RC_VERSION": "",
                 "TERM_PROGRAM": "Apple_Terminal",
                 "NVM_CD_FLAGS": "",
                 "SHELL": "/bin/bash",
                 "TERM": "xterm-256color",
                 "TMPDIR": "/var/folders/54/ygfgj59s2f98jtxjv9qt28fh0000gq/T/",
                 "Apple_PubSub_Socket_Render": "/private/tmp/com.apple.launchd.qMTyqMs6XI/Render",
                 "TERM_PROGRAM_VERSION": "388.1.1",
                 "TERM_SESSION_ID": "1214B80A-FC01-4178-8E5A-E3FBBE542C45",
                 "NVM_DIR": "/Users/kkolipaka/.nvm",
                 "USER": "kkolipaka",
                 "SSH_AUTH_SOCK": "/private/tmp/com.apple.launchd.0VhvOXzxFf/Listeners",
                 "__CF_USER_TEXT_ENCODING": "0x1F7:0x0:0x64",
                 "PATH": "/Users/kkolipaka/.yarn/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin",
                 "PWD": "/Users/kkolipaka",
                 "XPC_FLAGS": "0x0",
                 "XPC_SERVICE_NAME": "0",
                 "SHLVL": "1",
                 "HOME": "/Users/kkolipaka",
                 "LOGNAME": "kkolipaka",
                 "LC_CTYPE": "UTF-8",
                 "_": "/usr/local/bin/appcd",
                 "APPCD_BOOTSTRAP": "1.0.0-2"
               },
               "stdio": [
                 "pipe",
                 "pipe",
                 "pipe",
                 "ipc"
               ]
             },
             "startTime": "2017-11-15T00:52:41.739Z"
           },
           {
             "domain": null,
             "_eventsCount": 1,
             "_maxListeners": null,
             "pid": 18352,
             "command": "/Users/kkolipaka/.appcelerator/appcd/node/v8.9.1/darwin/x64/node",
             "_events": {
               "message": null
             },
             "args": [
               "/Users/kkolipaka/source/appc-daemon/packages/appcd-plugin/bin/appcd-plugin-host",
               "/Users/kkolipaka/source/appc-daemon/plugins/appcd-plugin-ios"
             ],
             "options": {
               "windowsHide": true,
               "env": {
                 "FORCE_COLOR": 1,
                 "NVM_RC_VERSION": "",
                 "TERM_PROGRAM": "Apple_Terminal",
                 "NVM_CD_FLAGS": "",
                 "SHELL": "/bin/bash",
                 "TERM": "xterm-256color",
                 "TMPDIR": "/var/folders/54/ygfgj59s2f98jtxjv9qt28fh0000gq/T/",
                 "Apple_PubSub_Socket_Render": "/private/tmp/com.apple.launchd.qMTyqMs6XI/Render",
                 "TERM_PROGRAM_VERSION": "388.1.1",
                 "TERM_SESSION_ID": "1214B80A-FC01-4178-8E5A-E3FBBE542C45",
                 "NVM_DIR": "/Users/kkolipaka/.nvm",
                 "USER": "kkolipaka",
                 "SSH_AUTH_SOCK": "/private/tmp/com.apple.launchd.0VhvOXzxFf/Listeners",
                 "__CF_USER_TEXT_ENCODING": "0x1F7:0x0:0x64",
                 "PATH": "/Users/kkolipaka/.yarn/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin",
                 "PWD": "/Users/kkolipaka",
                 "XPC_FLAGS": "0x0",
                 "XPC_SERVICE_NAME": "0",
                 "SHLVL": "1",
                 "HOME": "/Users/kkolipaka",
                 "LOGNAME": "kkolipaka",
                 "LC_CTYPE": "UTF-8",
                 "_": "/usr/local/bin/appcd",
                 "APPCD_BOOTSTRAP": "1.0.0-2"
               },
               "stdio": [
                 "pipe",
                 "pipe",
                 "pipe",
                 "ipc"
               ]
             },
             "startTime": "2017-11-15T00:52:42.339Z"
           },
           {
             "domain": null,
             "_eventsCount": 1,
             "_maxListeners": null,
             "pid": 18353,
             "command": "/Users/kkolipaka/.appcelerator/appcd/node/v8.9.1/darwin/x64/node",
             "_events": {
               "message": null
             },
             "args": [
               "/Users/kkolipaka/source/appc-daemon/packages/appcd-plugin/bin/appcd-plugin-host",
               "/Users/kkolipaka/source/appc-daemon/plugins/appcd-plugin-jdk"
             ],
             "options": {
               "windowsHide": true,
               "env": {
                 "FORCE_COLOR": 1,
                 "NVM_RC_VERSION": "",
                 "TERM_PROGRAM": "Apple_Terminal",
                 "NVM_CD_FLAGS": "",
                 "SHELL": "/bin/bash",
                 "TERM": "xterm-256color",
                 "TMPDIR": "/var/folders/54/ygfgj59s2f98jtxjv9qt28fh0000gq/T/",
                 "Apple_PubSub_Socket_Render": "/private/tmp/com.apple.launchd.qMTyqMs6XI/Render",
                 "TERM_PROGRAM_VERSION": "388.1.1",
                 "TERM_SESSION_ID": "1214B80A-FC01-4178-8E5A-E3FBBE542C45",
                 "NVM_DIR": "/Users/kkolipaka/.nvm",
                 "USER": "kkolipaka",
                 "SSH_AUTH_SOCK": "/private/tmp/com.apple.launchd.0VhvOXzxFf/Listeners",
                 "__CF_USER_TEXT_ENCODING": "0x1F7:0x0:0x64",
                 "PATH": "/Users/kkolipaka/.yarn/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin",
                 "PWD": "/Users/kkolipaka",
                 "XPC_FLAGS": "0x0",
                 "XPC_SERVICE_NAME": "0",
                 "SHLVL": "1",
                 "HOME": "/Users/kkolipaka",
                 "LOGNAME": "kkolipaka",
                 "LC_CTYPE": "UTF-8",
                 "_": "/usr/local/bin/appcd",
                 "APPCD_BOOTSTRAP": "1.0.0-2"
               },
               "stdio": [
                 "pipe",
                 "pipe",
                 "pipe",
                 "ipc"
               ]
             },
             "startTime": "2017-11-15T00:52:42.339Z"
           }
         ],
         "plugins": {
           "paths": [
             "/Users/kkolipaka/source/appc-daemon/node_modules/appcd-plugin-android",
             "/Users/kkolipaka/source/appc-daemon/node_modules/appcd-plugin-ios",
             "/Users/kkolipaka/source/appc-daemon/node_modules/appcd-plugin-jdk",
             "/Users/kkolipaka/source/appc-daemon/node_modules/appcd-plugin-system-info",
             "/Users/kkolipaka/source/appc-daemon/node_modules/appcd-plugin-windows",
             "/Users/kkolipaka/.appcelerator/appcd/plugins"
           ],
           "registered": [
             {
               "activeRequests": 0,
               "totalRequests": 0,
               "path": "/Users/kkolipaka/source/appc-daemon/plugins/appcd-plugin-android",
               "version": "1.0.0-2",
               "main": "/Users/kkolipaka/source/appc-daemon/plugins/appcd-plugin-android/dist/index.js",
               "name": "android",
               "type": "external",
               "nodeVersion": "8.9.1",
               "startupTime": null,
               "stats": {
                 "cpu": 100.43573958197753,
                 "freemem": 5516021760,
                 "heapTotal": 19668992,
                 "heapUsed": 12914928,
                 "rss": 52293632,
                 "ts": 0.222
               },
               "error": "androidlib.devices.trackDevices is not a function",
               "stack": "TypeError: androidlib.devices.trackDevices is not a function\n    at AndroidInfoService.initDevices (/Users/kkolipaka/source/appc-daemon/plugins/appcd-plugin-android/src/android-info-service.js:58:5)\n    at AndroidInfoService.activate (/Users/kkolipaka/source/appc-daemon/plugins/appcd-plugin-android/src/android-info-service.js:43:14)\n    at Object.activate (/Users/kkolipaka/source/appc-daemon/plugins/appcd-plugin-android/src/index.js:18:17)\n    at ExternalPlugin.activate (/Users/kkolipaka/source/appc-daemon/packages/appcd-plugin/src/plugin-base.js:146:22)\n    at globals.appcd.call.then.then (/Users/kkolipaka/source/appc-daemon/packages/appcd-plugin/src/external-plugin.js:311:21)\n    at <anonymous>\n    at process._tickCallback (internal/process/next_tick.js:188:7)",
               "pid": null,
               "exitCode": 6,
               "state": "stopped"
             },
             {
               "path": "/Users/kkolipaka/source/appc-daemon/plugins/appcd-plugin-ios",
               "version": "1.0.0-2",
               "main": "/Users/kkolipaka/source/appc-daemon/plugins/appcd-plugin-ios/dist/index.js",
               "name": "ios",
               "type": "external",
               "nodeVersion": "8.9.1",
               "activeRequests": 1,
               "totalRequests": 1,
               "error": null,
               "stack": null,
               "pid": 18352,
               "exitCode": null,
               "startupTime": 1967,
               "state": "started",
               "stats": {
                 "cpu": 47.56036836375302,
                 "freemem": 5430865920,
                 "heapTotal": 64004096,
                 "heapUsed": 35482064,
                 "rss": 111820800,
                 "ts": 2.494
               }
             },
             {
               "path": "/Users/kkolipaka/source/appc-daemon/plugins/appcd-plugin-jdk",
               "version": "1.0.0-2",
               "main": "/Users/kkolipaka/source/appc-daemon/plugins/appcd-plugin-jdk/dist/index.js",
               "name": "jdk",
               "type": "external",
               "nodeVersion": "8.9.1",
               "activeRequests": 1,
               "totalRequests": 1,
               "error": null,
               "stack": null,
               "pid": 18353,
               "exitCode": null,
               "startupTime": 1521,
               "state": "started",
               "stats": {
                 "cpu": 0.15034419853550904,
                 "freemem": 98758656,
                 "heapTotal": 24682496,
                 "heapUsed": 19810936,
                 "rss": 27676672,
                 "ts": 2737.506
               }
             },
             {
               "path": "/Users/kkolipaka/source/appc-daemon/plugins/appcd-plugin-system-info",
               "version": "1.0.0-2",
               "main": "/Users/kkolipaka/source/appc-daemon/plugins/appcd-plugin-system-info/dist/index.js",
               "name": "system-info",
               "type": "external",
               "nodeVersion": "8.9.1",
               "totalRequests": 1,
               "activeRequests": 0,
               "error": null,
               "stack": null,
               "pid": 18345,
               "exitCode": null,
               "startupTime": 95938,
               "state": "started",
               "stats": {
                 "cpu": 0.27215380545891377,
                 "freemem": 91656192,
                 "heapTotal": 30973952,
                 "heapUsed": 26364440,
                 "rss": 55144448,
                 "ts": 2738.278
               }
             },
             {
               "activeRequests": 0,
               "totalRequests": 0,
               "path": "/Users/kkolipaka/source/appc-daemon/plugins/appcd-plugin-windows",
               "version": "1.0.0-2",
               "main": "/Users/kkolipaka/source/appc-daemon/plugins/appcd-plugin-windows/dist/index.js",
               "name": "windows",
               "type": "external",
               "nodeVersion": "8.9.1",
               "error": "Unsupported platform \"darwin\""
             }
           ]
         },
         "memory": {
           "heapTotal": 77152256,
           "heapUsed": 72535192,
           "rss": 106356736
         },
         "uptime": 2744.163
       }
       
  2. Chris Barber 2017-11-15

    How is appcd being started? Is Studio invoking it directly or via appc appcd start?
  3. Kondal Kolipaka 2017-11-15

    I started directly from a terminal using appcd start. I yet to make the changes in the studio to invoke appc appcd start
  4. Kondal Kolipaka 2017-11-15

    I've increased my system process limits FROM:
       ITEM-AX40113:~ kkolipaka$ sysctl -a | grep maxproc
       kern.maxproc: 1024
       kern.maxprocperuid: 709
       
    TO:
       ITEM-AX40113:~ kkolipaka$ sysctl -a | grep maxproc
       kern.maxproc: 2128
       kern.maxprocperuid: 1418
       
    still I'm facing the same issue
  5. Kondal Kolipaka 2017-11-15

    Something to feel happy - I've upgraded from macOS 10.2.6 to 10.13.1 and terminal broken issue is gone now! yo!! Default 10.13.1 process configuration details:
       ITEM-AX40113:~ kkolipaka$ sysctl -a | grep maxproc
       kern.maxproc: 2128
       kern.maxprocperuid: 1418
       
  6. Chris Barber 2017-11-17

    Fixed by DAEMON-144
  7. Kondal Kolipaka 2017-11-17

    My bad, I started facing this issue again. I'm on 7.0.0-master.30
       ITEM-AX40113:~ kkolipaka$ appc appcd exec /system-info/1.x/info
       -bash: fork: Resource temporarily unavailable
       
    Please find the attached debug status file [^appc_debug_status.txt]

JSON Source