1753359 Members
5059 Online
108792 Solutions
New Discussion юеВ

APACHE - log Process

 
Isaac_4
Frequent Advisor

APACHE - log Process

Hi :

My box running with HPux 11.23 with Apache and Oracle OAS.
I found many process with "top" command consuming around 80% cpu process , but my users reporting slow performance in the appls.

Some one have any idea ?

Thks

The time is gold
9 REPLIES 9
Dennis Handly
Acclaimed Contributor

Re: APACHE - log Process

>I found many process with "top" command consuming around 80% CPU.

This could be slowing everything down. Which processes were they?
Isaac_4
Frequent Advisor

Re: APACHE - log Process

Hi : when use ps -ef |grep PID show /sbin/apache/log

I have a hundreds
The time is gold
Viktor Balogh
Honored Contributor

Re: APACHE - log Process

Hi,

If you have glance installed, it displays statistics and possible bottlenecks.

Regards,
Viktor
****
Unix operates with beer.
Isaac_4
Frequent Advisor

Re: APACHE - log Process

Here have screen about process that i talk
but i think that system dont use swapspace it this normal

The time is gold
TTr
Honored Contributor

Re: APACHE - log Process

You need to identify what this log process is and control it. I remember from long time ago that apache had a log process that was doing log mining, reporting and statistics on the web connections. It had similar behavior and was not a critical process. I don't know if this is the same one.
Dennis Handly
Acclaimed Contributor

Re: APACHE - log Process

You can also renice these to have them run in the background:
renice -n 20 PID ...
Viktor Balogh
Honored Contributor

Re: APACHE - log Process

# ps -efx | grep log

This shows you the full path and the parameters with which these processes are running. This could give you some clue what kind of software is it.
****
Unix operates with beer.
Hakki Aydin Ucar
Honored Contributor

Re: APACHE - log Process

did you try to stop and start Apache ?

# /sbin/init.d/hpws_apache stop

clear logs, (if you do not need to debug)
# cd /opt/hpws/apache/logs
# rm *

# /sbin/init.d/hpws_apache start
Isaac_4
Frequent Advisor

Re: APACHE - log Process

Hi:

Thks, for reply , i discover when kill all logs process, the system work fine but continued show new logs.

This logs are some Apache static o temporals?

The process are relate with Oracle OAS.

using ps -efx |grep log

After 5 hours running the system comming low because you can see hundreds logs process.

Other idea to try to fix the bug.

Thks

isaac






The time is gold