TritonDataCenter / pkgsrc

NetBSD/pkgsrc fork for our binary package repositories
https://pkgsrc.smartos.org/
132 stars 51 forks source link

elasticsearch: updated to 7.13.2 #308

Closed smokris closed 2 years ago

smokris commented 3 years ago

Here's an attempt to update the pkgsrc package to build the latest version of Elasticsearch. This successfully builds in a pkgbuild-trunk zone using run-sandbox trunk-x86_64, and I'm able to install the resulting package on another base64 zone and connect it up to my Elasticsearch cluster.

@jperkin, please let me know what changes you'd like me to make, or feel free to make changes yourself.

Closes #300

jperkin commented 3 years ago

Thanks! I'll try to get to this in the next few days.

smokris commented 2 years ago

Hmm, I think I'm going to withdraw this PR. After running it in production for a while, I've run into some strange issues — like, an Elasticsearch instance running in a SmartOS base64 zone is able to connect to an Elasticsearch cluster and works fine for a few days, then I start seeing sporadic timeouts and memory usage starts climbing. I ended up switching to using the upstream Elasticsearch packages inside a SmartOS LX zone on the same hardware, and that's been working just fine (no timeouts, stable memory usage).