2008年1月7日星期一

解决gam_server进程对CPU占用100%的方法

摘自:http://ubuntuforums.org/showthread.php?t=210329&highlight=gam_server

如果使用了gamin,在/etc/gamin目录下,创建名为gaminrc的文件,内容类似下面的描述:

fsset poll 10

其中filesystem指的是你的系统中所使用的文件系统类型,请自己枚举。

For example, if you are using the ext3 filesystem you would type the following:

fsset ext3 poll 10

What this does is tell gam_server look for changed files every 10 seconds instead of a gazillion times a second like it was doing.

You can try a different interval other than 10 seconds to see what works best for you.

(也有人在没有gamin的情况下,直接在/etc目录下创建gaminrc文件的,好像说也有效,未验证。)

没有评论: