-
bitwise_gamgee
Does anyone run high performance MariaDB on their FreeBSD servers? My org is looking for a new home for our data.
-
polyex
i got a opentelemetry collector problem. a filelog receiver has logs coming in but service_name says "unknown_service". so how do i set it? looked everywhere and there's NO docs saying
-
polyex
i need my node.js daemon to be started before caddy starts. so should caddy's rc.d REQUIRE: mynodejsapp or should my node.js app BEFORE: caddy?
-
polyex
there a command in base that will output a hash of a file?
-
voy4g3r2
like sha1sum -c <file>
-
voy4g3r2
the man sha1sum has a bunch of options of different types to try :)
-
polyex
tyvm
-
polyex
how aggressively should i use vars in rc.d scripts? like should i have myapp_pidfile="path/to.pid", or ${name}_pidfile=...?
-
voy4g3r2
what works for yoU?
-
voy4g3r2
i personaly do the first option until i get to a point where i see a pattern
-
voy4g3r2
over optimization and variables / configuration usually causes headaches and if a headache happens.. without understanding how you got to that point.. makes it difficult to debug
-
voy4g3r2
like knowing 2 + 2 + 2 = 6 is easier to understand than 2 x 3 = 6
-
polyex
so there's no style guide it's just a free for all?
-
concussious
sorry, arrived late, what?
-
polyex
how aggressively should i use vars in rc.d scripts? like should i have myapp_pidfile="path/to.pid", or ${name}_pidfile=...?
-
concussious
thanks for letting me in on it. sorry to interupt when i haven't needed to touch rc.d scripting yet/
-
polyex
np
-
concussious
In pedestrian scripting I only use vars when I want it to update while it's going
-
polyex
i need my node.js daemon to be started before caddy starts. so should caddy's rc.d REQUIRE: mynodejsapp or should my node.js app BEFORE: caddy?
-
Puzfire
tykling can you recommend how to use certgrinder on hetzner freebsd host with jails, where other jails use port 22/80 for web, and as i read in the doc you use those exact ports in certgrinder server/ client for getting certs, i only have one ipv4 but one ipv6 per jail with hostnames where the ipv4 shares with vnet/epairs
-
adilix
hi all
-
V_PauAmma_V
adilix, if you have a FreeBSD question, you can ask it directly. Then wait in channel until someone who can answer sees it.
-
adilix
i know it thx for the info
-
adilix
gtg cy
-
morpho
probably a tired question now... is wifi 802.11ac working on fBSD without wifibox or containerisation?
-
tykling
Puzfire: hm either use dns-01 or make whatever is using port 80 forward requests for the ACME url location to the certgrinder server jail
-
Puzfire
ah yes think creating txt records in dns for the certs will be easyest to implement for me
-
polyex
i need my node.js daemon to be started before caddy starts. so should caddy's rc.d REQUIRE: mynodejsapp or should my node.js app BEFORE: caddy?
-
Puzfire
tykling for DNS-01 do i need certgrinderd and client on same jail to use this? its unclear when i read documentation. unless i missed it
-
Puzfire
maybe some usecase docs would be nice, for ppl not using something like this in day 2 day work ;)
-
polyex
i need my node.js daemon to be started before caddy starts. so should caddy's rc.d REQUIRE: mynodejsapp or should my node.js app BEFORE: caddy?
-
babz
polyex: The two have the same effect
-
polyex
you sure?
-
ridcully
are you asking, because neither works?
-
rwp
Does caddy need to start before the node.js daemon or does the node.js daemon require that caddy is running? Answer that question and you will have your answer.
-
rwp
The effect is the same in both cases. The difference is which file gets modified. Do you associate the change with caddy or with node.js daemon?
-
polyex
node.js needs to start first
-
rtyler
Hiya! I've got a jail which exhasted somaxconn and now the pids inside the jail don't seem to be killable which has me quite perplexed. I cannot seem to stop the jail no matter how hard I try
-
polyex
from host going sudo service jail stop jailname doesn't work?
-
rtyler
nope that's hung. jexecing into the jail and kill -9 ing the process also does nothing x_x
-
polyex
jexec -lU root jailname ...
-
polyex
huh
-
polyex
sudo service jail stop?
-
polyex
to try to stop all jails
-
polyex
and anything in the jail console log in /var/log of the jail host? anything in /var/log/messages of jail host?
-
rtyler
gist.github.com/rtyler/b111233dc364011dc7dc7d6858d6d256 is the host messages file, the jail doesn't have anything in it. The host is also barely responsive but things are just fine inside the jail
-
VimDiesel
Title: host_messages.log · GitHub
-
rtyler
quite odd behavior
-
polyex
any resource limits set anywhere?
-
rtyler
gist.github.com/rtyler/b111233dc364…d6858d6d256#file-jail_processes-txt the jail processes are really trying to shut down :D but those nginx process don't die
-
VimDiesel
Title: host_messages.log · GitHub
-
rtyler
nginx.org/en/docs/freebsd_tuning.html the limit of 192 was reached, but I'm surprised this 14.0-RELEASE machine is basically crumbling seemingly because of this
-
VimDiesel
Title: Tuning FreeBSD for the highload
-
rtyler
I do also have bhyve VMs on this machine, and some were under high load. It makes me think that the somaxconn exhaustion could be a side effect not a cause.
-
rtyler
of course, on the host commands in my shell are not able to return to the shell after executing them, oof
-
polyex
reboot?
-
rtyler
hah, I think that's going to end up being my only option
-
babz
Looks like most of your processes are swapped out
-
rtyler
hm that would be consistent with some of the behavior I was seeing, but I already punted it
-
jmnbtslsQE
do you have any nfs or zfs mounts?