Hello,

This mail is in continuation of my earlier post under some other thread
name. I am changing the thread name as I thought that this one would be the
more appropriate one.

The server is running only Qmail, Squirrelmail and vexira. Not only the
httpd is taking more than 90% of resources most of the time (I tried to
upload the output of top but the list don't permit for obvious reasons), the
apache stops responding as well sometimes. When it stops responding I have
observed that

Around 150 httpd processes are running as reported by ps -ef

The command service httpd status tells that it is running

The command service httpd stop tells that the stopping was OK but the log
file shows that many httpd processes could not be stopped because they did
not exist.

The command service httpd start gives the error "(98)address already in use:
make_sock could not bind to 0.0.0.0:80 no listening sockets available
shutting down" signifying that the earlier stoppage was not a clean one

I am worried that something is not going right. But being a new user, don't
have any clue really. Can somebody help me please? This locking up of httpd
is occurring in every few days.

BTW I am using courier IMAP and some of the mailboxes are a few MB large.

With regards,


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Devdas
Bhagat
Sent: Thursday, January 01, 2004 2:16 AM
To: [EMAIL PROTECTED]
Subject: Re: [LIH]Explanation of the output of TOP ---- Apache taking all
CPU

On 30/12/03 19:04 +0530, Goutam Baul wrote:
> Hello Everybody,
>
> I am having a Xeon server with 512MB of RAM running RH8.0. This server is
> running QMAIL 1.03, Apache 1.3.19 and squirrelmail 1.2.10. I am finding
that
Hopefully, a patched Apache.

> all the time there are more than 10 httpd processes are running and the
top
This is normal. See the minspareservers and maxspareservers directives
in httpd.conf

> command shows that the httpd process is taking more than 90% of CPU. I
have
For how long? What else is running via http? Turn off the themes in
squirrelmail. How big are the mailboxes in question? Are you using
Courier IMAP, or something else?

> not done any special tuning of the software. Am I interpreting the top
> output in a wrong way or do I need to fine tune apache? Where can I get
the
> explanation of the various output that the top command is giving? I tried
to
> search through google but without much fruitful result.
man top is helpful. On Linux, top just reports from /proc, so reading
the documentation on /proc will be useful as well.

> Please help me to find the real problem. Some time the httpd service is
> freezing and I have to restart the machine. So the matter is now becoming
a
> bit serious. The machine is supporting 540 mail boxes and most of them use
> web access for the mail.
This is negligible, unless you are doing something else on the system as
well.

Devdas Bhagat


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to