This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-04-05
Channels
- # architecture (2)
- # aws (1)
- # bangalore-clj (4)
- # beginners (97)
- # boot (35)
- # cider (8)
- # cljsjs (3)
- # cljsrn (35)
- # clojure (190)
- # clojure-dusseldorf (4)
- # clojure-italy (7)
- # clojure-poland (1)
- # clojure-russia (17)
- # clojure-spec (74)
- # clojure-uk (30)
- # clojureremote (2)
- # clojurescript (298)
- # code-reviews (18)
- # component (18)
- # cursive (18)
- # datascript (3)
- # datavis (2)
- # datomic (24)
- # dirac (17)
- # emacs (3)
- # garden (7)
- # hoplon (51)
- # jobs (2)
- # jobs-rus (2)
- # leiningen (4)
- # luminus (11)
- # mount (24)
- # off-topic (1)
- # om (32)
- # onyx (25)
- # pedestal (1)
- # powderkeg (9)
- # protorepl (6)
- # re-frame (11)
- # reagent (15)
- # spacemacs (6)
- # sql (35)
- # uncomplicate (1)
- # unrepl (74)
- # untangled (130)
- # yada (6)
i'm getting an error during lein test
in CI, which runs in a docker container that I don't have a ton of control over:
java.io.IOException: No space left on device
clojure.lang.ExceptionInfo: Error in component :messaging-group in system onyx.system.OnyxPeerGroup calling #'com.stuartsierra.component/start
component: #<Aeron Peer Group>
i think the solution is typically to increase shm-size
but I don't have the option to do that in this env. i also can't mount volumes. any other ideas/configuration to workaround?@devth you can mount a drive at /dev/shm
Oh shoot misread that
now i'm exploring running mount -t tmpfs -o remount,rw,nosuid,nodev,noexec,relatime,size=256M tmpfs /dev/shm
inside the docker container on startup
:onyx.messaging/allow-short-circuit? true
tried with this but it still produced the same "No space left" error. changing the aeron.dir fixed it though. thanks!
That skips Aeron and uses core-async for message transport. I'm assuming you're running everything in the same process for your tests?
@devth That was deprecated in 0.10 however
Does GitLab let you allocate more memory? If so you should be able to mount like 512mb or so at /dev/shm
if you can run your containers in privileged mode.
nope. as of now there's almost nothing you can configure in the Kubernetes executor for gitlab. it's pretty new. i requested the feature to specify stuff like this.
Aeron will let you move the dir location
See java property aeron.dir described in https://github.com/real-logic/Aeron/wiki/Configuration-Options
Hi! Im trying to put headers in a http-output plugin like this
{:url :headers {X-Amz-Date 20170405T204406Z, Authorization AWS4-HMAC-SHA256 Credential=MYCREDENTIALS, SignedHeaders=host;x-amz-date, Signature=MYSIGNATURE}}
but the request dosen't have these headers. Is there something more to do to send more headers in a http-output out?@lellis I think the headers need to be under :args
@lucasbradstreet Yeah! Success! By the way when we set args the request method turn to POST.