apache20 going nuts

Jeff Mohler speedtoys.racing at gmail.com
Wed Oct 25 21:48:23 UTC 2006


I was just there on 5.1 for the last few months..when I did a
kdump/ktrace, I saw invalid fnctl's just sucking things up.

I nailed it down to something in PHP, because I could trigger this
immediately by uploading photos to my coppermine installation, or
randomly with zencart.

Moving those services to another box but still using mysql on the
questionable server was just fine, so I said phuk it and built a new
faster box on 6.1 with apache22, the 5.1 sql server, and the latest
5.x PHP.

its been fine, and fast as heck.

IE: I gave up on finding the problem as its beyond my skills.

On 10/25/06, John <oxo at rucus.net> wrote:
> Hi all,
>
> Recently, occasionally apache starts using lots of processor on one of
> my servers.  This has started out of the blue.  I am running apache
> 2.0.58 and
> FreeBSD codeine.yoafrica.com 6.1-STABLE FreeBSD 6.1-STABLE #0: Sat Jun
> 17 01:52:21 CAT 2006
> sysjo at codeine.yoafrica.com:/usr/obj/usr/src/sys/CODEINE  i386
>
> I have just upgraded to apache 2.0.59.  This happens randomly and I
> can't trace it to anything else.
>
> On the webserver, I am running roundcube, vexim, mailman and a couple of
> very small php apps I've built myself.  When I say small I mean very
> very small.
>
> Does anyone have any ideas about what I could do about this.  Find out
> what in apache is using the processor so much.
>
> TIA,
>
> -John
>
>
> last pid: 70289;  load averages:  8.38,  7.15,  3.95 up 52+17:42:14  23:12:10
> 168 processes: 9 running, 159 sleeping
> CPU states: 98.1% user,  0.0% nice,  1.9% system,  0.0% interrupt,  0.0% idle
> Mem: 316M Active, 366M Inact, 217M Wired, 50M Cache, 110M Buf, 39M Free
> Swap: 2004M Total, 142M Used, 1862M Free, 7% Inuse
>
>   PID USERNAME  THR PRI NICE   SIZE    RES STATE    TIME   WCPU COMMAND
> 51874 www         1 130    0 19148K 12976K RUN      1:01 12.30% httpd
> 67045 www         1 129    0 16308K 10028K RUN      0:55 11.96% httpd
> 29639 www         1 130    0 19188K 13032K RUN      1:22 11.91% httpd
> 62291 www         1 130    0 19160K 13020K RUN      1:05 11.77% httpd
> 87078 www         1 130    0 19108K 12888K RUN      0:57 11.77% httpd
> 67445 www         1 129    0 22812K 16668K RUN      1:06 11.72% httpd
> 67056 www         1 129    0 18848K 12600K RUN      0:55 11.72% httpd
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>


More information about the freebsd-questions mailing list