These are chat archives for fanout/pushpin

3rd
Jul 2018
Justin Karneges
@jkarneges
Jul 03 2018 00:02
@jorgecuesta maybe it exits for a different reason than the pid file. anything in the error log?
Bruno Alano
@brunoalano
Jul 03 2018 16:34
Hey guys, how you recommend deploying Pushpin? Any methods using Kubernetes?
Jorge S. Cuesta
@jorgecuesta
Jul 03 2018 16:35
@jkarneges same about pid file error but I can’t fix it
Justin Karneges
@jkarneges
Jul 03 2018 17:46
it really should be that simple. I looked to see what we were doing on Fanout Cloud and found this in our systemd config: ExecStartPre=/bin/rm -f /opt/m2/run/mongrel2_9000.pid
@jorgecuesta any chance you could test the develop branch of pushpin? it has a fix to remove the pid file, but it's basically the same as what you're doing in your shell script and now I wonder if that's really enough
Jorge S. Cuesta
@jorgecuesta
Jul 03 2018 17:50
what should I do to use develop branch on an image/dockerfile
Justin Karneges
@jkarneges
Jul 03 2018 17:52
I'm not sure what people do for source builds on docker but I suppose you could put source downloading and compilation commands in the Dockerfile?
you can apt the dependencies, then configure && make https://pushpin.org/docs/install/#building-from-source
Adam McElwee
@acmcelwee
Jul 03 2018 18:59
Anyone familiar w/ this error that's showing up in the mongrel2 error logs? Tue, 03 Jul 2018 18:07:16 GMT [ERROR] (src/register.c:157: errno: Resource temporarily unavailable) Invalid FD given for ping: -1
It's happening somewhat regularly, but hasn't manifested in any visible way.
It's really just puzzling
Justin Karneges
@jkarneges
Jul 03 2018 20:11
Hi @acmcelwee what version of mongrel2? Are you using a distro package? This seems vaguely familiar as an old bug but not something I've seen recently
Adam McElwee
@acmcelwee
Jul 03 2018 20:18
@jkarneges context is a slightly modified variant of your docker-fanout setup https://github.com/fanout/docker-pushpin/blob/master/Dockerfile
I set ours up on debian stretch
and am installing the 1.17.2 pushpin package from the bintray repos
Justin Karneges
@jkarneges
Jul 03 2018 20:20
do you know if you're also pulling the mongrel2-core package from our bintray repo?
I believe this is what happens on our default dockerfile
Adam McElwee
@acmcelwee
Jul 03 2018 20:20
not explicitly
Justin Karneges
@jkarneges
Jul 03 2018 20:21
are you using ssl?
Adam McElwee
@acmcelwee
Jul 03 2018 20:21
no, ssl is currently terminated at an ALB
Adam McElwee
@acmcelwee
Jul 03 2018 20:38
root@fcd4dbd0b47a:/# apt list mongrel2-core
Listing... Done
mongrel2-core/stable,now 1.11.0-6 amd64 [installed,automatic]
root@fcd4dbd0b47a:/# apt list pushpin
Listing... Done
pushpin/fanout-stretch,now 1.17.2-3~bp9 amd64 [installed]
N: There are 5 additional versions. Please use the '-a' switch to see them.
root@fcd4dbd0b47a:/# apt list pushpin -a
Listing... Done
pushpin/fanout-stretch,now 1.17.2-3~bp9 amd64 [installed]
pushpin/fanout-stretch 1.17.2-1~bp9 amd64
pushpin/fanout-stretch 1.17.1-1~bp9 amd64
pushpin/fanout-stretch 1.17.0-1~bp9 amd64
pushpin/fanout-stretch 1.16.0-1~bp9 amd64
pushpin/stable 1.15.0-1 amd64
root@fcd4dbd0b47a:/# apt show mongrel2-core
Package: mongrel2-core
Version: 1.11.0-6
Priority: optional
Section: httpd
Source: mongrel2
Maintainer: Jan Niehusmann <jan@debian.org>
Installed-Size: 1672 kB
Depends: libc6 (>= 2.14), libmbedcrypto0 (>= 2.0), libmbedtls10 (>= 2.0), libmbedx509-0 (>= 2.0), libsqlite3-0 (>= 3.5.9), libzmq5 (>= 3.2.3+dfsg)
Homepage: http://mongrel2.org/
Download-Size: 398 kB
APT-Manual-Installed: no
APT-Sources: http://deb.debian.org/debian stretch/main amd64 Packages
Description: programming language agnostic web server (binaries)
Justin Karneges
@jkarneges
Jul 03 2018 22:07
oh hmm there's a 1.11.0-7 but it doesn't look like it was added to all distros
don't know if that version would actually fix your issue, but you might try compiling the latest
Adam McElwee
@acmcelwee
Jul 03 2018 22:22
When you say latest, are you talking about the develop branch?
Justin Karneges
@jkarneges
Jul 03 2018 22:23
yes
Adam McElwee
@acmcelwee
Jul 03 2018 22:29
thought you might say that :)