-
johnjaye
o0x1eef: that's pretty amazing. i'll have to ask sometime how hard they were to setup
-
o0x1eef
It was a bit challenging but overall I think it was worth it. Most services run in jails and that's relatively straight forward. The most complex piece was ollama because I run it in a Linux VM since the nvidia driver support is more complete with CUDA support.
-
rtprio
polarian: you must have a shitty isp because my selfhosted things are rock solid
-
polarian
rtprio: no I have a good ISP
-
polarian
but most dojt
-
polarian
radhitya: self hosting email tends to be forbidden, and server use often comes under commercial terms
-
polarian
I used to self host on a domestic virgin media line and reading the tos I was technically breaching their terms...
-
polarian
didnt stop me ofc ;P
-
polarian
ive self hosted for 6 years now (dont get me wrong im still young and not as experienced as most people here) but I can say this... when it comes to mission critical software, such as email or your primary source of communication (in my case XMPP) downtime/server failure means you are fucked...
-
polarian
you could be on holiday and have a disk fail and you wouldnt be there to fix it
-
polarian
a terminal server can help for failed updates done remotely... and if you got friends/family with sysadmin experience you can always call them to be virtual hands (I am thankfully able to do this)
-
polarian
but in the end a hobby turns into a full time commitment, which I have neglected for a year and my infra is falling apart...
-
polarian
dont get me wrong im all for self hosting... but its a commitment, not a choice to be made lightly... and bare in mind its hugely more expensive... my infra costs me ~£60/month for the business broadband + power draw, there is one off payments such as replacement parts or upgrades... in contrast you can get a dedi in the cloud with gigabit symmetric fibre for as cheap as £30-£40/month which is more powerful than even the new server I have just buil
-
polarian
now if you are piggy backing your current ISP and not having a separate line then that drops the costs considerably, but in my experience paying for business internet with a high quality ISP may cost more than average, but its the best choice ive made
-
polarian
o0x1eef: things like media servers for home streaming or backups are easy and effortless to maintain, they go down you arent fucked...
-
polarian
is the mail server at 127.0.0.1 or in the cloud?
-
polarian
apologies for the wall of text
-
polarian
(note: I build servers using old hardware lying around, they are nothing more than repurposed desktops, if you pay for newer components you can rack up a 4 figure price easily)
-
polarian
a RPI is a self hosters best friend still...
-
polarian
so are intel NUCs, companies love them for front desks and stuff as they can be VESA mounted for clean setups for data entry... but the older ones get sold off for cheap... last I checked coffee lake nucs were going on auction for cheap on ebay... slap a hefty ssd into it and you can run your entire infra on it, low power draw and small, only downside to them is they are rather loud at load due to the small heatsink, and they need regular cleaning,
-
polarian
every 6-8 months I have to clean out NUCs used by my family as they get clogged with dust easily and then poweroff from thermal protection
-
rtprio
if it's 'mission critical' then the hoster can fuck it up no matter where it's hosted
-
rtprio
also what the shit are you self hosting that's mission critical?
-
o0x1eef
polarian: hydroxide basically provides an imap and smtp server over protonmail's HTTP API :) So that one requires the cloud.
-
johnjaye
it sounds like polarian is saying you need constant maintenance on such things
-
o0x1eef
I don't neccessarily disagree but I think it can be useful to have a home lab / network where you can experiment with ideas before deploying them at scale
-
runxiyu
Hi, does anyone have pkg.freebsd.org mirrors that are reasonably fast in mainland china?
-
runxiyu
the i915kms package seems broken on 14.2
-
runxiyu
urgh, crap, now i can't get into a working system
-
nimaje
-
dch
I'm using daemon(8) to run a go program. the program runs happily, but refuses to stop.
-
dch
using `-P $pidfile` or `-p $pidfile` makes no difference, just different variations on *not* stopping
-
dch
has anybody run into this before?
-
dch
-
o0x1eef
Did you try to use -p instead ?
-
o0x1eef
Oh sorry. I saw you did. :)
-
o0x1eef
Is it possible there is a trap setup for SIGTERM that aborts the default behavior ?
-
dch
so its daemon itself that has the problem AFAICT
-
dch
when an rc.d script tells it to shutdown, with `-p` the child exits, but daemon remains, and promptly restarts the child (grrr)
-
dch
I've tried `-P`, `-p`, both together, and neither, all unsuccessfully.
-
dch
ahaha
reviews.freebsd.org/D47005 it looks like it might be fixed in current but not backported to 14.x yey
-
nimaje
hm, with -p the rc script would kill the child and the --restart would lead daemon to restart it, but with -P the daemon supervisor process should recive the shutdown signal, forward it and don't restart the child (well, that isn't exactly specified in the man page, but how else would you terminate the child with --restart?)
-
dch
nimaje: that is the correct reading via the manpage, yes
-
dch
anyway I'm 67% sure this is a bug fixed in CURRENT & 14-STABLE but not in RELEASE yet
-
o0x1eef
Yep I think bc1dfc316a2bba97773a14b96f5e976a52524be4 is the fix
-
dch
that said I dropped `daemon(8)` from 14-STABLE on top, and its still not DWIW
-
dch
e.g.
-
dch
-
dch
-
dch
-
dch
-
dch
I don't think its fixed in 14-STABLE either then. time for a PR.
-
dch
and not in CURRENT either. maybe I'm just holding it wrong in rc script.
-
o0x1eef
Maybe try confirm sending SIGTERM to the process running normally quits as expected, then you could isolate the problem to daemon
-
kevans
dch: sorry, just woke up, but re: daemon(8), you *did* test stable/14 and your problem seems resolved there, or no?
-
dvl
It's a lovely spring morning (here). I'm having coffee, outside. Nice. What do I do? run "ansible-playbook gateway.yml" <== all the configs. Let's see how this goes. Lately, I've been running just single updates (e.g. --tags=pf).
-
runxiyu
i'm trying to change my laptop backlight brightness..
-
runxiyu
acpi_video loaded
-
runxiyu
using i915kms btw
-
runxiyu
sysctl: oid 'hw.i915kms.enable_dpcd_backlight' is a read only tunable
-
runxiyu
oh looks like backlight(8) works... odd
-
polarian
runxiyu: see backlight(8)
-
runxiyu
polarian: yep, saw; thx
-
runxiyu
i just didn't expect there to be a literal command for it out of the box
-
polarian
welcome to BSD
-
polarian
the base system can do a lot
-
runxiyu
yay
-
gt
rofl
-
gt
just saw this dude named FreeBDSM in some other channel
-
gt
still laughing