sysctl

  1. K

    Solved Undocumented sysctl tunables?

    I feel that it's often hard to find references to sysctl configs. On man pages, they are scattered across many places, such as sysctl, security, ifconfig, random, nfsd, and so many. Also, some tunables are not even documented in the man pages, such as kern.hz. What sysctl said is: More...
  2. csbatista

    mem resource alloc failed

    Hello, Can I helping me? I have this error in load driver nvidia. Don't worked sysctl. /boot/loader.conf hw.pci.allow_unsupported_io_range=1 rc.config /etc/rc.conf hostname="legion5" keymap="br.kbd" wlans_iwlwifi0="wlan0" ifconfig_wlan0="WPA DHCP" ifconfig_wlan0_ipv6="inet6 accept_rtadv"...
  3. R

    13.0 - where is /dev/diskid?

    #sysctl kern.geom.label.disk_ident.enable kern.geom.label.disk_ident.enable: 1 #ls /dev/diskid ls: /dev/diskid: No such file or directory I didn't change the value of kern.geom.label.disk_ident.enable. It was on by default.
  4. 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...
  5. 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...
  6. 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...
  7. 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...
  8. 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...
  9. 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"...
  10. 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...
  11. 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...
  12. 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...
  13. 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?
Back
Top