Titanium JIRA Archive
Appcelerator Daemon (DAEMON)

[DAEMON-185] Unable to stop the daemon

GitHub Issuen/a
TypeBug
PriorityHigh
StatusResolved
ResolutionFixed
Resolution Date2017-11-23T16:14:41.000+0000
Affected Version/sAppc Daemon 1.0.0
Fix Version/sAppc Daemon 1.0.0
Componentsappcd
Labelsn/a
ReporterKondal Kolipaka
AssigneeEwan Harris
Created2017-11-23T13:31:11.000+0000
Updated2017-11-23T16:14:41.000+0000

Description

Unable to stop the daemon using appc appcd stop. It's an intermittent issue - doesn't have all the time. However, it doesn't have any impact on the studio for 5.0 release.
ITEM-AX40113:titanium_studio kkolipaka$ appc appcd stop --debug
Appcelerator Command-Line Interface, version 7.0.0-master.44
Copyright (c) 2014-2017, Appcelerator, Inc.  All Rights Reserved.


Unable to get server pid
Error: Not Found
ITEM-AX40113:titanium_studio kkolipaka$ appc appcd stop --debug
Appcelerator Command-Line Interface, version 7.0.0-master.44
Copyright (c) 2014-2017, Appcelerator, Inc.  All Rights Reserved.


Unable to get server pid
Error: Not Found
ITEM-AX40113:titanium_studio kkolipaka$ appc appcd status
Appcelerator Command-Line Interface, version 7.0.0-master.44
Copyright (c) 2014-2017, Appcelerator, Inc.  All Rights Reserved.


Core Version  v1.0.0-22          
PID           10760              
Uptime        91.35 minutes      
Node Version  8.9.1              
Memory RSS    128.35 MB          
Memory Heap   39.60 MB / 47.08 MB

Filesystem Watch System     
Nodes                    156
Node.js FS Watchers      129
Client Watchers          84 
 ┌ [d] / (35 files, 0 watchers, 0 links, 0 recursion)
 ├─┬ [d] Applications (77 files, 1 watcher, 0 links, 0 recursion)
 │ ├── [d] Genymotion.app (1 file, 2 watchers, 0 links, 0 recursion)
 │ ├─┬ [d] Xcode-beta.app (1 file, 3 watchers, 0 links, 0 recursion)
 │ │ └─┬ [d] Contents (14 files, 0 watchers, 0 links, 0 recursion)
 │ │   └─┬ [d] Developer (8 files, 1 watcher, 1 link, 0 recursion)
 │ │     └─┬ [d] Platforms (7 files, 0 watchers, 0 links, 0 recursion)
 │ │       ├─┬ [d] iPhoneOS.platform (8 files, 0 watchers, 0 links, 0 recursion)
 │ │       │ └─┬ [d] Developer (3 files, 0 watchers, 0 links, 0 recursion)
 │ │       │   ├─┬ [d] Library (5 files, 0 watchers, 0 links, 0 recursion)
 │ │       │   │ └─┬ [?] CoreSimulator (0 watchers, 0 links, 0 recursion)
 │ │       │   │   └─┬ [?] Profiles (0 watchers, 0 links, 0 recursion)
 │ │       │   │     ├── [?] DeviceTypes (1 watcher, 0 links, 0 recursion)
 │ │       │   │     └── [?] Runtimes (1 watcher, 0 links, 0 recursion)
 │ │       │   └── [d] SDKs (2 files, 1 watcher, 0 links, 0 recursion)
 │ │       ├─┬ [d] iPhoneSimulator.platform (5 files, 0 watchers, 0 links, 0 recursion)
 │ │       │ └─┬ [d] Developer (2 files, 0 watchers, 0 links, 0 recursion)
 │ │       │   └─┬ [d] Library (4 files, 0 watchers, 0 links, 0 recursion)
 │ │       │     └─┬ [d] CoreSimulator (2 files, 0 watchers, 0 links, 0 recursion)
 │ │       │       └─┬ [d] Profiles (2 files, 0 watchers, 0 links, 0 recursion)
 │ │       │         ├── [d] DeviceTypes (14 files, 1 watcher, 0 links, 0 recursion)
 │ │       │         └── [d] Runtimes (1 file, 1 watcher, 0 links, 0 recursion)
 │ │       ├─┬ [d] WatchOS.platform (7 files, 0 watchers, 0 links, 0 recursion)
 │ │       │ └─┬ [d] Developer (3 files, 0 watchers, 0 links, 0 recursion)
 │ │       │   ├─┬ [d] Library (1 file, 0 watchers, 0 links, 0 recursion)
 │ │       │   │ └─┬ [?] CoreSimulator (0 watchers, 0 links, 0 recursion)
 │ │       │   │   └─┬ [?] Profiles (0 watchers, 0 links, 0 recursion)
 │ │       │   │     ├── [?] DeviceTypes (1 watcher, 0 links, 0 recursion)
 │ │       │   │     └── [?] Runtimes (1 watcher, 0 links, 0 recursion)
 │ │       │   └── [d] SDKs (2 files, 1 watcher, 0 links, 0 recursion)
 │ │       └─┬ [d] WatchSimulator.platform (5 files, 0 watchers, 0 links, 0 recursion)
 │ │         └─┬ [d] Developer (2 files, 0 watchers, 0 links, 0 recursion)
 │ │           └─┬ [d] Library (3 files, 0 watchers, 0 links, 0 recursion)
 │ │             └─┬ [d] CoreSimulator (2 files, 0 watchers, 0 links, 0 recursion)
 │ │               └─┬ [d] Profiles (2 files, 0 watchers, 0 links, 0 recursion)
 │ │                 ├── [d] DeviceTypes (2 files, 1 watcher, 0 links, 0 recursion)
 │ │                 └── [d] Runtimes (1 file, 1 watcher, 0 links, 0 recursion)
 │ └─┬ [d] Xcode.app (1 file, 1 watcher, 0 links, 0 recursion)
 │   └─┬ [d] Contents (15 files, 0 watchers, 0 links, 0 recursion)
 │     └─┬ [d] Developer (7 files, 0 watchers, 0 links, 0 recursion)
 │       └─┬ [d] Platforms (7 files, 0 watchers, 0 links, 0 recursion)
 │         ├─┬ [d] iPhoneOS.platform (8 files, 0 watchers, 0 links, 0 recursion)
 │         │ └─┬ [d] Developer (3 files, 0 watchers, 0 links, 0 recursion)
 │         │   ├─┬ [d] Library (6 files, 0 watchers, 0 links, 0 recursion)
 │         │   │ └─┬ [d] CoreSimulator (1 file, 0 watchers, 0 links, 0 recursion)
 │         │   │   └─┬ [d] Profiles (3 files, 0 watchers, 0 links, 0 recursion)
 │         │   │     ├── [d] DeviceTypes (22 files, 1 watcher, 0 links, 0 recursion)
 │         │   │     └── [d] Runtimes (1 file, 1 watcher, 0 links, 0 recursion)
 │         │   └── [d] SDKs (2 files, 1 watcher, 0 links, 0 recursion)
 │         ├─┬ [d] iPhoneSimulator.platform (5 files, 0 watchers, 0 links, 0 recursion)
 │         │ └─┬ [d] Developer (2 files, 0 watchers, 0 links, 0 recursion)
 │         │   └─┬ [d] Library (3 files, 0 watchers, 0 links, 0 recursion)
 │         │     └─┬ [?] CoreSimulator (0 watchers, 0 links, 0 recursion)
 │         │       └─┬ [?] Profiles (0 watchers, 0 links, 0 recursion)
 │         │         ├── [?] DeviceTypes (1 watcher, 0 links, 0 recursion)
 │         │         └── [?] Runtimes (1 watcher, 0 links, 0 recursion)
 │         ├─┬ [d] WatchOS.platform (7 files, 0 watchers, 0 links, 0 recursion)
 │         │ └─┬ [d] Developer (3 files, 0 watchers, 0 links, 0 recursion)
 │         │   ├─┬ [d] Library (3 files, 0 watchers, 0 links, 0 recursion)
 │         │   │ └─┬ [d] CoreSimulator (1 file, 0 watchers, 0 links, 0 recursion)
 │         │   │   └─┬ [d] Profiles (3 files, 0 watchers, 0 links, 0 recursion)
 │         │   │     ├── [d] DeviceTypes (6 files, 1 watcher, 0 links, 0 recursion)
 │         │   │     └── [d] Runtimes (1 file, 1 watcher, 0 links, 0 recursion)
 │         │   └── [d] SDKs (2 files, 1 watcher, 0 links, 0 recursion)
 │         └─┬ [d] WatchSimulator.platform (5 files, 0 watchers, 0 links, 0 recursion)
 │           └─┬ [d] Developer (2 files, 0 watchers, 0 links, 0 recursion)
 │             └─┬ [d] Library (2 files, 0 watchers, 0 links, 0 recursion)
 │               └─┬ [?] CoreSimulator (0 watchers, 0 links, 0 recursion)
 │                 └─┬ [?] Profiles (0 watchers, 0 links, 0 recursion)
 │                   ├── [?] DeviceTypes (1 watcher, 0 links, 0 recursion)
 │                   └── [?] Runtimes (1 watcher, 0 links, 0 recursion)
 ├─┬ [d] Library (64 files, 0 watchers, 0 links, 0 recursion)
 │ ├─┬ [d] Developer (3 files, 0 watchers, 0 links, 0 recursion)
 │ │ └─┬ [d] CoreSimulator (1 file, 0 watchers, 0 links, 0 recursion)
 │ │   └── [d] Profiles (1 file, 1 watcher, 0 links, 0 recursion)
 │ ├─┬ [d] Java (2 files, 0 watchers, 0 links, 0 recursion)
 │ │ └─┬ [d] JavaVirtualMachines (5 files, 1 watcher, 0 links, 0 recursion)
 │ │   ├── [d] jdk1.7.0_80.jdk (1 file, 1 watcher, 0 links, 0 recursion)
 │ │   ├── [d] jdk1.8.0_121.jdk (1 file, 1 watcher, 0 links, 0 recursion)
 │ │   ├─┬ [d] jdk1.8.0_131.jdk (1 file, 1 watcher, 0 links, 0 recursion)
 │ │   │ └─┬ [d] Contents (3 files, 0 watchers, 0 links, 0 recursion)
 │ │   │   └─┬ [d] Home (14 files, 1 watcher, 0 links, 0 recursion)
 │ │   │     └── [d] bin (44 files, 1 watcher, 0 links, 0 recursion)
 │ │   ├── [d] jdk1.8.0_144.jdk (1 file, 1 watcher, 0 links, 0 recursion)
 │ │   └── [d] jdk1.8.0_151.jdk (1 file, 1 watcher, 0 links, 0 recursion)
 │ └─┬ [d] Keychains (6 files, 0 watchers, 0 links, 0 recursion)
 │   └── [f] System.keychain (1 watcher, 0 links, 0 recursion)
 ├─┬ [d] opt (1 file, 2 watchers, 0 links, 0 recursion)
 │ └── [d] local (10 files, 2 watchers, 0 links, 0 recursion)
 ├─┬ [d] private (4 files, 0 watchers, 0 links, 0 recursion)
 │ └─┬ [d] var (24 files, 0 watchers, 0 links, 0 recursion)
 │   └─┬ [d] db (91 files, 0 watchers, 0 links, 0 recursion)
 │     └── [ld] xcode_select_link → /Applications/Xcode-beta.app/Contents/Developer  (8 files, 0 watchers, 0 links, 0 recursion)
 ├─┬ [d] System (2 files, 0 watchers, 0 links, 0 recursion)
 │ └─┬ [d] Library (97 files, 0 watchers, 0 links, 0 recursion)
 │   └─┬ [d] Java (2 files, 0 watchers, 0 links, 0 recursion)
 │     └── [?] JavaVirtualMachines (1 watcher, 0 links, 0 recursion)
 ├─┬ [d] Users (5 files, 0 watchers, 0 links, 0 recursion)
 │ └─┬ [d] kkolipaka (88 files, 2 watchers, 0 links, 0 recursion)
 │   ├─┬ [d] .android (20 files, 0 watchers, 0 links, 0 recursion)
 │   │ └── [d] avd (10 files, 1 watcher, 0 links, 1 recursion)
 │   ├─┬ [d] .appcelerator (10 files, 0 watchers, 0 links, 0 recursion)
 │   │ ├─┬ [d] appcd (5 files, 0 watchers, 0 links, 0 recursion)
 │   │ │ └── [?] plugins (1 watcher, 0 links, 0 recursion)
 │   │ └─┬ [d] install (31 files, 0 watchers, 0 links, 0 recursion)
 │   │   └─┬ [d] 7.0.0-master.44 (2 files, 0 watchers, 0 links, 0 recursion)
 │   │     └─┬ [d] package (15 files, 0 watchers, 0 links, 0 recursion)
 │   │       └─┬ [d] node_modules (354 files, 0 watchers, 0 links, 0 recursion)
 │   │         ├─┬ [d] appcd-plugin-android (6 files, 2 watchers, 0 links, 0 recursion)
 │   │         │ └── [d] dist (3 files, 1 watcher, 0 links, 0 recursion)
 │   │         ├─┬ [d] appcd-plugin-genymotion (6 files, 2 watchers, 0 links, 0 recursion)
 │   │         │ └── [d] dist (2 files, 1 watcher, 0 links, 0 recursion)
 │   │         ├─┬ [d] appcd-plugin-ios (6 files, 2 watchers, 0 links, 0 recursion)
 │   │         │ └── [d] dist (3 files, 1 watcher, 0 links, 0 recursion)
 │   │         ├─┬ [d] appcd-plugin-jdk (6 files, 2 watchers, 0 links, 0 recursion)
 │   │         │ └── [d] dist (3 files, 1 watcher, 0 links, 0 recursion)
 │   │         ├─┬ [d] appcd-plugin-system-info (6 files, 2 watchers, 0 links, 0 recursion)
 │   │         │ └── [d] dist (1 file, 1 watcher, 0 links, 0 recursion)
 │   │         └── [d] appcd-plugin-windows (6 files, 1 watcher, 0 links, 0 recursion)
 │   ├─┬ [d] .docker (1 file, 0 watchers, 0 links, 0 recursion)
 │   │ └─┬ [d] machine (3 files, 0 watchers, 0 links, 0 recursion)
 │   │   └─┬ [d] machines (1 file, 0 watchers, 0 links, 0 recursion)
 │   │     └─┬ [d] default (11 files, 0 watchers, 0 links, 0 recursion)
 │   │       └─┬ [d] default (4 files, 0 watchers, 0 links, 0 recursion)
 │   │         └── [f] default.vbox (1 watcher, 0 links, 0 recursion)
 │   ├─┬ [d] .Genymobile (4 files, 0 watchers, 0 links, 0 recursion)
 │   │ └─┬ [d] Genymotion (6 files, 0 watchers, 0 links, 0 recursion)
 │   │   └─┬ [d] deployed (1 file, 0 watchers, 0 links, 0 recursion)
 │   │     └─┬ [d] Google Pixel - 8.0 - API 26 - 1080x1920 (9 files, 0 watchers, 0 links, 0 recursion)
 │   │       └── [f] Google Pixel - 8.0 - API 26 - 1080x1920.vbox (1 watcher, 0 links, 0 recursion)
 │   ├── [d] Applications (2 files, 1 watcher, 0 links, 0 recursion)
 │   ├─┬ [d] Downloads (304 files, 0 watchers, 0 links, 0 recursion)
 │   │ └── [d] android-ndk-r12b (14 files, 2 watchers, 0 links, 0 recursion)
 │   └─┬ [d] Library (73 files, 0 watchers, 0 links, 0 recursion)
 │     ├─┬ [d] Android (1 file, 0 watchers, 0 links, 0 recursion)
 │     │ └─┬ [d] sdk (1 file, 1 watcher, 0 links, 0 recursion)
 │     │   └── [?] ndk-bundle (1 watcher, 0 links, 0 recursion)
 │     ├── [d] android-sdk-macosx (16 files, 2 watchers, 0 links, 0 recursion)
 │     ├─┬ [d] Developer (2 files, 0 watchers, 0 links, 0 recursion)
 │     │ └─┬ [d] CoreSimulator (1 file, 0 watchers, 0 links, 0 recursion)
 │     │   └── [d] Devices (103 files, 1 watcher, 0 links, 1 recursion)
 │     ├─┬ [d] Keychains (7 files, 0 watchers, 0 links, 0 recursion)
 │     │ └── [f] login.keychain-db (1 watcher, 0 links, 0 recursion)
 │     ├─┬ [d] MobileDevice (2 files, 0 watchers, 0 links, 0 recursion)
 │     │ └── [d] Provisioning Profiles (8 files, 1 watcher, 0 links, 0 recursion)
 │     ├─┬ [d] Preferences (284 files, 0 watchers, 0 links, 0 recursion)
 │     │ └── [?] com.apple.security.plist (1 watcher, 0 links, 0 recursion)
 │     └─┬ [d] VirtualBox (17 files, 0 watchers, 0 links, 0 recursion)
 │       └── [f] VirtualBox.xml (1 watcher, 0 links, 0 recursion)
 └─┬ [d] usr (7 files, 2 watchers, 0 links, 0 recursion)
   └─┬ [d] local (15 files, 2 watchers, 0 links, 0 recursion)
     ├── [d] bin (124 files, 2 watchers, 0 links, 0 recursion)
     └─┬ [d] lib (41 files, 0 watchers, 0 links, 0 recursion)
       └─┬ [d] node_modules (4 files, 0 watchers, 0 links, 0 recursion)
         └─┬ [d] npm (23 files, 0 watchers, 0 links, 0 recursion)
           └── [f] package.json (1 watcher, 0 links, 0 recursion)

Plugin       Version   Type      Path                                                                                                  Node.js  Status                         Active/Total Requests
android      1.0.0-22  external  /Users/kkolipaka/.appcelerator/install/7.0.0-master.44/package/node_modules/appcd-plugin-android      8.9.1    Active, PID=10778              1 / 1                
genymotion   1.0.0-22  external  /Users/kkolipaka/.appcelerator/install/7.0.0-master.44/package/node_modules/appcd-plugin-genymotion   8.9.1    Active, PID=10779              1 / 1                
ios          1.0.0-22  external  /Users/kkolipaka/.appcelerator/install/7.0.0-master.44/package/node_modules/appcd-plugin-ios          8.9.1    Active, PID=10780              1 / 1                
jdk          1.0.0-22  external  /Users/kkolipaka/.appcelerator/install/7.0.0-master.44/package/node_modules/appcd-plugin-jdk          8.9.1    Active, PID=10781              1 / 1                
system-info  1.0.0-22  external  /Users/kkolipaka/.appcelerator/install/7.0.0-master.44/package/node_modules/appcd-plugin-system-info  8.9.1    Active, PID=10770              7 / 12               
windows      1.0.0-22  external  /Users/kkolipaka/.appcelerator/install/7.0.0-master.44/package/node_modules/appcd-plugin-windows      8.9.1    Unsupported platform "darwin"  0 / 0                

PID    Command                                                                                                                                                                                                                                                                               Started    
10770  /Users/kkolipaka/.appcelerator/appcd/node/v8.9.1/darwin/x64/node /Users/kkolipaka/.appcelerator/install/7.0.0-master.44/package/node_modules/appcd-plugin/bin/appcd-plugin-host /Users/kkolipaka/.appcelerator/install/7.0.0-master.44/package/node_modules/appcd-plugin-system-info  2 hours ago
10778  /Users/kkolipaka/.appcelerator/appcd/node/v8.9.1/darwin/x64/node /Users/kkolipaka/.appcelerator/install/7.0.0-master.44/package/node_modules/appcd-plugin/bin/appcd-plugin-host /Users/kkolipaka/.appcelerator/install/7.0.0-master.44/package/node_modules/appcd-plugin-android      2 hours ago
10779  /Users/kkolipaka/.appcelerator/appcd/node/v8.9.1/darwin/x64/node /Users/kkolipaka/.appcelerator/install/7.0.0-master.44/package/node_modules/appcd-plugin/bin/appcd-plugin-host /Users/kkolipaka/.appcelerator/install/7.0.0-master.44/package/node_modules/appcd-plugin-genymotion   2 hours ago
10780  /Users/kkolipaka/.appcelerator/appcd/node/v8.9.1/darwin/x64/node /Users/kkolipaka/.appcelerator/install/7.0.0-master.44/package/node_modules/appcd-plugin/bin/appcd-plugin-host /Users/kkolipaka/.appcelerator/install/7.0.0-master.44/package/node_modules/appcd-plugin-ios          2 hours ago
10781  /Users/kkolipaka/.appcelerator/appcd/node/v8.9.1/darwin/x64/node /Users/kkolipaka/.appcelerator/install/7.0.0-master.44/package/node_modules/appcd-plugin/bin/appcd-plugin-host /Users/kkolipaka/.appcelerator/install/7.0.0-master.44/package/node_modules/appcd-plugin-jdk          2 hours ago

Comments

  1. Ewan Harris 2017-11-23

    https://github.com/appcelerator/appc-daemon/pull/192 Steps to reproduce

    \[appc\] appcd start

    rm ~/.appcelerator/appcd/appcd.pid

    \[appc\] appcd stop

JSON Source