Installing elastic search server

Indeed, @jfschwarz said explicitly that he did get it working…


@pavel and @Moreno’s examples are both subtly wrong in detail, but that’s understandable given the weird syntax tradition in this part of Linux, :sweat_smile:. I was able to successfully change those two settings in a Racket test Machine via the following:

[[vm]]
  kernel_args = ["sysctl.vm.max_map_count=1048576", "sysctl.fs.file-max=1048576"]

Note that this has the sysctl. prefix, which @Moreno’s attempt lacked, and .vm. internal step, which @pavel happened to typo-forget.

I didn’t try installing the entirety of Elastic on top of this, but hopefully this helps you make more progress.


Aside: You can verify settings via…

$ fly ssh console -C 'cat /proc/sys/vm/max_map_count'

(Note that dots (.) have become forward slashes (/) now, since this is a Plan9-style virtual filesystem.)

2 Likes

Ah, I didn’t see that, but you are right. I think my brain was responding to Robstei’s rather pessimistic assessment that ES could not be made to work. I wonder if optimism is rather a prerequisite for software and platform engineering… :trophy:

2 Likes

There was an odd note creeping a bit in.

Interesting observation…

Having collaborated briefly with the AS/400 culture, however, I’m not convinced that optimism, per se, is universal.

(These are the famed, ultra-optimized “green screen” applications, which do exactly one job and take the minimum amount of effort to do that.)

Something that allows people to really dig in, when what’s needed is a missing prefix or overlooked semicolon. Or to let go when it appears, after investigation, that something really is no longer being maintained. To spend an additional hour removing an extraneous “are you sure you want to do this thing that you’ve already done 100 times in rapid succession?” keypress (thus saving >30 hours per year in total). To finish it off with a bow and an invoice when that one job now reliably is getting done, :ribbon:.

Exactly the right 1+1 ≠ 3 illustration of information spacing. The Smalltalk latency comparable to a grand-piano key.

Maybe buoyancy in the sense of equilibrium—but not universally in the way of a “puppy jumping up to lick your nose” (as Perl5 user Steve Yegge(?) put it years ago).

(Complaining about (and simultaneously complimenting) Ruby culture…)

3 Likes

I don’t have it on hand at the moment, but I posted my working elasticsearch (opensearch) configs on this account in the past.