{"action":"created","issue":{"url":"https://api.github.com/repos/ptaoussanis/carmine/issues/161","repository_url":"https://api.github.com/repos/ptaoussanis/carmine","labels_url":"https://api.github.com/repos/ptaoussanis/carmine/issues/161/labels{/name}","comments_url":"https://api.github.com/repos/ptaoussanis/carmine/issues/161/comments","events_url":"https://api.github.com/repos/ptaoussanis/carmine/issues/161/events","html_url":"https://github.com/ptaoussanis/carmine/issues/161","id":132347987,"number":161,"title":"pool issue? ConnectException Address already in use  ","user":{"login":"rschiavi","id":146956,"avatar_url":"https://avatars.githubusercontent.com/u/146956?v=3","gravatar_id":"","url":"https://api.github.com/users/rschiavi","html_url":"https://github.com/rschiavi","followers_url":"https://api.github.com/users/rschiavi/followers","following_url":"https://api.github.com/users/rschiavi/following{/other_user}","gists_url":"https://api.github.com/users/rschiavi/gists{/gist_id}","starred_url":"https://api.github.com/users/rschiavi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rschiavi/subscriptions","organizations_url":"https://api.github.com/users/rschiavi/orgs","repos_url":"https://api.github.com/users/rschiavi/repos","events_url":"https://api.github.com/users/rschiavi/events{/privacy}","received_events_url":"https://api.github.com/users/rschiavi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-02-09T07:06:32Z","updated_at":"2016-07-04T04:37:23Z","closed_at":null,"body":"I have a fairly basic setup, and something is causing what seems like a pool corruption, at some point in processing data, I get the following stack trace. Only when processing hundreds of items (Using pmap). Not sure how to break the app down into anything reproducible but can work on isolating the issue.  \r\n\r\nNote: when i switched out to use redis-async, i never see the problemo.\r\n\r\nCaused by: java.net.ConnectException: Address already in use\r\n\tat java.net.PlainSocketImpl.socketConnect(Native Method)\r\n\tat java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)\r\n\tat java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)\r\n\tat java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)\r\n\tat java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)\r\n\tat java.net.Socket.connect(Socket.java:589)\r\n\tat taoensso.carmine.connections$make_new_connection.invoke(connections.clj:73)\r\n\r\n\r\n(defn get_redis_conn [env]\r\n  (cond\r\n    (= env \"dev\") {:host \"localhost\"\r\n                   :port 6379\r\n                   :timeout 5000}\r\n    :else {:host \"localhost\"\r\n           :port 6379\r\n           :timeout 5000}))\r\n\r\n(def redis-conn {:pool {:max-total 10 }\r\n                 :spec (get_redis_conn  (or (System/getenv \"CLJ_ENV\")\r\n                                            \"dev\"))})\r\n\r\n(defmacro wcar* [& body] `(car/wcar redis-conn ~@body))\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ptaoussanis/carmine/issues/comments/230203148","html_url":"https://github.com/ptaoussanis/carmine/issues/161#issuecomment-230203148","issue_url":"https://api.github.com/repos/ptaoussanis/carmine/issues/161","id":230203148,"user":{"login":"ptaoussanis","id":160011,"avatar_url":"https://avatars.githubusercontent.com/u/160011?v=3","gravatar_id":"","url":"https://api.github.com/users/ptaoussanis","html_url":"https://github.com/ptaoussanis","followers_url":"https://api.github.com/users/ptaoussanis/followers","following_url":"https://api.github.com/users/ptaoussanis/following{/other_user}","gists_url":"https://api.github.com/users/ptaoussanis/gists{/gist_id}","starred_url":"https://api.github.com/users/ptaoussanis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ptaoussanis/subscriptions","organizations_url":"https://api.github.com/users/ptaoussanis/orgs","repos_url":"https://api.github.com/users/ptaoussanis/repos","events_url":"https://api.github.com/users/ptaoussanis/events{/privacy}","received_events_url":"https://api.github.com/users/ptaoussanis/received_events","type":"User","site_admin":false},"created_at":"2016-07-04T04:37:23Z","updated_at":"2016-07-04T04:37:23Z","body":"Closing for now, please feel free to reopen if you have a reproducible example or more info to go on. Thanks!"}}
{"actor":{"display_login":"ptaoussanis"}}