Re: sendfile hosing apache?

看板DFBSD_bugs作者時間21年前 (2005/04/06 07:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/11 (看更多)
: : :--mYYhpFXgKVw71fwr :Content-Type: text/plain; charset=us-ascii :Content-Disposition: inline : :I wrote about this back in November, but enabling sendfile in apache :seems to make it use more and more cpu as the server runs. Right now :I've been running the server for about an hour, and I have a load of :about 20. If I disable sendfile in apache, it seems to work fine. If :I run ps, it says those processes are in a 'RL' state. Is it normal :for sendfile to use this much cpu? : :Of course I'm willing to provide an info required to figure this out. : :Thanks, :Peter It sure isn't. Do a ktrace -p <pid> of one of the apache's while it is in that state, for a few seconds (terminate it with ktrace -C). -Matt
文章代碼(AID): #12KnYo00 (DFBSD_bugs)
討論串 (同標題文章)
文章代碼(AID): #12KnYo00 (DFBSD_bugs)