sysctl

  1. K

    net.inet.tcp.recvbuf_inc removed?

    Hi there. Under FreeBSD 13, the command "sysctl net.inet.tcp.sendbuf_inc" replies as; net.inet.tcp.sendbuf_inc: 8192 However, "sysctl net.inet.tcp.recvbuf_inc" says; sysctl: unknown oid 'net.inet.tcp.recvbuf_inc' Any idea why it doesn't exist? Is such parameter removed in FreeBSD 13? If so...
  2. E

    Non-root users can change hw.snd.default_unit sysctl

    I'm a little perplexed to have accidentally found that non-root users (even ones denied access to /dev/mixer) can adjust hw.snd.default_unit. I assume non-root users can adjust some other sysctls. I thought sysctl would have been restricted entirely to root. I would appreciate any insight here...
  3. H

    ZFS ZFS settings/tuning for 16GB RAM

    Hi, I'm using FreeBSD 11.2-RELEASE-p4 as Desktop OS on my Lenovo X230 with 16GB RAM and ZFS as file system. This is my first FreeBSD install. So far, I haven't had any issues with ZFS, but I have some slightly concerning boot messages and was wondering if I should change any ZFS-related...
  4. H

    Solved no vt resolution settings available?

    Hello, I have been using FreeBSD many years ago and was mostly on Linux. There have been many developments that I don't really like, so I decided to go back to FreeBSD and try my luck once again. Here is my problem: I just installed FreeBSD a few weeks ago and am trying to tweak some stuff...
  5. B

    How to fix problem with audio

    A user told me that if I want to post something (or like this) or translate a post and explain something which is in another language, I can. Edit: In fact he/she was a Demon, but it doesn't matter: we all are users. So, this tutorial came from this site...
  6. Nicola Mingotti

    Solved How to get CPU(s) load as in "top", in C

    Hi, I am porting a C program from Linux To FreeBSD (wmmon FYI) and I would like to know how i can get cpu(s) load as I can read them from "top" command. I found in other posts here sysctl dev.cpu but that me gives always 100%. I would need to get what "top" calls { "user", "system"...
  7. J

    ZFS High CPU on snapshot destroy

    I have a PostgreSQL DB server running 10.3 and anytime I prune snapshots, the CPU spikes and I see database timeouts. Is there a sysctl tunable that effects the priority of snapshot deletion? I was looking at the vfs.zfs.vdev.(sync|async|scrub)_* parameters, but it isn't clear to me whether...
  8. gugabsd

    Alternative to Carp arp.balance

    Hi guys, I've created a way to simulate the arp.balance option that existed in previous versions of Carp in FreeBSD. what do you think ? https://gist.github.com/lgcosta/d7dce5aac1f83c64d53d548f5e9f695e In principle this solves my case, but would i have problems with arp tables? or was this...
  9. Mirko Cetkovic

    sysctl and KERN_PROC_CWD

    Hello, I need to obtain Current Working Directory for terminal. Specifically tmux needs that in order to get pane_current_path command. Current code in tmux uses sysctl with parameters : KERN_PROC and KERN_PROC_CWD. However, if you invoke this as non root user sysctl returns EPERM error for...
  10. DavidMarec

    Errata discovered in the FreeBSD 10.3-RELEASE notes

    One noticed (french) that the key to enable/disable bell in vt was not bell_enable as written in both release notes and commit message, but enable_bell into kern.vt 's OIDs. Moreover, there is still nothing about this in vt man page. Anyone to publish an errata?
Top