Hello,
vmstats doesn't give me information about each file opened and how much
IO does it consume.
I want to know the files opened by apache and how much disk
reads\writes each performs
Regards
David
Centurion wrote:
> David from b wrote:
>
> > Does anyone knows or familiar with a tool that gives information about
> > the apache opened files, and information about their read and write.
>
> Tracking down these sort of short-lived, intermittent bottle necks is
> always more of an art than a science. However you should probably have
> a look at the man pages for the following:
>
> top
> vmstat
> lsof
> ps
> netstat
>
> They (as a group) will provide you with a good picture of exactly what
> is going on with your server. Looking at the right tool when the
> problem starts will be the challenge.
>
> Your problem might be excessive paging. This will happen if you're a
> little short on RAM and Apache gets a flood of requests. It will spawn
> as many children as necessary to meet the requests (subject to the
> limits in httpd.conf of course). So you might want to focus on the CPU
> time that has been consumed by kernel paging daemon (kswapd IIRC). If
> your system is paging like mad, the total CPU time used for that process
> might be a bit higher than "normal" - normal will vary from server to
> server. You may need to watch it for a while.
>
> Good luck.
>
> Cheers,
>
> James >> Stay informed about: I operate a Debian server with Apache and Raid software an..