8000 hipache errors in docker containers · Issue #68 · hipache/hipache · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
hipache errors in docker containers #68
Open
@inthecloud247

Description

@inthecloud247

my system:

  • kernel 3.12.4-031204-generic
  • docker 0.7.5
  • ubuntu 13.10

docker commands tested:
docker run -i -t -rm stackbrew/hipache
docker run -i -t -rm hipache
docker run -i -t -p 127.0.0.1:8080:80 -rm hipache
docker run -i -t -p 127.0.0.1:8080:80 -p 127.0.0.1:6379:6379 -rm hipache

also same error when running hipache 0.2.5 in a custom container.
also same errors when tried changing the config file that hipache runs. nothing I did would make the errors go away.

tons and tons of errors spew into the hipache.log file. and cpu usage at idle is ~ 25% of a 3ghz 8-core dev machine.

> head -n100 /var/log/supervisor/hipache.log

15 Jan 21:18:16 - Loading config from /usr/local/lib/node_modules/hipache/config/config_dev.json
15 Jan 21:18:16 - Spawning worker #0
15 Jan 21:18:16 - Spawning worker #1
15 Jan 21:18:16 - Server is running. {"debug":true,"accessLog":"/tmp/proxy2_access.log","port":80,"workers":2,"maxSockets":100,"deadBackendTTL":10,"tcpTimeout":10,"retryOnError":3,"deadBackendOn500":true,"httpKeepAlive":false,"lruCache":{"size":5,"ttl":5}}
15 Jan 21:18:16 - Loading config from /usr/local/lib/node_modules/hipache/config/config_dev.json
15 Jan 21:18:16 - Loading config from /usr/local/lib/node_modules/hipache/config/config_dev.json
15 Jan 21:18:16 - (worker #30) Cache: LRU cache is enabled
15 Jan 21:18:16 - (worker #29) Cache: LRU cache is enabled

net.js:943
    if (port && handle.getsockname && port != handle.getsockname().port) {
                      ^

net.js:943
    if (port && handle.getsockname && port != handle.getsockname().port) {
                      ^
TypeError: Cannot read property 'getsockname' of undefined
    at net.js:943:23
    at Object.cluster._getServer [as 2:2] (cluster.js:555:5)
    at handleResponse (cluster.js:149:41)
    at respond (cluster.js:170:5)
    at handleMessage (cluster.js:180:5)
    at process.EventEmitter.emit (events.js:126:20)
    at handleMessage (child_process.js:270:12)
    at Pipe.channel.onread (child_process.js:295:9)
TypeError: Cannot read property 'getsockname' of undefined
    at net.js:943:23
    at Object.cluster._getServer [as 1:2] (cluster.js:555:5)
    at handleResponse (cluster.js:149:41)
    at respond (cluster.js:170:5)
    at handleMessage (cluster.js:180:5)
    at process.EventEmitter.emit (events.js:126:20)
    at handleMessage (child_process.js:270:12)
    at Pipe.channel.onread (child_process.js:295:9)
15 Jan 21:18:16 - Worker died (pid: 30, suicide: false, exitcode: 1). Spawning a new one.
15 Jan 21:18:16 - Worker died (pid: 29, suicide: false, exitcode: 1). Spawning a new one.
15 Jan 21:18:16 - Loading config from /usr/local/lib/node_modules/hipache/config/config_dev.json
15 Jan 21:18:16 - Loading config from /usr/local/lib/node_modules/hipache/config/config_dev.json
15 Jan 21:18:16 - (worker #38) Cache: LRU cache is enabled
15 Jan 21:18:16 - (worker #39) Cache: LRU cache is enabled

net.js:943
    if (port && handle.getsockname && port != handle.getsockname().port) {
                      ^

net.js:943
    if (port && handle.getsockname && port != handle.getsockname().port) {
                      ^
TypeError: Cannot read property 'getsockname' of undefined
    at net.js:943:23
    at Object.cluster._getServer [as 3:2] (cluster.js:555:5)
    at handleResponse (cluster.js:149:41)
    at respond (cluster.js:170:5)
    at handleMessage (cluster.js:180:5)
    at process.EventEmitter.emit (events.js:126:20)
    at handleMessage (child_process.js:270:12)
    at Pipe.channel.onread (child_process.js:295:9)
TypeError: Cannot read property 'getsockname' of undefined
    at net.js:943:23
    at Object.cluster._getServer [as 4:2] (cluster.js:555:5)
    at handleResponse (cluster.js:149:41)
    at respond (cluster.js:170:5)
    at handleMessage (cluster.js:180:5)
    at process.EventEmitter.emit (events.js:126:20)
    at handleMessage (child_process.js:270:12)
    at Pipe.channel.onread (child_process.js:295:9)
15 Jan 21:18:16 - Worker died (pid: 38, suicide: false, exitcode: 1). Spawning a new one.
15 Jan 21:18:16 - Worker died (pid: 39, suicide: false, exitcode: 1). Spawning a new one.
15 Jan 21:18:16 - Loading config from /usr/local/lib/node_modules/hipache/config/config_dev.json
15 Jan 21:18:16 - Loading config from /usr/local/lib/node_modules/hipache/config/config_dev.json
15 Jan 21:18:16 - (worker #46) Cache: LRU cache is enabled
15 Jan 21:18:16 - (worker #45) Cache: LRU cache is enabled

net.js:943

    if (port && handle.getsockname && port != handle.getsockname().port) {
          net.js:943
            ^
    if (port && handle.getsockname && port != handle.getsockname().port) {
                      ^
TypeError: Cannot read property 'getsockname' of undefined
    at net.js:943:23
    at Object.cluster._getServer [as 6:2] (cluster.js:555:5)
    at handleResponse (cluster.js:149:41)
    at respond (cluster.js:170:5)
    at handleMessage (cluster.js:180:5)
    at process.EventEmitter.emit (events.js:126:20)
    at handleMessage (child_process.js:270:12)
    at Pipe.channel.onread (child_process.js:295:9)
TypeError: Cannot read property 'getsockname' of undefined
    at net.js:943:23
    at Object.cluster._getServer [as 5:2] (cluster.js:555:5)
    at handleResponse (cluster.js:149:41)
    at respond (cluster.js:170:5)
    at handleMessage (cluster.js:180:5)
    at process.EventEmitter.emit (events.js:126:20)
    at handleMessage (child_process.js:270:12)
    at Pipe.channel.onread (child_process.js:295:9)
15 Jan 21:18:16 - Worker died (pid: 46, suicide: false, exitcode: 1). Spawning a new one.
15 Jan 21:18:16 - Worker died (pid: 45, suicide: false, exitcode: 1). Spawning a new one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0