00:54:39 sockstat -np 1234 Is there a reason this is more than items with that port? Using -4 or -6 limits it to what I would expect. 01:32:04 nothing about -p implies not showing non-internet sockets 01:33:30 and from man sockstat: "If neither -4, -6 or -u is specified, sockstat will list sockets in all three domains." 02:02:06 I'm still unhappy about! 02:27:15 i run top and RES is the physical memory actually being used by a process. but in top's summary at the top, there is no Res total in the Mem line. wtf? 02:58:20 I think that's because adding RES for all processes would count memory used by shared libraries multiple times. But I've been known to be wrong and my understanding of memory stats is weak. 03:46:17 ^ is the correct answer, it's basically impossible to calculate memory usage of a process on a shared/virtual memory system. 'RES' is just a fudge that's sometimes useful 03:46:41 i do with top had more useful system memory statistics though 04:18:01 * edenist is such a moron. 04:18:16 spent way to long trying to work out why poudriere was flagging a bunch of ports as ignore even though I have since ditched mysql-57, then finally realised I had set 5.7 as the default version in the make.conf for the jail.... 07:34:10 hi all 07:38:04 Fresh freebsd 14.0 install at vmware pro , no display manager nor window manager. simply at console. nothing is installed additionally after the fresh installation. file system is UFS. 'top' shows 199M 'wired' memory. I edited the kernel config file and removed 'not needed' parts (devices such as NICs and WIFIs) and recompiled the kernel, booted up but still 'wired' memory is 199M and if i do a installation for example it goes up. but never 07:38:04 goes down. why a fresh install uses 200M by default ? and how can i lower or minimize the 'wired' memory ? 07:50:40 CountryBall0, I actually don't know how big the base 14 kernel is. I did a check on some 13.3 systems, x86 w/ zfs shows about 40M worth of kernel in memory, arm64 about 20M 07:51:00 usking kldstat as an estimate for the lower bounds of what you would expect in wired memory 07:53:33 userland can still be wired too though, so perhaps world has some things wired down too? 07:58:39 there is a huge amount of memory tuning options available though through various sysctl options. It could be that the defaults are less conservative than you'd have expected? 08:04:03 something like 'vmstat -h -m' might also help tell you where the memory is being used 08:06:21 it could be something like the network buffers using up some of this too? 08:51:41 edenist, thanks for the reply. yeah I was expecting those values (40-20M) for my setup too but unfortunately it 200M. there are no network activity tho so no network buffers. but memory tuning and kldstat I will be looking into (thanks) , about userland, hmm how to pratically identify/diagnose the userland in this aspect to see which userland programs are wired and how much wired ? 09:26:51 edenist, kldstat shows 7 other kernel modules as loaded. almost all of them related to vmware, virtualization. it seems I may discard the wired memory when in virtualized enviroment.. they cant be kldunloaded either. vmstat -h -m provided me interesting results, thanks again 10:33:37 is there a partition resizing tool for FreeBSD? 10:33:50 something like gparted Iguess? 10:42:00 dch: afaik gparted supports ufs 10:42:03 arino: FreeBSD has the strongest performance and has a lot of features (openzfs support, jails, strong virtualisation etc), its security is very Linux-like with support for MAC and containierisation/virtualisation. OpenBSD focuses on code correctness and security, they have rigid code standards and proactively audit their own codebase to ensure any rotting code is cut out... anything not required 10:42:05 is additional surface area for attack in their minds, and thus should be deleted. OpenBSD maintains a small, minimalistic, clean codebase whcih aims to be secure by design, however they do not agree with the mainstream Linux security ideas such as MAC (argued it simply is too complex and is switched off) and for containerisation its either chroot or unveil(). Whether you agree with their extreme 10:42:07 stance against the norm of "security", OpenSSH for example is shared between almost every major system in the world... and pf came from OpenBSD too... along with OpenSMTPD which seems to be a common choice of MTA 10:42:24 NetBSD focuses on hardware support, for example I believe they just announced RISCV support..... 10:42:41 If you want good support for hardware, NetBSD "just works" afaik 10:43:01 Yet to try NetBSD, I have used FreeBSD and OpenBSD only 10:43:10 drobban: I would need to install linux for that tho 10:43:25 you also have DragonflyBSD which diverged from FreeBSD due to arguments on optimising performance 10:43:33 iirdc 10:44:25 dch: gpart(8) and https://docs.freebsd.org/en/books/handbook/disks/ 10:44:27 Title: Chapter 20. Storage | FreeBSD Documentation Portal 10:45:10 polarian: I'm familiar with gpart, I'm looking for one that can handle resizing, not just extension thanks 10:45:16 ohhh 10:45:26 apologies I misunderstood 10:45:42 however gpart does support resize no? 10:46:16 gpart resize ...? 11:03:20 polarian: thanks 12:19:27 lw, ping 12:28:26 polarian: only into space at the end. If you want to resize a middle partition, it can't. 12:51:01 I tried to ask last night, but people were arguing the merits of the BSDs at the time 12:51:13 Anyone around using pkgBase? 12:59:11 what's your question? 13:05:22 anybody familiar with mtools and gpart/glabel etc? 13:05:38 jbo: hi 13:05:46 I am trying to set a partition label EFISYS such that Linux `blkid -L EFISYS` works 13:05:52 lw, hey 13:06:10 glabel & gpart don't do what I need, they only set `PARTLABEL=EFISYS` and not `LABEL` 13:06:35 so I'm wondering if its possible with base tools. FWIW emulators/mtools was able to change it 13:19:59 rafe: plenty of people by now 13:20:15 (>3? at least) 16:18:46 Anyone know why st_dev in struct stat has a full 64 bit value but kinfo_vmentry returned by KERN_PROC_VMMAP is a 64bit field but only seems to contain the lower 32bits of the value obtained by stat? 16:18:58 (for ZFS) 18:53:35 Hello, I cannot get FreeBSD 14.0 to boot on Banana Pi M1+ (ARM A20). The last messages I see before it hangs are: Using DTB provided by EFI at 0x78f0f000. Kernel entry at 0x72200200.Kernel args: (null). Does anyone have any suggestions on what I can try? Thanks! 18:57:31 Can I run a different version of FreeBSD that will give me more debug output during boot? Would UART and serial console output help with dianosing? 19:44:37 BananaPiHalp, do you see a menu similar to the one in https://docs.freebsd.org/en/books/handbook/bsdinstall/#bsdinstall-view-probe (perhaps with ASCII art instead)? From "Boot options" in that menu, you should be able to request verbose boot. 19:44:38 Title: Chapter 2. Installing FreeBSD | FreeBSD Documentation Portal 19:48:17 V_PauAmma_V: Unfortunately, no. I am using SD CARD so there is no installation and boot does not have a menu. 19:51:45 OK. Then perhaps someone familiar with that installation method can help. Or you could try the 14.1 beta release to see if it helps. 19:52:36 This is as far as I my boot gets. I don't see any debug statements in bi_load so it looks like I need to do a custom build to add them myself? https://github.com/freebsd/freebsd-src/blob/2ae0f5a4d0931067c672be9a791909f0e32d5a0e/stand/efi/loader/arch/arm/exec.c#L77 19:52:38 Title: freebsd-src/stand/efi/loader/arch/arm/exec.c at 2ae0f5a4d0931067c672be9a791909f0e32d5a0e · freebsd/freebsd-src · GitHub 19:55:51 are you sure it's not actually booting but with a serial console? you might try mounting the sd card elsewhere and change boot_serial to NO in /boot/loader.conf 19:59:07 lw: Did not know about that! I will try that, thank you! 19:59:51 if you can't mount the sd card an alternative is to connect it to a network and see if it gets a dhcp lease, if it does you can log in as freebsd/freebsd via ssh 20:01:38 will try that too! 20:02:48 it might not be this, i haven't booted the sd card images for ages (and never on that hardware) but i know it does enable the serial console by default... i thought it was meant to be in dual console mode though 20:13:54 that would be my assumption as well, it would be strange to give up on hdmi output on these boards. nevertheless, it may offer some clues 22:40:59 there any real benefit to keeping logs 640 instead of 644? like obviously assuming there aren't any secrets in the log. is it actually less secure to run 644 for the convenience? 23:25:19 that's arguably something that can depend on your threat model, but principle of least privilege overall seems like an easy way be secure without having to overthink it. taking away perms from those not the user and outside the group seems to be something wise that you should have good reason to go against