FreeBSD cvs update to 1.11.22
Here is a patchset that updates cvs to 1.11.22, which means some bugfixes. I have not throughly tested it yet.
http://
Note that a final update would be more complex than this one.
共105篇文章。
Here is a patchset that updates cvs to 1.11.22, which means some bugfixes. I have not throughly tested it yet.
http://
Note that a final update would be more complex than this one.
不要在放代码而且没有串口的机器上测试代码!!不要在放代码而且没有串口的机器上测试代码!!不要在放代码而且没有串口的机器上测试代码!!不要在放代码而且没有串口的机器上测试代码!!不要在放代码而且没有串口的机器上测试代码!!不要在放代码而且没有串口的机器上测试代码!!不要在放代码而且没有串口的机器上测试代码!!不要在放代码而且没有串口的机器上测试代码!!不要在放代码而且没有串口的机器上测试代码!!不要在放代码而且没有串口的机器上测试代码!!不要在放代码而且没有串口的机器上测试代码!!不要在放代码而且没有串口的机器上测试代码!!不要在放代码而且没有串口的机器上测试代码!!不要在放代码而且没有串口的机器上测试代码!!不要在放代码而且没有串口的机器上测试代码!!不要在放代码而且没有串口的机器上测试代码!!不要在放代码而且没有串口的机器上测试代码!!不要在放代码而且没有串口的机器上测试代码!!不要在放代码而且没有串口的机器上测试代码!!不要在放代码而且没有串口的机器上测试代码!!不要在放代码而且没有串口的机器上测试代码!!不要在放代码而且没有串口的机器上测试代码!!不要在放代码而且没有串口的机器上测试代码!!不要在放代码而且没有串口的机器上测试代码!!
今天帮同事调一个程序。
问题:服务器,FreeBSD 6.2上,某程序速度是一台配置较低的笔记本上的Ubuntu的大约1/10。
折腾许久,手工改了一堆port,发现没作用。遂祭出ktrace,发现那个程序十分不理性地mmap一个中文ttf文件;将字体改为英文的,则速度一样。另一个诡异的问题是,使用中文字体会疯狂吃内存。
然后改了freetype2,令其不使用mmap,发现不再出现不理性的内存占用了,速度提高10倍。
It seems that I have caught a race condition which can be triggered by renice(1), and we need to take PRS_NEW into account when we need to
access several attributes of a process object.
Robert has pointed out that we may want to just initialize the attribute
early to avoid the race condition. After reading some old 4.4BSD code it
seems that the process object is linked into allproc list before
everything is initialized.
我有一件事情没想明白。
简单地说是这样:
有两个节点A、B。这两个节点的IP地址位于同一网段,并且,它们到目的节点D所走的网关地址相同。两台机器使用同样的作业系统,TCP/IP协议栈配置除了IP地址完全相同。
今天尝试了一下触发zonelim的方法,不过zonelim没搞出来,却发现了另一个问题——如果并发执行ifconfig配置同一块网卡,似乎有由于欠锁导致的断言失败。打算找时间研究一下。
It turns out that just doing a substring “invalid” search within the XML DOM’s responseText is silly and I have replaced it with an explicit compare. This is still imperfect, though, but fairly bullet-proof as I added an “invalid” in recent blog which caused the RSS reader to consider the feed itself is invalid :-(
It seems that John Baldwin has published a debugging helper script for gdb, which is interesting to have a look at:
http://
Maybe we can extend it to have some VM inspection function as well? :-)
用的linksys的交换机,似乎没有启用任何防火墙功能。从网络流量上看,也没有很明显的规格化迹象。公司的Cisco交换机就没事,而且同网段的其他机器也没事,不理解。。。改天tcpdump一下。