brutella / hklifx

LIFX HomeKit bridge
Other
105 stars 17 forks source link

hklifx terminates with "signal: killed" #31

Closed bland328 closed 7 years ago

bland328 commented 7 years ago

Summary: After working for minutes or hours, hklifx unexpectedly terminates with a "signal: killed" message.

Configuration: Latest (as of 2017-03-21) hklifx running under go1.7 on a Raspberry Pi 3 Model B running Raspbian 4.4.38-v7+, and controlling two (2) "Gen 2" LIFX Color 1000 bulbs

Observations: hklifx used to work perfectly for me for months at a time controlling two (2) "Gen 2" LIFX Color 1000 bulbs.

Eventually, I added one of the newer "Gen 3" LIFX A19 bulbs, and hklifx began working for only minutes or hours at a time; I can't say for certain if was the addition of the third bulb, the updating of other bulbs' firmware, the updating of hklifx, or possibly something else that precipitated the change in hklifx's behavior.

For a while, I assumed hklifx was choking on the "Gen 3" bulb, and hoped a new release would fix things up.

Recently, however, I removed the new bulb, and find hklifx is still unhappy for some reason.

Output: Below is the verbose output of everything from starting hklifx to watching it terminate, all without operating the bulbs at all:

$ go run hklifxd.go -pin 00102003 -v
DEBUG 2017/03/20 15:24:03 Discovered Group Basement Room
DEBUG 2017/03/20 15:24:03 Discovered Location My Home
DEBUG 2017/03/20 15:24:03 Discovered Device BRRight
DEBUG 2017/03/20 15:24:03 Creating New HKLight for BRRight
INFO 2017/03/20 15:24:04 Accessory IP is 192.168.1.239
DEBUG 2017/03/20 15:24:04 Discovered Device BRLeft
DEBUG 2017/03/20 15:24:04 Creating New HKLight for BRLeft
INFO 2017/03/20 15:24:04 Accessory IP is 192.168.1.239
DEBUG 2017/03/20 15:24:04 192.168.1.230:49798 POST /pair-verify
DEBUG 2017/03/20 15:24:04 Create new pair verify controller
DEBUG 2017/03/20 15:24:04 ->     A: 20086ad3c29db73abd9dcc113ca1898f8f25e83a57e6f9a30370d1b5412ed434
DEBUG 2017/03/20 15:24:04 192.168.1.232:49582 POST /pair-verify
DEBUG 2017/03/20 15:24:04 Create new pair verify controller
DEBUG 2017/03/20 15:24:04        K: cbc06c45f6bad9b002d713f0be7c4ac67c8c7a4fec4725fe92e0b98cf10774eb
DEBUG 2017/03/20 15:24:04        B: 1c4dcd28a9370864b2ace52c441ed667d4232b95c8a90a555c5de3a2b1dad75b
DEBUG 2017/03/20 15:24:04        S: 41111149a202fa18e5cf3fe1b82fab6c669408a8ee2e400700623b7cbdd8b32a
DEBUG 2017/03/20 15:24:04   Shared: 4e6cccc887e707d151ba06948676fd76d25875abc37046de0a534b10dfc73267
DEBUG 2017/03/20 15:24:04 <-     B: 1c4dcd28a9370864b2ace52c441ed667d4232b95c8a90a555c5de3a2b1dad75b
DEBUG 2017/03/20 15:24:04 ->     A: 932f1104fee76d4c65033aed4d6dba5549775a8cc2eff5e2f4b89f1fcf11911a
DEBUG 2017/03/20 15:24:04        K: 9d23f843a60410778c0c5308ede77a82ec0fdd428358db09fb57eb2aedd526f3
DEBUG 2017/03/20 15:24:04        B: 19cb1d4fee61f124715f177c3adacbab5ec821c35bf8b712e35dceae1b6b1f43
DEBUG 2017/03/20 15:24:04        S: 88c6598e160778e9d21f452cc698f1955391c3696f2a6d8b6e24518134dbb2c1
DEBUG 2017/03/20 15:24:04   Shared: c349617e307fa3f1d31a7a61636983b37094559b112bbb0ad91e01192c84c279
DEBUG 2017/03/20 15:24:04 <-     B: 19cb1d4fee61f124715f177c3adacbab5ec821c35bf8b712e35dceae1b6b1f43
DEBUG 2017/03/20 15:24:04 192.168.1.230:49798 POST /pair-verify
DEBUG 2017/03/20 15:24:04 ->     Message: 95de767a55a5773293a7e60aa38126b8441dc6b6af2edef5c38f2ed973c3afcd9b2061041a4808bfa49d6a0afbfe486487b5d212763db3656c38c8fb05e4a6672a1ced8e9d59abd4fd78486677a66706e74fb0e569dbbabfd221e12060db8ec85b3ac358aa88d466
DEBUG 2017/03/20 15:24:04 ->     MAC: 98d1d0ddecbcb93a0d5cfb57f239ca4e
DEBUG 2017/03/20 15:24:04     client: EB0D218D-17C2-4B5E-B5B3-453315FDE6C0
DEBUG 2017/03/20 15:24:04  signature: aacb14a56c84a2257f6deca7da6e021ba094a017b2cb1c886053e043f4bd19907045a6b2dfe0088f6311dc451d1efc0b3a74a0a8fdf70ef5346fda91746ca106
DEBUG 2017/03/20 15:24:04 signature is valid
DEBUG 2017/03/20 15:24:04 Setup secure session
DEBUG 2017/03/20 15:24:04 192.168.1.230:49798 GET /accessories
DEBUG 2017/03/20 15:24:04 {"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","characteristics":[{"iid":2,"type":"14","perms":["pw"],"format":"bool"},{"iid":3,"type":"20","perms":["pr"],"value":"LIFX","format":"string"},{"iid":4,"type":"21","perms":["pr"],"value":"undefined","format":"string"},{"iid":5,"type":"23","perms":["pr"],"value":"BRRight","format":"string"},{"iid":6,"type":"30","perms":["pr"],"value":"undefined","format":"string"}]},{"iid":7,"type":"43","characteristics":[{"iid":8,"type":"25","perms":["pr","pw","ev"],"value":false,"format":"bool"},{"iid":9,"type":"8","perms":["pr","pw","ev"],"value":51,"format":"int32","unit":"percentage","maxValue":100,"minValue":0,"minStep":1},{"iid":10,"type":"2F","perms":["pr","pw","ev"],"value":100,"format":"float","unit":"percentage","maxValue":100,"minValue":0,"minStep":1},{"iid":11,"type":"13","perms":["pr","pw","ev"],"value":0,"format":"float","unit":"arcdegrees","maxValue":360,"minValue":0,"minStep":1}]}]}]}
DEBUG 2017/03/20 15:24:04 192.168.1.232:49582 POST /pair-verify
DEBUG 2017/03/20 15:24:04 ->     Message: 1d012443666ab00f98c7845813f63f57fbdaf0bea3890074b03fea3fb448743dc434337395c50abc2e123eb82735e302964bc8cce691d0e979c87d9185c211250f633f6342d9a54351412cfda33a9f9d16a5f2e96ee8e445e244c77be1d20b41d519f85a3ee3b113
DEBUG 2017/03/20 15:24:04 ->     MAC: 32320dc71bec640fd8bb925a256bb0be
DEBUG 2017/03/20 15:24:04     client: EB0D218D-17C2-4B5E-B5B3-453315FDE6C0
DEBUG 2017/03/20 15:24:04  signature: b2fd7ced4fe77a7ad93e1018de74060405be767af0e7679b5e322c5551e489658d1f90628700505b1fa8025545ab2a6a9a9c200a7c99628731eda15ccca2e006
DEBUG 2017/03/20 15:24:04 signature is valid
DEBUG 2017/03/20 15:24:04 Setup secure session
DEBUG 2017/03/20 15:24:04 192.168.1.232:49582 GET /accessories
DEBUG 2017/03/20 15:24:04 {"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","characteristics":[{"iid":2,"type":"14","perms":["pw"],"format":"bool"},{"iid":3,"type":"20","perms":["pr"],"value":"LIFX","format":"string"},{"iid":4,"type":"21","perms":["pr"],"value":"undefined","format":"string"},{"iid":5,"type":"23","perms":["pr"],"value":"BRRight","format":"string"},{"iid":6,"type":"30","perms":["pr"],"value":"undefined","format":"string"}]},{"iid":7,"type":"43","characteristics":[{"iid":8,"type":"25","perms":["pr","pw","ev"],"value":false,"format":"bool"},{"iid":9,"type":"8","perms":["pr","pw","ev"],"value":51,"format":"int32","unit":"percentage","maxValue":100,"minValue":0,"minStep":1},{"iid":10,"type":"2F","perms":["pr","pw","ev"],"value":100,"format":"float","unit":"percentage","maxValue":100,"minValue":0,"minStep":1},{"iid":11,"type":"13","perms":["pr","pw","ev"],"value":0,"format":"float","unit":"arcdegrees","maxValue":360,"minValue":0,"minStep":1}]}]}]}
DEBUG 2017/03/20 15:24:04 192.168.1.230:49799 POST /pair-verify
DEBUG 2017/03/20 15:24:04 Create new pair verify controller
DEBUG 2017/03/20 15:24:04 ->     A: a634451eed00c1df124c35fbb8634a52bcdcedc02161caa7725445103091ad4e
DEBUG 2017/03/20 15:24:04        K: f54447947f77d76d17fc67a67573c3d110a4a8d97a619f24bc88bece41fd2a7e
DEBUG 2017/03/20 15:24:04        B: b62ecef3e02895d63d271ddd65a64ba281f305ac36f5a126ba410cfc133f9f6d
DEBUG 2017/03/20 15:24:04        S: efe4428880194b06136c395c5d1dfb5b6fe2a60615d41fe0e1d21d18f3e5611b
DEBUG 2017/03/20 15:24:04   Shared: 1196bc757fccfe1cc8e818f678f997f3792b87fd00086c6fdb5d3994d48d136c
DEBUG 2017/03/20 15:24:04 <-     B: b62ecef3e02895d63d271ddd65a64ba281f305ac36f5a126ba410cfc133f9f6d
DEBUG 2017/03/20 15:24:04 192.168.1.232:49583 POST /pair-verify
DEBUG 2017/03/20 15:24:04 Create new pair verify controller
DEBUG 2017/03/20 15:24:04 192.168.1.230:49799 POST /pair-verify
DEBUG 2017/03/20 15:24:04 ->     Message: e98a5c509ab97dc2fb6216af671e308d2e8ad05e9e9c7e0a1a8d99e76b04c18d50aac91b4dfe6e6453bc26a2485c550d0fbfe4b6609151072e8d0526cdc13d66c72efe6eb50b81a9db85d9c5e2ab773878a7a1a2f418f8da6321b1fc46d8d4afb91324b432bd19ba
DEBUG 2017/03/20 15:24:04 ->     MAC: 03f8f0163e58003f9cd30d06eeb153e8
DEBUG 2017/03/20 15:24:04     client: EB0D218D-17C2-4B5E-B5B3-453315FDE6C0
DEBUG 2017/03/20 15:24:04  signature: 98450fee7c45524ae810bb2ff4e2abf5145554f142a31732e09d66900f02f9830df74da46f3aec36302038c45f957b00c4deb828fcf4ec2e911fdb79b3e11d00
DEBUG 2017/03/20 15:24:04 signature is valid
DEBUG 2017/03/20 15:24:04 ->     A: fb41d3b59049d01a003a3fcbf9d54e0cd788127b2c0d5c9587ccb021bfa3a171
DEBUG 2017/03/20 15:24:04 Setup secure session
DEBUG 2017/03/20 15:24:04 192.168.1.230:49799 GET /accessories
DEBUG 2017/03/20 15:24:04 {"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","characteristics":[{"iid":2,"type":"14","perms":["pw"],"format":"bool"},{"iid":3,"type":"20","perms":["pr"],"value":"LIFX","format":"string"},{"iid":4,"type":"21","perms":["pr"],"value":"undefined","format":"string"},{"iid":5,"type":"23","perms":["pr"],"value":"BRLeft","format":"string"},{"iid":6,"type":"30","perms":["pr"],"value":"undefined","format":"string"}]},{"iid":7,"type":"43","characteristics":[{"iid":8,"type":"25","perms":["pr","pw","ev"],"value":false,"format":"bool"},{"iid":9,"type":"8","perms":["pr","pw","ev"],"value":51,"format":"int32","unit":"percentage","maxValue":100,"minValue":0,"minStep":1},{"iid":10,"type":"2F","perms":["pr","pw","ev"],"value":100,"format":"float","unit":"percentage","maxValue":100,"minValue":0,"minStep":1},{"iid":11,"type":"13","perms":["pr","pw","ev"],"value":0,"format":"float","unit":"arcdegrees","maxValue":360,"minValue":0,"minStep":1}]}]}]}
DEBUG 2017/03/20 15:24:04        K: c3f64e67f121d4cd04a87d7afdc89b23178b231b5fdf312c01efc45204de9b02
DEBUG 2017/03/20 15:24:04        B: 414d9d4235ee5e6c5856b54612174665f4db6181fde4bb1fb6684fa66ab37542
DEBUG 2017/03/20 15:24:04        S: 542d540b0af1c870e84b408f6e57daca590f9b15a9791c79edc03c9310ac5573
DEBUG 2017/03/20 15:24:04   Shared: 42e2b3c111dc82ae5467a73fe0e1034bbe6f4b853e8dcd9c7ab9a86825c92750
DEBUG 2017/03/20 15:24:04 <-     B: 414d9d4235ee5e6c5856b54612174665f4db6181fde4bb1fb6684fa66ab37542
DEBUG 2017/03/20 15:24:04 192.168.1.232:49583 POST /pair-verify
DEBUG 2017/03/20 15:24:04 ->     Message: 146fe74c7f87e4c35fa2e6f8707001cdaf771039a7d2ff35bd970abee7d0e50d44cb59c3180059e09e0f7859204ab5e66271048a45cea25f30363e6b8467e0f2ca03663b938a1b6fe5580d44595d338741fca187f1fab0f7ae057fa41c5fdb118c7aa00d44232942
DEBUG 2017/03/20 15:24:04 ->     MAC: ba7f8d0e401dea4b5b4e417910bd8a8e
DEBUG 2017/03/20 15:24:04     client: EB0D218D-17C2-4B5E-B5B3-453315FDE6C0
DEBUG 2017/03/20 15:24:04  signature: 8602f57978e41d33e29210ef0cfa95cbc814ddeca52925a4892b4e55083afdf4695fe90983dc55cb3de69fd528b104a24c41735ac38fdd3a4110cc654dc43204
DEBUG 2017/03/20 15:24:04 signature is valid
DEBUG 2017/03/20 15:24:04 Setup secure session
DEBUG 2017/03/20 15:24:04 192.168.1.232:49583 GET /accessories
DEBUG 2017/03/20 15:24:04 {"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","characteristics":[{"iid":2,"type":"14","perms":["pw"],"format":"bool"},{"iid":3,"type":"20","perms":["pr"],"value":"LIFX","format":"string"},{"iid":4,"type":"21","perms":["pr"],"value":"undefined","format":"string"},{"iid":5,"type":"23","perms":["pr"],"value":"BRLeft","format":"string"},{"iid":6,"type":"30","perms":["pr"],"value":"undefined","format":"string"}]},{"iid":7,"type":"43","characteristics":[{"iid":8,"type":"25","perms":["pr","pw","ev"],"value":false,"format":"bool"},{"iid":9,"type":"8","perms":["pr","pw","ev"],"value":51,"format":"int32","unit":"percentage","maxValue":100,"minValue":0,"minStep":1},{"iid":10,"type":"2F","perms":["pr","pw","ev"],"value":100,"format":"float","unit":"percentage","maxValue":100,"minValue":0,"minStep":1},{"iid":11,"type":"13","perms":["pr","pw","ev"],"value":0,"format":"float","unit":"arcdegrees","maxValue":360,"minValue":0,"minStep":1}]}]}]}
DEBUG 2017/03/20 15:24:51 192.168.1.216:62871 POST /pair-verify
DEBUG 2017/03/20 15:24:51 Create new pair verify controller
DEBUG 2017/03/20 15:24:51 ->     A: 69bc25a53743e8daf2f9eb9b63432d2f77e457deeee8b45a0f74bcad84dc6418
DEBUG 2017/03/20 15:24:51        K: 32f740158983a535e9b48634bfe379c2fbac8266c231d01f8dee982979360dce
DEBUG 2017/03/20 15:24:51        B: 9f68b673667e9cfdf496c365db2e1a9dbc1fae381c626c9332a33d5d0153dd30
DEBUG 2017/03/20 15:24:51        S: e9f4a6526bba3ac55796fca170342c062e9764ca2887d321801748c360955c05
DEBUG 2017/03/20 15:24:51   Shared: 234acd7661fa5f72ab21f7539d8f2664c5c4639a8c69b353200f4c5456b16d63
DEBUG 2017/03/20 15:24:51 <-     B: 9f68b673667e9cfdf496c365db2e1a9dbc1fae381c626c9332a33d5d0153dd30
DEBUG 2017/03/20 15:24:51 192.168.1.216:62872 POST /pair-verify
DEBUG 2017/03/20 15:24:51 Create new pair verify controller
DEBUG 2017/03/20 15:24:51 ->     A: 1a6618b99c734aa26fc8be8858926a34701749a9e090dc25c5e2597fbb5a2c40
DEBUG 2017/03/20 15:24:51        K: 18a8162ce6d21ef34ac16eca327ecc8eb9ce952f394e650ba2f8c906ecc319db
DEBUG 2017/03/20 15:24:51        B: fb51ca7dc04ca3fe981968f357934813df08370a6a0a144d86f75b3f60e11753
DEBUG 2017/03/20 15:24:51        S: 3f0a1fbb01d2f2f43f5951345766eb48a9b7563b6b503c7178eee7cae222e05a
DEBUG 2017/03/20 15:24:51   Shared: 6c26165004167fd73102ef3f7052f7e0c226a5d5ae1d3344bb61879eac1a511b
DEBUG 2017/03/20 15:24:51 <-     B: fb51ca7dc04ca3fe981968f357934813df08370a6a0a144d86f75b3f60e11753
DEBUG 2017/03/20 15:24:51 192.168.1.216:62871 POST /pair-verify
DEBUG 2017/03/20 15:24:51 ->     Message: f49de9b32322317e7aaa650025d9f2954ec63e00a052068c861823d8d9075f130a7d9e985aec4e4c2b10c58569fe9c10df5a0c9ff9adc086f95925f924f64c337b52698d4a90888c2335ea6edc9fa93afaad51e465c9e3507ce8bddb16885d543733f2054e1a8e48
DEBUG 2017/03/20 15:24:51 ->     MAC: 4d64d075ec532f2c4f64eb4bb753444a
DEBUG 2017/03/20 15:24:51     client: EB0D218D-17C2-4B5E-B5B3-453315FDE6C0
DEBUG 2017/03/20 15:24:51  signature: 807001cd3a4f31627ff04f4a1c972c760af2737e8a37b2adce1bc25e4fbb7ecf42415abe16989e279eb8e8abb57c7734812ee6fbaefbc921fd9c5ac8758bf909
DEBUG 2017/03/20 15:24:51 signature is valid
DEBUG 2017/03/20 15:24:51 Setup secure session
DEBUG 2017/03/20 15:24:51 192.168.1.216:62871 GET /accessories
DEBUG 2017/03/20 15:24:51 {"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","characteristics":[{"iid":2,"type":"14","perms":["pw"],"format":"bool"},{"iid":3,"type":"20","perms":["pr"],"value":"LIFX","format":"string"},{"iid":4,"type":"21","perms":["pr"],"value":"undefined","format":"string"},{"iid":5,"type":"23","perms":["pr"],"value":"BRLeft","format":"string"},{"iid":6,"type":"30","perms":["pr"],"value":"undefined","format":"string"}]},{"iid":7,"type":"43","characteristics":[{"iid":8,"type":"25","perms":["pr","pw","ev"],"value":false,"format":"bool"},{"iid":9,"type":"8","perms":["pr","pw","ev"],"value":51,"format":"int32","unit":"percentage","maxValue":100,"minValue":0,"minStep":1},{"iid":10,"type":"2F","perms":["pr","pw","ev"],"value":100,"format":"float","unit":"percentage","maxValue":100,"minValue":0,"minStep":1},{"iid":11,"type":"13","perms":["pr","pw","ev"],"value":0,"format":"float","unit":"arcdegrees","maxValue":360,"minValue":0,"minStep":1}]}]}]}
DEBUG 2017/03/20 15:24:51 192.168.1.216:62872 POST /pair-verify
DEBUG 2017/03/20 15:24:51 ->     Message: 693c6d05e404ebf6eb44548e7dcd31326397c404416801e2e4b9464f20665d9ccd12e9b785bffcc4404ccdc81ac22d32a51431b96c942f544dd29c8c77a472517625e99354464e0553cae8af762dfe4f3f55f75ad48d89eea14f5b7dfa9cebdb7dffc3a08d09388f
DEBUG 2017/03/20 15:24:51 ->     MAC: 92fa16705c42c403f733f13ecc07eec2
DEBUG 2017/03/20 15:24:51     client: EB0D218D-17C2-4B5E-B5B3-453315FDE6C0
DEBUG 2017/03/20 15:24:51  signature: 5a999a5225ffeffc5a0ae6542b732a2cefb8be73ce35d2d130df3661013f0858e2d97ebc31fca423928dd31d18a12043bc3609563e9388e8631f6211797ce90c
DEBUG 2017/03/20 15:24:51 signature is valid
DEBUG 2017/03/20 15:24:51 Setup secure session
DEBUG 2017/03/20 15:24:51 192.168.1.216:62872 GET /accessories
DEBUG 2017/03/20 15:24:51 {"accessories":[{"aid":1,"services":[{"iid":1,"type":"3E","characteristics":[{"iid":2,"type":"14","perms":["pw"],"format":"bool"},{"iid":3,"type":"20","perms":["pr"],"value":"LIFX","format":"string"},{"iid":4,"type":"21","perms":["pr"],"value":"undefined","format":"string"},{"iid":5,"type":"23","perms":["pr"],"value":"BRRight","format":"string"},{"iid":6,"type":"30","perms":["pr"],"value":"undefined","format":"string"}]},{"iid":7,"type":"43","characteristics":[{"iid":8,"type":"25","perms":["pr","pw","ev"],"value":false,"format":"bool"},{"iid":9,"type":"8","perms":["pr","pw","ev"],"value":51,"format":"int32","unit":"percentage","maxValue":100,"minValue":0,"minStep":1},{"iid":10,"type":"2F","perms":["pr","pw","ev"],"value":100,"format":"float","unit":"percentage","maxValue":100,"minValue":0,"minStep":1},{"iid":11,"type":"13","perms":["pr","pw","ev"],"value":0,"format":"float","unit":"arcdegrees","maxValue":360,"minValue":0,"minStep":1}]}]}]}
DEBUG 2017/03/20 15:34:04 Keep alive 192.168.1.230:49798 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 15:34:04 Keep alive 192.168.1.232:49582 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 15:34:04 Keep alive 192.168.1.216:62872 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 15:34:04 Keep alive 192.168.1.230:49799 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 15:34:04 Keep alive 192.168.1.232:49583 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 15:34:04 Keep alive 192.168.1.216:62871 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 15:44:04 Keep alive 192.168.1.232:49582 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 15:44:04 Keep alive 192.168.1.216:62872 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 15:44:04 Keep alive 192.168.1.230:49798 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 15:44:04 Keep alive 192.168.1.230:49799 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 15:44:04 Keep alive 192.168.1.232:49583 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 15:44:04 Keep alive 192.168.1.216:62871 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 15:54:04 Keep alive 192.168.1.230:49798 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 15:54:04 Keep alive 192.168.1.232:49582 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 15:54:04 Keep alive 192.168.1.216:62872 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 15:54:04 Keep alive 192.168.1.230:49799 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 15:54:04 Keep alive 192.168.1.232:49583 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 15:54:04 Keep alive 192.168.1.216:62871 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 16:04:04 Keep alive 192.168.1.230:49798 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 16:04:04 Keep alive 192.168.1.232:49582 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 16:04:04 Keep alive 192.168.1.216:62872 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 16:04:04 Keep alive 192.168.1.230:49799 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 16:04:04 Keep alive 192.168.1.232:49583 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 16:04:04 Keep alive 192.168.1.216:62871 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 16:14:04 Keep alive 192.168.1.230:49798 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 16:14:04 Keep alive 192.168.1.232:49582 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 16:14:04 Keep alive 192.168.1.216:62872 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 16:14:04 Keep alive 192.168.1.232:49583 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 16:14:04 Keep alive 192.168.1.216:62871 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 16:14:04 Keep alive 192.168.1.230:49799 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 16:24:04 Keep alive 192.168.1.216:62872 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 16:24:04 Keep alive 192.168.1.230:49798 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 16:24:04 Keep alive 192.168.1.232:49582 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 16:24:04 Keep alive 192.168.1.230:49799 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 16:24:04 Keep alive 192.168.1.232:49583 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 16:24:04 Keep alive 192.168.1.216:62871 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 16:34:04 Keep alive 192.168.1.230:49798 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 16:34:04 Keep alive 192.168.1.232:49582 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 16:34:04 Keep alive 192.168.1.216:62872 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 16:34:04 Keep alive 192.168.1.216:62871 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 16:34:04 Keep alive 192.168.1.230:49799 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 16:34:04 Keep alive 192.168.1.232:49583 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 16:44:04 Keep alive 192.168.1.230:49798 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 16:44:04 Keep alive 192.168.1.232:49582 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 16:44:04 Keep alive 192.168.1.216:62872 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 16:44:04 Keep alive 192.168.1.230:49799 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 16:44:04 Keep alive 192.168.1.232:49583 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 16:44:04 Keep alive 192.168.1.216:62871 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 16:54:04 Keep alive 192.168.1.232:49582 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 16:54:04 Keep alive 192.168.1.216:62872 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 16:54:04 Keep alive 192.168.1.230:49798 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 16:54:04 Keep alive 192.168.1.232:49583 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 16:54:04 Keep alive 192.168.1.216:62871 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 16:54:04 Keep alive 192.168.1.230:49799 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 17:04:04 Keep alive 192.168.1.230:49798 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 17:04:04 Keep alive 192.168.1.232:49582 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 17:04:04 Keep alive 192.168.1.216:62872 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 17:04:04 Keep alive 192.168.1.230:49799 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 17:04:04 Keep alive 192.168.1.232:49583 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 17:04:04 Keep alive 192.168.1.216:62871 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 17:14:04 Keep alive 192.168.1.230:49798 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 17:14:04 Keep alive 192.168.1.232:49582 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 17:14:04 Keep alive 192.168.1.216:62872 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 17:14:04 Keep alive 192.168.1.230:49799 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 17:14:04 Keep alive 192.168.1.232:49583 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 17:14:04 Keep alive 192.168.1.216:62871 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 17:24:04 Keep alive 192.168.1.232:49582 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 17:24:04 Keep alive 192.168.1.216:62872 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 17:24:04 Keep alive 192.168.1.230:49798 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 17:24:04 Keep alive 192.168.1.230:49799 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 17:24:04 Keep alive 192.168.1.232:49583 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 17:24:04 Keep alive 192.168.1.216:62871 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 17:34:04 Keep alive 192.168.1.230:49798 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 17:34:04 Keep alive 192.168.1.232:49582 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 17:34:04 Keep alive 192.168.1.216:62872 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 17:34:04 Keep alive 192.168.1.230:49799 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 17:34:04 Keep alive 192.168.1.232:49583 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 17:34:04 Keep alive 192.168.1.216:62871 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 17:44:04 Keep alive 192.168.1.230:49798 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 17:44:04 Keep alive 192.168.1.232:49582 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 17:44:04 Keep alive 192.168.1.216:62872 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 17:44:04 Keep alive 192.168.1.230:49799 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 17:44:04 Keep alive 192.168.1.232:49583 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 17:44:04 Keep alive 192.168.1.216:62871 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 17:54:04 Keep alive 192.168.1.230:49798 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 17:54:04 Keep alive 192.168.1.232:49582 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 17:54:04 Keep alive 192.168.1.216:62872 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 17:54:04 Keep alive 192.168.1.230:49799 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 17:54:04 Keep alive 192.168.1.232:49583 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

DEBUG 2017/03/20 17:54:04 Keep alive 192.168.1.216:62871 <- EVENT/1.0 200 OK
Content-Type: application/hap+json
Content-Length: 0

signal: killed
bland328 commented 7 years ago

After posting this, I did some more googling, and learned that "signal: killed" is what I might see if I've run out of memory.

So, I started hklifx up again and used the top command to monitor RAM utilization.

I find the daemon slowly consumes more and more memory; after running for only 10 minutes, hklifxd is using 5.5% of memory.

So, I'd say this is likely related to other reports of RAM consumption.

brutella commented 7 years ago

Please refer to the linked issue on how to resolve the memory issue.