Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

I operate a Debian server with Apache and Raid software an..

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Apache newbie  
Author Message
David from b

External


Since: Sep 19, 2006
Posts: 2



(Msg. 1) Posted: Tue Sep 19, 2006 6:41 am
Post subject: I operate a Debian server with Apache and Raid software and LVM.
Archived from groups: alt>apache>configuration (more info?)

Hi Everyone,

I operate a Debian server with Apache and Raid software and LVM.

On the server there are a large number of large websites.
>From time to time the loads are jumping and the server stop responding.

I've tried to locate the problem, but didn't.
I did notice that from time to time there are intensive writing to the
hard disk, of about 5M per sec, for about 5 seconds.

When I stop the apache it doesn't happen, but I can't identify the
source of problem.

I also checked on the server the apache status, and can't find any
problem.
I also checked the process list of the Mysql, and found nothing not
normal.

Does anyone knows or familiar with a tool that gives information about
the apache opened files, and information about their read and write.

Thank you for answering.
David

 >> Stay informed about: I operate a Debian server with Apache and Raid software an.. 
Back to top
Login to vote
spam_this2

External


Since: Jun 17, 2004
Posts: 2



(Msg. 2) Posted: Thu Sep 21, 2006 3:50 pm
Post subject: Re: I operate a Debian server with Apache and Raid software and LVM. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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.. 
Back to top
Login to vote
David from b

External


Since: Sep 19, 2006
Posts: 2



(Msg. 3) Posted: Sun Sep 24, 2006 12:18 pm
Post subject: Re: I operate a Debian server with Apache and Raid software and LVM. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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.. 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Apache on Debian/Sarge - I attempted to install the newest version of Apache for Debian/Sarge, 1.3.27.0-2 and got an error during configuration: Setting up apache (1.3.27.0-2) ... /var/lib/dpkg/info/apache.postinst: line 8: /usr/share/apache/postinst.common: No such file or..

Problem installing apache on Debian - Hi, I'm trying to install Apache on a debian system, and keep running into this error. Setting up apache (1.3.29.0.1-5) ... Error: mod_accounting.so does not have a corresponding .info file. Error: the above error list does not permit a safe use of..

Need Text mode hit counter for Apache on Debian box - Hello, I have an Apache server running on a Debian Linux box and want to get a web page hit counter program that does not need "graphic" (X-windows) to run. I have searched the www with Google and found quite a few "free" hit counte...

Newbie: Debian upgrade 2.2 to 3.0 stops apache - Just upgraded from Debian 2.2 to 3.0, fortunately on a test machine, but now Apache won't start. Problem I presume is related to Tomcat. Error given is Syntax error on line 69 of /etc/apache/httpd.conf: Invalid command 'JkWorkersFile', perhaps..

Apache2 configuration on debian server - I have installed a debian server. After this i installed apache2, php and mysql. I have the following problem. When i open my webpage it opens index.html.en instead of index.html. This is probably configured somewhere but i cannot find it. Can somebody...
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]