分類彙整: FreeBSD

Troubleshooting for PAE under FreeBSD

Background

In last post, we discussed how to enable PAE functionality on a FreeBSD machine. But some people may also concern the memory usage limitation of single process.

By default, every process can only allocate 512 MB memory for data size, which is defined as MAXDSIZ in kernel configuration file. To break the barrier, simply set a variable in /boot/loader.conf

kern.maxdsiz="2048M"

or adjust the value of MAXDSIZ in kernel configuration file for static setting:

options MAXDSIZ=(2048UL*1024*1024)

But if you set the value too high without further consideration, it might be the beginning of disaster…
閱讀全文 Troubleshooting for PAE under FreeBSD

PAE Configuration for FreeBSD

Recently, I’m conducting experimental simulations for my thesis, using NS-2.
It’s about mobile ad hoc networks (MANET).

In some scenario, the number of nodes in a network grows, the demand of memory also increases tremendously. Since NS-2 is a memory hungry network simulator, it’s a good idea to add more RAM for better performance.

Now, I’m putting four sticks of DDR2 1G memory module on the motherboard of my server, all memory slots are full!!

閱讀全文 PAE Configuration for FreeBSD

FreeBSD auto-chroot named

前些日子伺服器從 4.11-STABLE 升級至 6.1-STABLE 時找了不少資料
一些傳說中的疑難雜症也都迎刃而解,只剩 DNS 沒搞定
有經驗的 administrator 可能隨即聯想到 named chroot
但問題癥結卻非如此,讓我苦惱了很久

直到今天靈光一閃,終於解決….

閱讀全文 FreeBSD auto-chroot named

kmd.twbbs.org 軟硬體更新預告

kmd.twbbs.org 的硬體自升大一的暑假以來
各個系統元件都被我逐年升級,換的差不多了
至今仍未改變的只有小小一顆 10G 的硬碟 (買來到現在撐了六年多)

鑒於伺服器硬碟容量逐漸不敷使用
趁著 FreeBSD 6.1 即將 release 的時候來個軟硬體大更新

正式替換的時間應該會在四月中
屆時應該又少不了停機作業 …..

閱讀全文 kmd.twbbs.org 軟硬體更新預告