00:13:56 i'm running unifi in a 13.2-RELEASE VNET jail. i reach the unifi webif through a caddy jail, also 13.2-RELEASE, where it reverse proxies to the unifi jail at port 8443. i upgraded the host to 14.0-release. now i can't reach the unifi webif because caddy can't reach the unifi jail. the logs show it's timing out. i didn't change my pf rules. i'm now trying to figure out why pf is blocking caddy from getting to the unifi jail 00:17:07 14.0-release notes don't indicate any related change 00:18:10 https://www.phoronix.com/review/freebsd-14-epyc 00:18:12 Title: FreeBSD 14.0 Is Delivering Great Performance Uplift & Running Well In Early Tests Review - Phoronix 00:18:17 wow, impressive 00:20:33 it's a vnet jail, and it will load fine if accessed directly, which is I convenient because I need to add the port to the url, and it's a self signed cert. So, it seems it is some caddy/pf interaction.. I guess 00:52:27 <_xor> Wellp, pkgbase upgrade from 13 -> 14 worked pretty well. I just had to fix up pkg on my end (my internal repo doesn't have it built, apparently). I also had to remove FreeBSD-sendmail-dev and FreeBSD-iscsilegacy, both of which were leftovers from 13.x. 00:53:29 <_xor> Much faster and simpler overall though. Definitely prefer it and I'm glad that I setup pkgbase for 13.x a few months ago. 00:58:00 I wonder when pkgbase will become the default. 01:05:27 i want to try quBSD on FreeBSD UNIX 14 01:05:42 _xor: I suspect the main problem is that statically linkeing pkg will break the plugin design completely 01:06:00 linking 01:06:58 <_xor> Hmm, I wonder if inverting that dependency chain would solve it while still allowing static linking (assuming that's the issue). 01:07:23 i don't really know what this means 01:07:26 <_xor> That is, plugins depend on pkg instead of the other way around, probably through something like libpkg. 01:08:19 <_xor> So libpkg would be the main statically linked object with a generic interface, which would then be used by a thinner pkg executable to do what it does now, and then also by plugins to implement their functionality. 01:09:39 <_xor> Er, that was worded oddly ("plugins depend on pkg instead of the other way around"). What I mean is that plugins are executables that load pkg instead of being shared libs that are loaded by pkg. 01:09:41 kind of adds a whole new layer of complexity 01:10:31 <_xor> It's a decent amount of work, sure. Main added code though would be splitting pkg into executable + lib, no? ...or alternatively, there's also the rpc route which is popular these days. 01:10:49 i don't think it's actually feasible 01:10:58 plugins can do more than provide subcommands 01:11:27 <_xor> Good point. 01:11:27 they're able to, e.g., hook into different stages of the process 01:11:57 we'd have to lose a lot of functionality or add a lot of overhead to make this work 01:12:48 <_xor> Decent number of projects are using the ol' RPC approach, though packaged into new spec + tooling, for plugins. Something like gRPC or Avro or msgpack that implements a known interface and is invoked by the host process. 01:13:21 <_xor> Yeah, just musing out loud mostly, don't expect it happen, though it's interesting. 01:52:33 hi, I ran into a compilation issue while building mysql80-server - https://pastebin.com/raw/vDM1QtWz - regarding _mm_crc32_u16 inline. my cpu might be too old, but normally there'd be workarounds. I don't know if I built the OS wrong or what the deal is. 01:56:20 This may be a stretch of a question, but is there a way to get the bhyve VNC server to support copy/paste? I'm actually not even sure what the VNC server even _is_ or if it's something bespoke for bhyve 02:04:55 Hey i have a question realted to sound. I have optical S/PDIF sound happening when I have dev.pcm.5.play.vchans=0 set...but when I set to to a non-zero number I cannot hear anything. 02:05:06 I think vchans are necessary, so how to get it working? 02:15:32 hello 02:18:11 rtyler: yeah, custom implementation: https://cgit.freebsd.org/src/tree/usr.sbin/bhyve/rfb.c -- not sure what's missing to do copy/paste 02:18:12 Title: rfb.c « bhyve « usr.sbin - src - FreeBSD source tree 02:18:38 thanks 02:19:24 there's a CUT_TEXT message from client -> server, but it suspiciously looks like the handler is just discarding it 02:19:39 reverse the order of suspiciously and looks there please 02:20:47 i'm actually not sure at all how you'd integrate that with the underlying machine 02:28:03 <_xor> Don't most clients literally just simulate keyboard input for that as a fallback? 02:29:35 <_xor> ultramage: I haven't built MySQL/MariaDB in a long time, but try building with gcc and see if the works. 02:30:35 <_xor> AumShivaya: Are you using virtual_oss or in-kernel oss? 02:35:02 _xor: yeah, that seems reasonable; I suppose with a hypervisor framebuffer you're only going to get the one-way clipboard, need finer OS integration to be able to go the other direction 02:36:58 <_xor> Yup, remote would have to support clipboard APIs on target platform and get notified to copy buffer contents and send it over the wire. 02:37:33 <_xor> I think that's one of the things VirtualBox guest integrations does (though I'm not sure, haven't used vbox in quite a while). 02:41:38 thats what am running bsd on is vbox 02:47:33 yeah, that makes senses for something like a guest addon package 02:53:39 bsd has come up since the last time i use it 02:56:14 _xor: I really don't want to install the entire gcc bundle just for this... 02:57:08 ultramage: You can probably get the compiler as a package, rather than compiling it. 02:57:48 it worked half a year ago with 8.0.32 and fbsd 13.1, don't know if it had gcc in base 02:58:05 <_xor> ultramage: Yes, it's unfortunate, but not everything compiles with llvm. There's still a decent number of projects that rely on gcc-specific extensions to build (e.g. Node.js). I'm not sure about mysql, but it wouldn't surprise me. 02:59:13 <_xor> Wait, how are you building this? Manually from source or are you using the port? 02:59:14 I didn't touch any knobs last time, so I assume it used the default compiler, which on 13.1 was clang I think 02:59:22 port 03:01:40 <_xor> Do you have /etc/make.conf? 03:02:01 yes, with some basic stuff 03:02:09 <_xor> pastebin it 03:03:12 https://pastebin.com/raw/eH7DAg6U 03:05:01 I found a bunch of previous cases of various packages failing like this, from what I gathered, it happens when the software force-targets a new enough intel cpu, or does hand-crafted asm/intrinsic shenanigans without compatibility checks. 03:05:22 <_xor> I'd either try commenting out CPUTYPE and ALLOW_UNSUPPORTED_SYSTEM just to see if it makes a diff (quick to check), or I'd try installing gcc and setting CC=gcc12 CXX=g++12 for the compile. 03:05:52 I saw one mention of -mno-crc32 so I'm doing a build just to see if that does anything. 03:08:24 unsupported system was just a temporary thing while I was on 13.0 past its support date 03:08:43 <_xor> Uhhhh... 03:09:09 not sure why I needed it. I don't remember if it blocked port building entirely, or if it was just a nag message that repeated a million times during port upgrade 03:09:38 <_xor> kevans: So I was just getting a repo signature verification failure on my internal repo just now after upgrading to 14. 03:10:04 <_xor> kevans: Triple-checked the signing key + pubkey and they're fine (as they should be, nothing was changed on that side). 03:10:41 <_xor> kevans: On a hunch, I decided to re-sign the repository over NFS using openssl@3 on the newly upgraded system (repo host is still 13.x with openssl111)...and it works now. 03:11:13 <_xor> Even though it's a major version difference between 1.1.1 & 3, I wouldn't have expected that to break. 03:11:36 (likely unrelated, but after upgrading to 14.0 my ssh login stopped working because my old PuTTY was still relying on rsa, and that algo was disabled) 03:14:25 _xor: hmm, specific consideration went into exactly that scenario 03:15:45 (see the commit mesage for the 1.19.2 update: https://cgit.freebsd.org/ports/commit/?id=6bef385a56d7e3b907de7c38f051f05efb45996a) 03:16:14 any version of pkg should have still been able to validate the old signature 03:16:35 <_xor> Yeah, apparently signing using openssl⊙1 on 13.x with the same key fails verification on 14.x using openssl@3 and the corresponding pubkey. 03:17:21 <_xor> Was about to ask you for a discussion link :P 03:17:42 <_xor> Hmm, I wonder...one minute. 03:20:57 * _xor wanted to verify that he was on the relevant version of pkg 03:21:33 i was taking things for granted. none of my thin jails have internet access. they can't phone out. `host freebsd.org` just hangs. what the heck changed... hmm 03:21:51 <_xor> Yup, guess it might be a bug, though I would suggest not underestimating my stupidity and exploring that with caution. 03:22:26 _xor: I don't recall, does inserting `-d` before the subcommand with some number of d characters >= 1 say anything about signing? 03:22:49 <_xor> Is that a debug toggle? 03:22:53 yeah 03:23:02 more d == more debug in theory, iirc 03:24:13 <_xor> DBG(1)[61490]> PkgRepo: extracting packagesite.yaml of repo xorander 03:24:24 <_xor> DBG(1)[61967]> PkgRepo: extracting signature of repo in a sandbox 03:24:30 <_xor> 03:24:42 <_xor> : rsa signature verification failure 03:27:28 <_xor> Re-signed it over NFS using my builder system and now it verifies again ok. 03:29:01 _xor: oh, hold up 03:29:49 _xor: what version is the pkg client-side? 03:30:17 <_xor> 1.20.9 03:30:26 that's tnot the right answer, try again =D 03:31:04 * _xor scratches his head in confusion 03:31:20 <_xor> What am I missing? 03:31:27 there was a fix for the compatibility bits in 1.20.0 and I was hoping you'd say 1.19.x 03:31:43 <_xor> oh 03:31:50 <_xor> Yeah sorry, it's 1.20.9 :/ 03:33:56 <_xor> omg 03:34:03 hmm, that fix seems to have just been to rewind the fd position because the 'correct' signature type that it would have failed read to the end 03:34:06 ? 03:34:08 <_xor> "Would build 3401 packages using 5 builders" 03:34:16 oof 03:34:27 <_xor> I just wanted to kick off this poudriere build before hitting the sack in a bit. 03:35:20 <_xor> I wonder why so many packages. I think I remember a full build being ~2000 packages last time. Must have been some new ports I added that pulled in a bunch of deps or something. 03:35:56 <_xor> Looks like upgrading the rest of the system is going to have to wait a few days until this 14.x repo is built. 03:36:03 <_xor> *systems 03:36:53 <_xor> kevans: If a new issue is created regarding the pkg problem, link me. 03:37:02 * _xor is going to go lay down after a long day 03:38:20 <_xor> I read that 14 has some bigger performance improvements. Maybe I'll be lucky and those will impact this build queue too. 04:30:54 _xor: I'm not sure which I am using. how to tell difference? 05:13:54 well, that is a bummer, I did get spotify installed in a linux jail, but...it won't let me play music says I'm offline, weird. oh well 05:22:12 solved. bastille had no pkg notes alerting to the new variables in bastille.conf. the jails were not getting added to the table in pf. once i added the missing vars and restarted the jails, all was kosher again 05:30:37 scoobybejesus: what variables ? which version of bastille ? 05:32:32 0.10.20231013. namely bastille_network_pf_table="jails". do diff -u bastille.conf bastille.conf.sample from /usr/local/etc/bastille 06:06:00 thanks scoobybejesus 06:56:17 14 update failed : https://pasteboard.co/X3yUquChInqF.jpg - Hello, tried to update from 13.2 to 14, new kernel crashes upon reboot but all is fine when I reboot on old kernel - not sure how to go from here, any ideas on what's wrong? 06:56:18 Title: Pasteboard - Uploaded Image 06:58:10 well that's less than ideal 06:58:56 looks like you probably just need to stop loading the nvidia module in loader.conf, move it to rc.conf 06:59:57 oh 07:00:14 not even that. just drop to loader prompt and write: toggle-module nvidia 07:00:35 then boot the system and upgrade that pkg, and hopefully it's not an issue of just running out of space to stage modules in loader 07:00:57 The "module 'kernel' exists but with wrong version" seems like a problem too. 07:01:10 that's the ^ "upgrade that pkg" reference 07:04:10 great, thanks a lot, will try the toggle-module nvidia, didn't know that one. will be back "soon" 07:05:09 good luck 07:21:20 re, so the toggle-module didn't prevent those modules from loading (nor the crash) - I guess next try is commenting those in rc.conf and loader.conf (somehow I have it in both :s) 07:56:05 <_xor> You might need nvidia-modeset.ko instead of just nivida.ko, though I'm not sure if that causes a crash like that. Also, the nVidia driver...ummm...should be on an improvement plan, to put it mildly. 07:56:41 <_xor> I'm not talking about the FreeBSD ported version as much as I'm talking about the upstream. I know this because out of everything on my main workstation, it's probably been the most annoying. 07:59:36 <_xor> kld_list+="nvidia-modeset nvidia-drm" is what I have in /etc/rc.conf, and I have linux_enable="YES" in /boot/loader.conf. For whatever reason, that was required for me (couldn't just put explicitly required modules in /etc/rc.conf and let everything else auto-load). 08:00:08 <_xor> omg 08:00:19 * _xor just noticed linux_enable in LOADER.CONF 08:00:19 @kevans, thanks a lot it all worked out nicely, am in 14.0 now ;) 08:00:37 <_xor> Yeah whatever, I helped too. 08:01:34 ah, thanks too then ^^ sorry was rebooting didn't see ^^ 08:02:19 <_xor> Lol np, I was just kidding. Kernel-module version mismatch is the obvious issue, but if you run into other problems later, you can reference my comments. 08:04:03 toggle-module didn't work, so I removed it from rc.conf and loader.conf - did the upgrades/updates, then reenabled it only in rc.conf and now it works well 08:04:56 I guess the entry in loader.conf was from when I installed a while back 08:30:53 Do you folks know if I can mix and match a single NFSv4 server with and without uidtostring mapping? 08:31:10 because for my servers, they use LDAP with SSSD, I don't need UID mapping 08:31:17 but I would like to have it on my mac 09:33:16 hi, I tried rebuilding mysql80-server without setting cputype in make.conf, but the outcome is the same - the thing is building for a 2016+ intel cpu feature set 09:33:57 should I post it on the bugtracker? 09:33:58 ultramage: seems like it used a default 09:40:40 is there any ETA for 275308? I upgraded our poudriere machine to 14.0 (with block cloning enabled) and wondered if some packages could be broken? Now I've set vfs.zfs.dmu_offset_next_sync=0, should I rebuilt everything to be sure? 09:41:18 Currently I've bcloneused and bclonesaved to 0 09:43:46 I was also wondering if 12.4 is also affected (our production machines are still running 12.4) 09:44:18 12.x has no openzfs-2 ( unless backported )? 09:53:58 I hope a fix will be released soon 09:54:26 mage: What's "275308"? 09:56:30 tercaL: PR regarding the ZFS data corruption bug 09:57:38 BTW I'll have to revisit my backup procedures after this bug ... (currently using zrepl) as ZFS cannot be 100% trusted (which I assumed) 09:59:01 so FreeBSD 14 was released with a buggy zfs and the dev knew about that? 09:59:19 the problem is within OpenZFS 09:59:31 *with a buggy OpenZFS 10:00:14 you can't blame the FreeBSD RE 10:00:31 oh no I don't, just wondering when the bug appeared 10:00:51 before or after release? 10:01:41 it was opened 2 weeks ago, but it's only since a few days ago that the situation is understood 10:01:41 getting 'no route to host' on freebsd when sshing from outside. I am on same LAN. SSHD is active. What can I do to debug? 10:02:43 $> route get host ; sockstat -4 |grep :22 10:02:50 Beladona: traceroute / tracert from outside ? if you get that error then your host is not reachable whatsoever, not just for sshd. Or you're ssh'ing to a hostname that resolves wrong 10:02:52 check pf config 10:03:17 and after all of that check with tcpdump 10:04:37 and if you just upgraded the SSH host then you may have to service sshd restart 10:05:50 pf would be bouncing with port unreachable or such, probably not it... try ssh'ing to the host's ip address instead of hostname. (no route might happen if the hostname resolves to ipv6 or a vpn ip or something) 10:06:44 looking at my dmesg, I get a lot of getswapspace failed, out of swap space, even tho my ram isn't even full? 10:07:06 a process was also killed with this message: `pid 18168 (GameUpdate), jid 0, uid 0, was killed: failed to reclaim memory` 10:07:19 the machine has 16gb ram, and 2 gb of swap 10:07:48 swap can be used preemptively and efficiently as a reserve, without having to spend memory. 10:08:04 should I increase swap size? 10:08:38 unless someone has a better idea. I'm kinda surprised it would be killing like that though, when it has ram. maybe it needs a knob to tell it to not be stupid about it? 10:09:20 ultramage: https://imgur.com/DeiP336.png 10:09:22 my host runs without a swapfile, so I haven't had the opportunity to figure this out 10:10:14 Beladona: hmhm are you bridging VMs via virtual switches, by any chance? 10:10:53 ultramage: the left one was host debian and right one was freebsd guest 10:10:54 yes 10:11:25 I have no idea about this, but I see you have enp6s0 at 192.168.1.101/24 and virbr0 at 192.168.1.200/24. not sure if this overlap is okay. 10:11:44 well virtual switch? not sure but the ...1.200 is virbr0 (qemue bridge). I wonder why that is there in tracerout 10:12:01 my lan is ...1.101 10:12:09 why it went to 200 10:12:19 routing table priority I guess? 10:12:30 ultramage: where did it started? 10:12:36 ultramage: do you use qemu? 10:13:59 nope I'm clueless about this. 10:14:16 try traceroute -s 192.168.1.101 to force it to go over the physical lan 10:14:55 -s not anoption in freebsd 10:15:06 o rits a s S? 10:15:23 that's straight from the 14.0 man page for traceroute :/ it's a small s 10:15:48 alternatively, -i enp6s0 10:16:09 https://imgur.com/yo6Wlwi.png 10:16:25 er, you need to put in the destination i ptoo 10:17:12 there is no i either 10:17:17 can you paste full command.? 10:18:14 ffs.... traceroute -s 192.168.1.101 192.168.1.104 from the ssh host. or, in reverse from the clien 10:20:18 ultramage: https://imgur.com/BzTriRW.png 10:21:02 huh. 10:21:25 oof this system uses a swap partition 10:22:45 !H is host unreachable. is it possible that the ssh host's firewall is blocking outbound tcp/udp port 33434-33534 10:22:51 I assume resizing the zfs and increasing the swap partition size would be annoying af right? 10:23:56 ultramage: ok how do I allow firewall in freebsd? 10:24:29 yourfate: you can just add a swapfile to the mix, if you don't wanna go thru that hassle 10:24:48 can I have a swap partition and a swap file at the same time? 10:25:42 yourfate: if I assume that freebsd won't just kill processes because swap space ran out when it has plenty of ram left. is it possible you ran out of ram as well? 10:26:05 or can i just disable firewall? 10:26:30 ultramage: possible bun unlikely 10:26:32 but 10:26:47 ipfw is not enabled. 10:26:56 Beladona: I don't know what the default firewall configuration is - or if one is enabled at all - but I assume it wouldn't be blocking outbound stuff. 10:27:04 why I can't get in? ultramage do I still need to enable it and add rules? 10:27:33 try that command again, but use -i instead of source ip, maybe that'll be more informative 10:28:20 the fact that you have two interfaces targeting the same subnet might be the cause, but it also might not be. idk. I couldn't find info on how exactly freebsd prioritizes routes in case of overlap 10:28:40 ultramage: traceroute 192.168.1.101 -i em0? 10:29:18 oh yea, also try -I parameter, to make it send icmp pings instead of udp packets. 10:30:09 standard freebsd traceroute sometimes needs help (inbound firewall rules) to make it succeed all the way. 10:31:55 ultramage: ok I figured its not a freebsd issue as I can now ssh from another system on same lAN 10:31:59 LAN 10:32:40 hope you can narrow down the cause 10:34:16 yourfate: I don't know if you can trust 'top' to give you a proper breakdown of allocated memory, with all the fancy memory management that goes on. 10:34:34 i'll just watch this another day 10:35:15 I don't know enough to tell if you're running into a complete out-of-memory situation, or if freebsd really is killing jobs because of no swap even though there's still ram. 10:35:43 I first assumed it just crashed, but dmseg tells me it was killed 10:35:51 it was a gameserver (factorio) running in linux compat 10:36:14 if dmesg says something was killed, it should also have mentioned why 10:36:14 but it was killed in the middle of the night when nobody was online, in that case the server is paused and uses like no memory 10:36:31 RhodiumToad: see above: `pid 18168 (GameUpdate), jid 0, uid 0, was killed: failed to reclaim memory` 10:36:54 ok, but that could have been caused by memory demand on the part of some _other_ process 10:37:02 tried looking up what that means, but web search is full of people just reporting the error 10:37:10 and around that I get a lot of `swp_pager_getswapspace(7): failed` 10:37:12 swap_pager: out of swap space 10:37:14 swp_pager_getswapspace(17): failed 10:37:16 pid 18168 (GameUpdate), jid 0, uid 0, was killed: failed to reclaim memory 10:37:18 swp_pager_getswapspace(7): failed 10:37:20 swp_pager_getswapspace(23): failed 10:37:22 swp_pager_getswapspace(20): failed 10:37:24 swp_pager_getsw 10:37:26 oops 10:37:28 sorry I copied too much 10:37:40 the machine only has 2GB of swap, 16GB of ram, and ist basically idle 10:37:50 right, the swp_pager messages mean that the swap space is full 10:38:09 middle of the night... perhaps when one of the daily jobs was running? 10:38:23 no timestamps in dmesg 10:38:27 or can I see the somehow? 10:38:32 see /var/log/messages 10:38:48 hmmm 03:01 10:38:59 looks like a candidate, I think some backup job runs then 10:40:11 ultramage: it was the bridge from virtmanager 10:40:16 what's the baseline memory usage? if it's like 4GB, then going from 4 to 18 and capping out is pretty volatile 10:40:17 fixed when it was disabled 10:40:18 thanks! 10:40:32 ooh so the virtual cable was unplugged? ;o 10:40:39 yes :) 10:40:50 right, at 3:00 the restic forget job for the minecraft server is ran 10:40:58 that might use some memory 10:41:10 I was thinking of hyper-v and how it might have its own firewall/routing rules that decide which vms can talk to which other vms, and how that could cause unreachability. but the answer was simpler. 10:42:01 03:01 is the default time for daily periodic jobs to be started 10:42:26 ooh so I should maybe not also run the fairly big daily backup pruning then 10:42:35 so both the default ones (security scan etc.) and any daily jobs you installed in /usr/local/etc/periodic/daily 10:42:36 vm_pageout_oom(VM_OOM_MEM) 10:43:40 I moved the backup job, we'll see 10:43:44 of the default jobs, some of them sleep a random time before running to avoid congestion on things like the pkg vuln list download 10:43:50 dang, for periodic maintenance to eat all the OS memory, that's kinda unstable 10:44:00 periodic usually doesn't need much memory. 10:44:19 however, it can generate a lot of i/o 10:44:41 I just manually ran the backup pruning, it didn't use a lot of memory, but for a short time used all CPU cores 100% 10:44:55 (setting the nosuid flag on any large data disks is a good idea, since that saves the security jobs from needing to scan them) 10:45:13 maybe you have a memleak somewhere that eventually eats all ram? 10:45:36 would be noticeable at all times of the day as it gradually grows, tho' 10:47:38 m_pageout_inactive() - Attempt to reclaim the requested number of pages from the inactive queue. 10:48:55 so I guess that's why it's saying 'failed to reclaim', because there's a last effort attempt to scavenge memory before OOM is raised. And the wording of that error message that gets logged is too specific to the code it's from. 10:49:26 the getswapspace errors help to disambiguate 10:50:18 not really, if I were using swap I'd be looking into muting those. 10:50:21 what's supposed to happen is that under memory pressure, inactive pages get sent to the laundry, which writes the content out to disk and returns them as clean pages 10:50:47 however, if swap is full, then it has nowhere to write them to 10:51:25 I recall one practice was to stretch your swapfile so that it oculd fit all expected workload. then again, in a runaway scenario it would just prolong the thrashing period 10:52:00 so the inactive queue can be full of dirty (and hence non-reusable) pages, and when a page is needed to satisfy the demand, and one can't be found after waiting a reasonable interval, 10:52:00 right, I usually had about 50% of my memory as swap, which worked fine. this machine on ly has 2gb of swap for some reason 10:52:15 with 16gb of memory 10:52:24 then eventually it gives up and triggers the OOM-killer to free something up 10:52:27 imo swap is just a gimmick to squeeze out a bit more spare ram from over-enthusiastic allocations. if you have enough ram, it doesn't really need to be there, or it can be as small as you want 10:52:41 not so 10:53:58 even with overcommit, there are cases where lack of swap turns what would otherwise be an edge case (such as forking a large process) into an OOM condition 10:56:15 yourfate: incidentally, are you using zfs? 10:56:19 I run freebsd on 4gb ram with no swap. When I was doing buildworld -j4, llvm code required 600mb-1gb per cc job, and hit oom. That told me to drop down to -j2 to not overload the system. Having a swapfile in this case would first shove the entire OS into the swapfile, and then the jobs too. 10:57:19 I do builds on vms of around that size, but with plenty of swap. 10:58:01 what gets pages out first is not "the entire OS", but pages which are sitting unused for long periods 10:58:18 RhodiumToad: yes 10:59:02 swap is good, but I think works best for a server with many smaller background processes that mostly sit idle. if a heavy job comes in that consumes all available ram and even goes beyond that, it'll cause a mess 10:59:25 yourfate: worth noting that zfs arc is non-swappable, and the default size limit is quite high, which can lead to the amount of pageable memory being unexpectedly small under conditions of high filesystem activity 10:59:43 the arc is supposed to shrink under memory pressure, but may not do so fast enough 11:00:14 huuh... can file i/o cause oom because the i/o buffers have no limit? 11:00:34 if you look at the stats for top, zfs arc contributes to the "Wired" category 11:01:55 file i/o on zfs may lead to zfs trying to increase the arc size, which reduces memory available for other purposes (there's an arc_max setting to bound the size though) 11:02:21 outsize of zfs, file i/o goes via the VM system 11:02:27 *outside 11:02:34 ooh so my full system backup job would possbile use a lot of memory 11:02:52 with the ZFS memory + the backup tools compression, encrypted, dedup on top 11:03:07 *encryption 11:03:44 I have moved some jobs away from the 3am maintenance time 11:04:02 we'll see if this helps. thanks for the help, i'm afk, making lunch 11:04:11 you may want to look at what the zfs arc size looks like under normal workloads, 11:04:26 and set an arc_max limit that's not too much higher than that 11:10:30 I posted 275404 as my mysql issue, now I wait :B 11:49:41 I'm trying to do a remote copy via nc instead of scp and I'm using this command 11:50:11 ssh host 'nc -w 2 192.168.1.5 8111 < /var/mfs/metadata.mfs.back' | nc -l 8111 > /ssd_bkp/mfs/metadata.mfs.back.`date +'%H:%M'` 11:50:30 this works fine, but the local listen 'nc -l 8111' doesn't actually exit 11:50:43 it just stays there even after the copy is complete 11:57:38 am I missing anything here? this is my working freebsd drive https://imgur.com/3Ly72L3.png 11:57:58 it exits once the other side closes 11:59:13 wildeboskat: https://www.freshports.org/sysutils/fusefs-mhddfs/ ? 11:59:14 Title: FreshPorts -- sysutils/fusefs-mhddfs: Multi HDD [FUSE] File System 11:59:17 maybe try 'dd' instead of piping? I use that because it can handle big blocks instead of passing 1 byte at a time. maybe it also exits once it reads the whole file? 11:59:57 fixed. had to include p4 12:00:44 if you notice it runs slow, use dd instead of <>. especially for big stuff 12:03:57 but wouldn't this close once the file has been fully read ? nc -w 2 192.168.1.5 8111 < /var/mfs/metadata.mfs.back 12:04:18 am.. I am on freebsd. zroot of course. but mounted another drive that has zroot. How can I know the id of later and import it? It has same pool name 'zroot' 12:04:58 I mean, I am on the remote side and I see no nc process anymore, it has exited, but there is still an nc listen process on the receiving end 12:10:01 hm I think it should close 12:10:56 unless it doesn't, and you have to add some flag to make it do it. hmm. 12:12:12 it doesn't close by itself when I try it 12:13:10 I guesss that's the nature of pipes? I never really looked into the basics. you would think reading the last byte from stdin would signal eof 12:13:22 I think I figured it out 12:13:24 nc -w 2 -N 192.168.1.5 8111 12:13:28 I added the -N flag 12:13:33 on the sending side 12:14:00 oh. so I was right, it needs an extra flag to do it. 12:14:48 I switched to dd bs=10m when I noticed the transfer was running 10x slower than it should, and never tried piping again. 12:15:26 but maybe current OS and nc doesn't have that problem anymore. try it and see what sort of transfer rate you get 12:15:48 very good ones, 500mb/sec 12:16:03 but how do you plug dd into nc ? 12:16:55 well its not important anymore.. nevermind 12:16:56 dd if=file bs=10m | nc target 12:17:01 wait, why is -N not the default? like yeah, you don't always need it, but why wouldn't you just do it? 12:18:14 nimaje: my first guess is if the piped data is dynamically generated, it might signal eof after the first batch, and close prematurely? though I don't think that's how that works... 12:18:47 when there's no more data, it either blocks, or signals no data when polled; eof only happens on close(). so idk. 12:19:19 maybe the -N flag is there so that the thing can wait for a reply from the other side 12:20:10 really can't think of a scenario right now 12:20:13 but I also had the -w flag, right ? I thought that would take care of it 12:20:23 -w timeout Connections which cannot be established or are idle timeout after timeout seconds. 12:20:38 ah, yeah iirc with pipes it isn't easy to diffrent between eof and just no data currently 12:20:38 the question is, does it timeout and sends an EOF/EOT or it just dies 12:20:52 I thought it was? 12:21:12 maybe it doesn't, hence the explicit EOF sent by -N 12:21:35 err, no, socket shutdown on file EOF 12:21:55 anyways, my guess is that without -N, the sending client is able to keep the connection open, so that the listening server can send a reply, which it then can pipe somewhere or something. but then a script would need to be driving nc, otherwise it'd just be sitting there forever 12:22:49 or perhaps with that design, the server is supposed to close the connection. or it is up to the user on the client side to ctrl+c once everything is done 12:28:46 well, even without -N I can see that the client sending side has closed the process 12:29:00 but listening side keeps on listening ( and doesn't write the file ) 12:29:07 pretty strange stuff 12:30:46 Hi! I've just tried to upgrade from 13.2 to 14.0R and I get zfs error after merging the config files. The datasets mentioned in the error are virtual disks for bhyve. 12:31:39 Creating snapshot of existing boot environment... cannot create 'zroot/ROOT/13.2-RELEASE-p5_2023-11-28_090341/bcbsd-ubuntusrv1-dsk1.vhd': 'canmount' does not apply to datasets of this typeerror when calling zfs_clone() to create boot env error when calling 12:31:39 zfs_clone() to create boot env 12:31:39 Failed to create bootenv 13.2-RELEASE-p5_2023-11-28_090341 12:31:39 failed. 12:32:44 How can skip be to skip those datasets? 12:34:54 you chose a pretty interesting time to upgrade 12:35:38 https://www.daemonology.net/blog/2023-11-21-late-breaking-FreeBSD-14-breakage.html 12:35:39 Title: Some late-breaking FreeBSD 14 breakage 12:38:16 also keep this in mind: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275308 12:38:19 Title: 275308 – EN tracking issue for potential ZFS data corruption 12:41:06 Fortunately I don't use block cloning. 12:44:27 read the bug, block cloning just makes it worse 12:44:34 you can still have data corruption without block cloning 12:45:16 for now it's advised to set vfs.zfs.dmu_offset_next_sync to 0 until the official patch gets rolled out 12:45:52 last1 I was just reading that. :| 12:46:20 last1 I was about to change set that with systemctl and check it. 12:47:48 I changed vfs.zfs.dmu_offset_next_sync: 1 -> 0 ---> Same error. 14:04:48 How can I have 2-3 copies of metadata in zfs like btrfs has DUP? Note, I only want 2-3 copies of metadata. Not the real data in zfs 14:16:27 hm, seems like you can't control the number of copies of the metadata directly, but redundant_metadata defaults to all, which means you have two copies of all metadata 14:17:31 ok 14:17:33 thanks 14:17:48 \wc 18:39:35 Anyone up for getting my audio working through my speakers. i get audio through hdmi fine 18:40:59 pcm0: (play) default is all i got and its sysctl -a |grep hda https://termbin.com/x2l9 18:41:32 im on 13.2-STABLE cause i read somwhere that i might have better luck there 18:55:15 i think you just have to set the default audio device 19:09:30 Hmm it's default already 19:22:43 i use virtual_oss to redirect my inputs and outputs on the fly 19:22:47 but firefox plays poorly 19:24:09 i have a hard time making it obey using virtual_oss 19:24:23 there's freaky setting in about:config to make that happen 19:28:13 hmm, it looks people over-dramatizing that zfs corruption issue 19:38:41 Demosthenex that for me ? 19:40:16 angry_vincent "your data is safe" is the selling point with zfs. so you can not over-dramatize that issue. 19:41:33 Demosthenex i've never got virtual_oss to play or work for me. ypu got a guide i will try it again 19:42:23 tsoome: i understand. but assigning CVE for it was kind of too much. 19:43:40 wi 20:09:08 jb1277976: just try in about:config setting "media.cubeb.backend" as "oss" and it is case sensitive 20:24:44 Thanks Demosthenex 20:26:01 I dunno, I mean, I learned about it from a hacker news post that had maybe 30 comments 20:26:03 so very low key 20:26:22 maybe assigning it a CVE would make it gather more attention, which it should 20:26:43 because there is no way to test if you have been affected 20:26:56 so the only sure way is to redo all your backups after the fix has been deployed 20:36:09 wasn't it only on really busy loads 20:37:37 gosh, using freebsd is such a breeze compared to linux 20:38:06 yep 20:38:16 it was a painless conversion for me 20:38:34 no more than distro swapping, a few paths changed, i had to reinstall some packages, thats it 20:39:01 yeah, all my linux apps work too with linuxulator 20:39:07 even discord and steam 20:43:15 at first it was busy loads, now it's lots of small files, slow io, etc 20:47:11 vlc: discord, bah. use a good os then run spyware. 20:50:11 Demosthenex: windows? 20:50:14 heh 20:50:47 i'm kinda forced to use discord because of my friends 21:08:02 everyone uses discord these days, you'd be fairly alone on alternatives :P 21:09:05 (many under duress) 21:10:08 No Discord here. 21:10:20 okok, most then :P 21:11:35 working on an image corruptor right now https://0x0.st/HxiX.png 21:12:32 works purely on shell, ffmpeg and imagemagick 21:23:24 vlc why does it look like that ? 21:23:51 it passes the image through an audio filter 22:05:01 What is going on here? I spun up my regular Pourdriere run. The buildlists have php81 ports listed, but php82 ports have been built. 22:06:18 Schamschula: DEFAULT_VERSIONS? 22:08:06 Nope. I changed nothing, still running 13.2-RELEASE, i.e. no change in settings via OS upgrade. 22:08:48 user error then 22:09:17 I had no issues building 8.1 and 8.2 together and separately with 13.2 22:09:58 i hate discord 22:10:29 How so? It correctly built php 8.1.26 a couple of days ago (minus the php81-pecl-APCu issue that borked Nextcloud) 22:12:00 I generally don't want to upgrade php until I'm certain both Mediawiki and Nextcloud work under the new version. 22:12:54 rtprio whats wrong with discord ? 22:13:57 * kenrap wishes the one thing irc should have which discord does, is an integrated bouncer system. 22:14:01 about everything? 22:14:08 jb1277976: you can't even sign up unless you have a mobile number that suits their arbitrary requirements 22:14:12 client is pretty resource intensive and the notification management is poor 22:14:30 their support staff are rude and dismissive 22:14:34 rtprio use your email ? 22:14:37 Schamschula: I upgraded to 8.2 and run 5 different mediawiki instances 22:14:50 one of them with 15-16 TB of monthly bandwidth 22:14:53 no issues so far 22:15:00 Remilia: thanks for the info 22:15:02 jb1277976: it requires a phone number that they can verify 22:15:50 jb1277976: plus anything you type in discord is not really removed even if you delete your account and select to remove your comments. Everything you say and do in there is recorded and can be used against you in some way. 22:15:56 then their support staff, suggested, of all things, use a different email address. 22:16:48 kenrap never thought about discord like that 22:17:53 How do you find the model number of your pc ? 22:18:01 its not undernath my laptop 22:19:22 sysctl dev.acpi.0.%desc 22:20:04 Does Poudriere respect /usr/ports/Mk/bsd.default-versions.mk for default versions? If so it should be building 8,1. There is nothing in /usr/local/etc/poudriere.d/make.conf 22:21:21 Default PHP was recently bumped to 8.2, wasn't it? 22:23:02 That still shouldn't twice override my local settings. 22:23:20 Where do you set your local settings? 22:23:37 found it also rtprio https://man.freebsd.org/cgi/man.cgi?query=dmidecode&format=html 22:23:38 Title: dmidecode 22:24:02 In /usr/ports/Mk/bsd.default-versions.mk and the poudriere buildlists for the specific ports. 22:24:34 jb1277976: here is an example: https://www.theverge.com/2023/4/13/23682097/discord-leak-national-guard-classified-documents 22:24:36 Title: National Guard member arrested for leaking classified documents on Discord - The Verge 22:24:52 Schamschula: Can you show me the whole poudriere command you're issuing? 22:25:14 I'm curious if pkg will offer to upgrade everything when the build is done. 22:25:44 I see what you mean now kenrap 22:26:20 poudriere bulk -v -j 132amd64 -f /usr/local/etc/poudriere.d/buildlists/common 22:26:22 Anyway, I'll end it there. Sorry for offtopic. 22:27:25 Schamschula: And the ports tree it's using is the one in /usr/ports? 22:28:37 Nope: /usr/local/poudriere/ports/default/ 22:29:11 Exactly, so anything you modify in /usr/ports will not be considered 22:29:36 poudriere will never ever look in /usr/ports/Mk/bsd.default-versions.mk 22:29:43 and you are NOT supposed to edit that 22:29:56 Good catch! It did get updated. 22:30:06 use /usr/local/etc/poudriere.d/jailname-make.conf 22:30:50 you put stuff like DEFAULT_VERSIONS+=php=8.2 in there 22:30:59 Sure. Manually editing that would cause issues with git. 22:31:35 in your case it would be /usr/local/etc/poudriere.d/132amd64-make.conf 22:32:53 For the next couple of weeks. I'll updating the server to 14.0 after I turn in the final grades at the end of the semester. 22:33:36 my poudriere VM does not have anything in /usr/ports because why waste 1 GB+ 22:36:14 The /usr/ports is still there from the days I used portmaster 23:55:09 seems like samba413 is deprecated 23:55:28 so do i just pkg uninstall samba413;pkg install samba416? 23:55:38 that sounds like something that may cause an issue since it's joined to AD