Re: Apache2.2 and php5, 100% usage

2007-01-26 Thread Simon 'corecode' Schubert

Petr Janda wrote:
Ive been experiencing a weird thing. Im running DF 1.6 on this server 
and once in a while 1 or 2 of the apache processes become using 100% 
CPU, all the other apache processes are ok. This is an SMP box.


best compile apache and php with -g, but that's not strictly necessary.  then 
attach with gdb to this process:

gdb /path/to/apache/binary pid

and check where they are hanging:

gdb> bt

that should give us some ideas what is happening.

cheers
 simon

--
Serve - BSD +++  RENT this banner advert  +++ASCII Ribbon   /"\
Work - Mac  +++  space for low €€€ NOW!1  +++  Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \



signature.asc
Description: OpenPGP digital signature


Apache2.2 and php5, 100% usage

2007-01-26 Thread Petr Janda

Hi,

Ive been experiencing a weird thing. Im running DF 1.6 on this server 
and once in a while 1 or 2 of the apache processes become using 100% 
CPU, all the other apache processes are ok. This is an SMP box.


Any clues?

Petr


host.conf or nsswitch.conf?

2007-01-26 Thread Jeremy C. Reed
I see a DragonFly system has both host.conf and nsswitch.conf man pages.

gethostbyname(3) man page lists /etc/host.conf under files.

The pam_unix(8) and newbtconf(8) man pages refer to nsswitch.conf(5).

But I can't see where nsswitch.conf is used in any DragonFly code.

Why is the nsswitch.conf man page installed?

Or am I overlooking something? :)

  Jeremy C. Reed


Re: Sound stuttering at high I/O activity

2007-01-26 Thread Matthew Dillon

:With the release branch, I experience sound stuttering with high disk/network 
loads. This hasn't occured with revisions from end-Dec. Do I have to set 
something within the new sound system?
:
:-- 
:Gergo Szakal <[EMAIL PROTECTED]>

I have no idea.  Sometimes when that happens its because we missed
releasing critical section, but you should get a panic in that case
so it must be interrupt routing or something like that.

This will have to be investigated after the release.

-Matt
Matthew Dillon 
<[EMAIL PROTECTED]>