FreeBSD

共 688 篇文章。

RAID-5 Disaster on InfoTrend based TOYOU SATA disk array

• Hardware

And finally, it happend.

On Monday, one of our server, running FreeBSD, panic’ed with “ffs_clusteralloc: map mismatch”. This message is quite uncommon and should only happen when there is some “event” with the memory or hard disk.

I have suggested our administrator to reboot and do “fsck” on the volume, since it has very small block size and can not be checked background (I have made a change to warn about this to FreeBSD, and was MFC’ed to 5-STABLE so you will get the feature in 5.4-RELEASE). Unfortunatelly, the check is so slow and we start to suspect whether there is some hardware problem.

阅读全文… ( 本文约 296 字,阅读大致需要 2 分钟 )

eAccelerator

• Development

A GPL’ed (say, it’s not OpenSource, but the source code is available publicly) PHP accelerator has been evaluated at lab, which is called eAccelerator. I should adjust my claim that this sort of application is not useful.

During my test, the accelerator has improved the TPS by about 50%, and is quite impressive.

In order to install this on FreeBSd, you should have installed PHP from ports, and go to www/eaccelerator and ``make install’'.

阅读全文… ( 本文约 96 字,阅读大致需要 1 分钟 )

FreeBSD snapshotting/background fsck improvement idea

• Kernel
  1. We should not caclucate the superblock summary, since it can at most lag 30 seconds’ change, and doing the caclucate is painful delay. What we should do is to transfer the responsibility to background fsck
  2. newfs(8) should warn about the snapshot is actually unable to create, in case fssize is greater than maxfilesize.

The patch for 1) is available at http://people.freebsd.org/~delphij/ffs/patch-sbsummary. I will work on 2) shortly, as it’s quite simpler than 1).

参与评论

忙碌的春节

• Life

好事多磨:

初一:修正了一组SCSI配置问题,MFC掉的那个CAM改进也加入了内核。发现有4台机器硬件存在不同的毛病。
初二:深夜发现一些机器panic,连夜进一步加入新近MFC的UFS2错误修正。
初三:正式部署新的kernel,看上去运转良好。
初四:软件现在已经足够稳定了,但是居然有一台机器SCSI卡出了问题,已经通知厂商取备机……

阅读全文… ( 本文约 184 字,阅读大致需要 1 分钟 )