看板 DFBSD_bugs 關於我們 聯絡資訊
--1UWUbFP1cBYEclgG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 05, 2005 at 03:34:26PM -0700, Matthew Dillon wrote: >=20 > : > : > :--mYYhpFXgKVw71fwr > :Content-Type: text/plain; charset=3Dus-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 >=20 > 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). >=20 > -Matt http://www.theshell.com/~pavalos/ktrace.out.bz2 --1UWUbFP1cBYEclgG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCUxqyKjaxugguz8URAmIeAKCXpp5J3uLvtSEFl5hYW369tWDkjACePKlP s53sjd+a7j4C2rF0rxCR870= =Uhfh -----END PGP SIGNATURE----- --1UWUbFP1cBYEclgG--