当前位置: 首页 >> Tag标签为 'FreeBSD'

ZFS Tuning Guide

http://wiki.freebsd.org/ZFSTuningGuide

If you need to extend them beyond 512M, you need to recompile your kernel with increased KVA_PAGES option, e.g. add the following line to your kernel configuration file to increase available space for vm.kmem_size beyond 1 GB: options KVA_PAGES=512
Read the rest of this entry »

Re: Freebsd 8.0 kmem map too small

Florian Smeets
Fri, 11 Jun 2010 07:14:23 -0700

On 6/8/10 11:11 AM, Yoshiaki Kasahara wrote:
> Hello,
>
> I'd like to add another instance of similar problems.  I recently
> updated my FreeBSD amd64 box with ZFS root and 8GB RAM from 8-STABLE
> (as of Mar 1st) to 8.1-PRERELEASE (as of May 27th).  After that, my
> box started to crash every couple of days due to kmem_map too small.
>
 Read the rest of this entry »

Freebsd 8.0 kmem map too small

On a system here with 8GB of RAM and a very large zpool consisting of multiple zdevs, little tuning was needed. The system is running 8-STABLE(amd64) as of a month or two ago. The only things I have set in /boot/loader.conf are:

vm.kmem_size="12G"
vfs.zfs.arc_max="4G"
 Read the rest of this entry »

使用freebsd构建pppoe server服务器

相对于在linux下做pppoe server服务器,在freebsd下要简单得多。

一、安装freebsd,安装内核的源码或者用cvsup同步最新的内核源码。

二、重新编译内核。

Read the rest of this entry »

基于freebsd建立内核模式的pppoe服务器

http://www.routerclub.com/viewnews_303.html

讲述了制作pppoeserver的方法,但是它有一个性能上的缺点,因为它是工作在用户模式中,所以在流量和多用户的情况下,会不能胜任。
这里有一篇文章作了详细的比较:
Read the rest of this entry »

The Z File System(ZFS)-ZFS on FreeBSD

听说ZFS挺强悍的,由于对Sun的系统有恐惧症,并且FreeBSD 8.0上的ZFS文件系统不再是试验性的特性了,所以应该比较完善的具备ZFS的各项功能。 Read the rest of this entry »

FreeBSD 6.2在线升级至8.0-RELEASE

由于Panabit不再开发基于Freebsd 6.2的软件包,所以必须升级操作系统,以前也没有试过跨大版本升级(6.x直接升级到8.x,以前完成过一次7.2升级到8.0),于是翻出7.0-RELEASE的Release-Notes,根据升级说明进行操作(根据如下操作,完成FreeBSD6.2-8.0的升级工作,注意原文是-r 7.0-RELEASE这里已经改成-r 8.0-RELEASE,由于机器没有安装任何Port包,所以portupgrade -faP也省略了):

Read the rest of this entry »

FreeBSD下运行Zabbix出现错误

这次提示:

zabbix_agentd [12234]: Can not create Semaphore [No space left on device]
zabbix_agentd [12234]: Unable to create mutex for log file

这次又是另外一个错误,根据上次的经验,通过修改sysctl.conf试试

kern.ipc.shmall=40960000
kern.ipc.shmmax=204800000

居然好用了

FreeBSD Ports变化带来的一点小麻烦

平常使用Linux比较多,为熟悉和了解FreeBSD,在虚拟机下安装了一个FreeBSD,为了了解FreeBSD的升级功能,特意安装7.2版本,通过网络升级,升级到8.0版本。

Read the rest of this entry »

浅谈FreeBSD与OpenBSD

最近对FreeBSD的升级和安装进行了一些了解,同时也试着在OpenBSD找寻相同的方法,于是就有这篇文章啦;本文不注重详细比较FreeBSD和OpenBSD的区别,只是记录一下我所涉及的一些功能。

Read the rest of this entry »