Sponsored Content
Top Forums UNIX for Advanced & Expert Users Apache process cause huge load Post 302176544 by Sergiu-IT on Tuesday 18th of March 2008 12:58:31 PM
Old 03-18-2008
Apache process cause huge load

Hello !

I have a problem with an apache process that is causing huge load. It starts from time to time - I'm not sure what is making it start beacause there's nothing in cron, but it appears every few minutes - and when it starts is uses a lot of RAM (up to 1.3GB) and create a huge load on server, up to 70 (from 0.5-1.5 which is the average). If I don't kill the processes immediatly it blocks the server. Another interesting thing that I observed is that it starts 2 or 3 paralell processes.

On strace I get the following result:
Code:
Process 14808 attached - interrupt to quit
write(3, "ffb\r\n\n&\n&\n&=\n&=\n&\n&=\n&\n&\n&=\n&\n&="..., 4098) = 4098
write(3, "ffb\r\n=\n&\n&=\n&=\n&\n&\n&=\n&=\n&\n&=\n&\n"..., 4098) = 4098
write(3, "ffb\r\n\n&\n&=\n&=\n&\n&=\n&\n&\n&=\n&=\n&\n&"..., 4098) = 4098
write(3, "ffb\r\n&=\n&\n&\n&=\n&=\n&\n&\n&=\n&\n&=\n&="..., 4098) = 4098
write(3, "ffb\r\n=\n&\n&\n&=\n&\n&=\n&=\n&\n&=\n&\n&\n&"..., 4098) = 4098
write(3, "ffb\r\n\n&\n&\n&=\n&\n&=\n&=\n&\n&=\n&\n&\n&="..., 4098) = 4098
write(3, "ffb\r\n&\n&\n&=\n&\n&=\n&=\n&\n&\n&=\n&=\n&\n"..., 4098) = 4098
write(3, "ffb\r\n\n&\n&=\n&=\n&\n&\n&=\n&\n&=\n&=\n&\n&"..., 4098) = 4098
write(3, "ffb\r\n&=\n&\n&=\n&\n&\n&=\n&=\n&\n&\n&=\n&\n"..., 4098) = 4098
write(3, "ffb\r\n=\n&\n&=\n&\n&\n&=\n&\n&=\n&=\n&\n&\n&"..., 4098) = 4098
write(3

On lsof it shows me that it opens a lot (all, I guess) of files from /usr/local/apache/domlogs.

Does anyone has any idee what the cause may be ?
 

10 More Discussions You Might Find Interesting

1. HP-UX

Module jk2 failed to load into apache server!!

Hi There, Does anyone knows what could be the problem if my apache server is running but unable to load JK2 module into the server. My HTTPS is running on Apache Server 2.0.49 with ssl enabled and compiled with Mod_ssl on HPUX-11.11i. In fact we have try out the following parameter, ... (4 Replies)
Discussion started by: e_jeffhang
4 Replies

2. Solaris

sc 3.2, load balanced apache offline on both nodes

Hi I am trying to set up apache on the only 2 nodes of sun cluster 3.2. nodes are running solaris 10-x86 For some reasons, apache resource on both nodes goes offline in some seconds. There is a shared address resource which is online rs, rg list and show below, clrg online... (11 Replies)
Discussion started by: upengan78
11 Replies

3. Shell Programming and Scripting

Best Stratergy to process Huge files

I have a file with 20 million records. I need to read each record and process it. Which will be faster? Perl, Shell or awk? and what is the best method to read huge files line by line? (3 Replies)
Discussion started by: tene
3 Replies

4. UNIX for Advanced & Expert Users

Apache-Reverse proxy and load balancing

Hi All, I have a webpage loaded on server1 with authorization enabled by .htaccess, which can be accessed by http://ipofserver1/index.html. Now im planning a high availabilty load balancing in such a way that if the server1 is down due to some reason it should connect to another server. i have... (1 Reply)
Discussion started by: Tuxidow
1 Replies

5. Web Development

Load Balancing in Apache

Hi All, I have one webserver which has an application for a set of internal users can be accessed by _http://server1.com I am planning to load balance this application. For that I have cloned this server and build a new one which can be accessed using _http://server2.com]Server2.com. Also i... (2 Replies)
Discussion started by: Tuxidow
2 Replies

6. AIX

Process ids consuming huge resources ?

Hi All what is the command to check process ids , which are running from long time and which are consuming more cpu? Also how to check, what a particular PID is running what For Ex: i have a pid :3223722 which is running since from long time, if i want to check what is this... (1 Reply)
Discussion started by: sidharthmellam
1 Replies

7. Red Hat

Conceptual details about apache load balancing

Hi Techies, Setup details - 1. H/W Load Balancer 2. Two Apache Servers with load balancing and rewrite rule 3. Two Application servers Request will be travel 1 then 2 then 3 Queries - 1. When any session is established I can see that requests of that session is going to both... (0 Replies)
Discussion started by: ganesh_gore
0 Replies

8. Red Hat

Apache Load Balaning sticky session issue

Few doubts in apache load balancing - I want to clear my doubts about apache load balancing.i have configured apache load balancing for two application servers. 1. When we set load balancing for two application servers then for one connection to application server we will get one jsession id... (5 Replies)
Discussion started by: ganesh_gore
5 Replies

9. Shell Programming and Scripting

Monitor the CPU load for each process and total

Hi guys, I have to set up a script which monitors the amount of AVG CPU load per each process and also the total load for a sum of processes. The processes have the same name, I can only differentiate by port number they listen to, as follows : 28171 root 20 0 1089m 21m 3608 S 103... (1 Reply)
Discussion started by: liviusbr
1 Replies

10. Red Hat

Process not running: /opt/java15/jdk/bin/java -classpath /opt/apache/apache-ant-1.7.0-mod/lib/ant-la

Have no idea on what the below error message is: Process not running: /opt/java15/jdk/bin/java -classpath /opt/apache/apache-ant-1.7.0-mod/lib/ant-launcher.jar org.apache.tools.ant.launch.Launcher -buildfile build.xml dist. Any help? (3 Replies)
Discussion started by: gull05
3 Replies
writesrv(8)						      System Manager's Manual						       writesrv(8)

NAME
writesrv - Lets users send messages to and receive messages from a remote system. SYNOPSIS
/usr/sbin/writesrv DESCRIPTION
The writesrv daemon allows users to send messages to users on a remote system, and to receive responses from users on a remote system with the write command. The writesrv command receives incoming requests from a write command and creates a server process to handle the request. This server process communicates with the client process (write) and provides whatever services are requested. To perform these services, the writesrv daemon creates a socket on the port defined in the /etc/services file. All requests for service go as messages to this socket. STARTING AND STOPPING writesrv. You can cause the writesrv daemon to be started during system boot with /sbin/init.d/write. The writesrv daemon starts automatically if the WRITESRV variable is defined properly in /etc/re.config. To start writesrv automatically during system boot, do the following as superuser. rcmgr set WRITESRV yes To prevent writesrv from starting automatically during system boot, do the following as superuser: rcmgr set WRITESRV no By default, writesrv is not set and therefore /usr/sbin/writesrv does not run. You can start the writesrv daemon manually as follows: /sbin/init.d/write start You can stop writesrv manually as follows: /sbin/init.d/write stop NOTES
If the writesrv daemon terminates abnormally (that is, for a system crash, a power failure, or the kill -9 command), someone must manually clean out the /usr/spool/writesrv directory to remove any files left behind. RELATED INFORMATION
Commands: write(1) Files: services(4) delim off writesrv(8)
All times are GMT -4. The time now is 02:31 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy