Archive
Posts in OpenBSD
Fixing brk()
While reading through my daily mailing lists, I came across the following post. At first I was a bit nervous about the widespread chaos this would cause to OpenBSD users. After further analysis, it dawned on me that this will actually FIX more than it will break. Since software is getting worse by the day, it is nice to see that an Operating System takes pride in protecting users from crappy software.
$ read more →OpenBSD kernel memory statistics
The OpenBSD platform uses mbuf(9) data structures, macros, and function calls to manage the kernel memory used by the various networking protocols. An adequate supply of mbuf(9)'s is required for proper operation, and mbuf(9) starvation can lead to kernel panics. You can monitor mbuf(9) usage with the netstat utilities "-m" option: If you run out of mbufs, you can increase the NMBCLUSTERS option to add more.
$ read more →Searching the OpenBSD ports tree
The OpenBSD ports collection comes with 1000s of software packages, and is organized as a hierarchical directory structure. Locating specific ports can sometimes be tricky, especially when the port name doesn't contain a descriptive name. To deal with these situations, the global Makefile supports a serach keyword: This is super useful for locating all ports that match a specific purpose (e.g., all debugging utilities).
$ read more →