Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Please Help me in my load average Post 302304704 by black-code on Tuesday 7th of April 2009 06:34:48 AM
Old 04-07-2009
Please Help me in my load average

Hello AlL,..

I want from experts to help me as my load average is increased and i dont know where is the problem !!

this is my top result :

root@a4s [~]# top
top - 11:30:38 up 40 min, 1 user, load average: 3.06, 2.49, 4.66
Mem: 8168788k total, 2889596k used, 5279192k free, 47792k buffers
Swap: 2031608k total, 0k used, 2031608k free, 1464780k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
15523 mazikaco 16 0 226m 23m 16m S 24.1 0.3 0:08.74 php5
15547 mazikaco 15 0 226m 24m 17m S 17.5 0.3 0:13.74 php5
15516 mazikaco 16 0 226m 27m 20m S 15.9 0.3 0:11.29 php5
15546 mazikaco 16 0 225m 21m 14m S 15.5 0.3 0:09.73 php5
15548 mazikaco 16 0 225m 21m 14m S 13.9 0.3 0:09.40 php5
15522 mazikaco 16 0 226m 23m 16m S 13.5 0.3 0:15.26 php5
2928 mysql 15 0 731m 110m 4112 S 10.6 1.4 3:27.59 mysqld
15517 mazikaco 16 0 225m 26m 19m S 10.2 0.3 0:13.07 php5
15881 mazikaco 15 0 225m 20m 13m S 5.0 0.3 0:01.97 php5
4008 root 15 0 27600 7852 604 S 1.3 0.1 0:43.87 lighttpd
12374 nobody 16 0 71956 6300 2016 S 1.3 0.1 0:01.48 httpd
9565 nobody 15 0 72068 6376 2012 S 1.0 0.1 0:02.74 httpd
12391 nobody 15 0 72008 6324 2016 S 1.0 0.1 0:01.73 httpd
13926 nobody 15 0 71912 6240 2016 S 1.0 0.1 0:00.69 httpd
14368 nobody 15 0 71972 6184 2012 S 1.0 0.1 0:00.82 httpd
15052 nobody 15 0 71912 6204 2008 S 1.0 0.1 0:00.37 httpd
15474 nobody 15 0 71980 6272 2008 S 1.0 0.1 0:00.14 httpd


i have 4 cpus in my server, and i have read before that when the number found in the 15 minutes period exceeds the total number of cpus so there is a load on the server ..

Note that i have daily more than 450,000 visits and this top result was taken with almost 10,000 visits ,,..

AND when the site accepts the 450,000 visits the connection is interrupted and my apache becomes down foer a short time so what is the soln of that load and is the httpd.conf configuration can play a role here , if so please tell me the best?

############
http.conf

timeout 60

and all of these (MinSpareServers,MaxSpareServers,StartServers,MaxClients,MaxRequestsPerChild,KeepAlive,KeepAliveTime out,MaxKeepAliveRequests) parameters are not foundin my httpd.conf, so is that normal ??
############
my.cnf

interactive_timeout=10
wait_timeout=20
connect_timeout=10
max_user_connections=10
max_connections=500
###########

Thanks for all,...and waiting your help ..
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

load average

we have an unix system which has load average normally about 20. but while i am running a particular unix batch which performs heavy operations on filesystem and database average load reduces to 15. how can we explain this situation? while running that batch idle cpu time is about %60-65... (0 Replies)
Discussion started by: gfhgfnhhn
0 Replies

2. UNIX for Dummies Questions & Answers

Load Average

Hello all, I have a question about load averages. I've read the man pages for the uptime and w command for two or three different flavors of Unix (Red Hat, Tru64, Solaris). All of them agree that in the output of the 2 aforementioned commands, you are given the load average for the box, but... (3 Replies)
Discussion started by: Heathe_Kyle
3 Replies

3. Shell Programming and Scripting

Determening load average.

Hi, I'm new to shell scripting. I need to make a script to add on to my cronjobs. The script must get the value of load average from my server and if its greater than 10 it should stop my apache service. I cant find a way to get the value of load average in integer type to do the check. Any... (4 Replies)
Discussion started by: jibsonline
4 Replies

4. UNIX for Dummies Questions & Answers

top - Load average

Hello, Here is the output of top command. My understanding here is, the load average 0.03 in last 1 min, 0.02 is in last 5 min, 0.00 is in last 15 min. By seeing this load average, When can we say that, the system load averge is too high? When can we say that, load average is medium/low??... (8 Replies)
Discussion started by: govindts
8 Replies

5. Solaris

load average query.

Hi, i have installed solaris 10 on t-5120 sparc enterprise. I am little surprised to see load average of 2 or around on this OS. when checked with ps command following process is using highest CPU. looks like it is running for long time and does not want to stop, but I do not know... (5 Replies)
Discussion started by: upengan78
5 Replies

6. UNIX for Dummies Questions & Answers

Load Average threshold

What should be the threshold for load average of a quad core processor? What constitutes "good" and "bad" load average values? (2 Replies)
Discussion started by: proactiveaditya
2 Replies

7. UNIX for Advanced & Expert Users

Load average in UNIX

Hi , I am using 48 CPU sunOS server at my work. The application has facility to check the current load average before starting a new process to control the load. Right now it is configured as 48. So it does mean that each CPU can take maximum one proces and no processe is waiting. ... (2 Replies)
Discussion started by: kumaran_5555
2 Replies

8. Solaris

Load Average and Lwps

NPROC USERNAME SWAP RSS MEMORY TIME CPU 320 oracle 23G 22G 69% 582:55:11 85% 47 root 148M 101M 0.3% 99:29:40 0.3% 53 rafmsdb 38M 60M 0.2% 0:46:17 0.1% 1 smmsp 1296K 5440K 0.0% 0:00:08 0.0% 7 daemon ... (2 Replies)
Discussion started by: snjksh
2 Replies

9. UNIX for Dummies Questions & Answers

Help with load average?

how load average is calculated and what exactly is it difference between cpu% and load average (9 Replies)
Discussion started by: robo
9 Replies

10. HP-UX

Load average unit

Hi, On load average graph, unit is 100m, 200m, 300...800m. I don't understand what it means. Thx for helping (3 Replies)
Discussion started by: Michenux
3 Replies
apache(1M)                                                System Administration Commands                                                apache(1M)

NAME
apache - Apache hypertext transfer protocol server overview DESCRIPTION
apache consists of a main server daemon, loadable server modules, some additional support utilities, configuration files, and documenta- tion. FILES
The apache HTTPD server is integrated with Solaris. The following files specify the installation locations for apache: /etc/apache Contains server configuration files. A newly-installed server must be manually configured before use. Typically this involves copying httpd.conf-example to the httpd.conf file and making local configuration adjustments. /usr/apache/bin Contains the httpd executable as well as other utility programs. /usr/apache/htdocs Contains the Apache manual in HTML format. This documentation is accessible by way of a link on the server test page that gets installed upon fresh installation. /usr/apache/include Contains the Apache header files, which are needed for building various optional server extensions with apxs(8) /usr/apache/jserv Contains documention for the mod_jserv java servlet module. Documention can be read with a web browser using the url: file:/usr/apache/jserv/docs/index.html /usr/apache/libexec Contains loadable modules (DSOs) supplied with the server. Any modules which are added using apxs(8)are also copied into this directory. /usr/apache/man Contains man pages for the server, utility programs, and mod_perl. Add this directory to your MANPATH to read the Apache man pages. See NOTES. /usr/apache/perl5 Contains the modules and library files used by the mod_perl extension to Apache. /var/apache/cgi-bin Default location for the CGI scripts. This can be changed by altering the httpd.conf file and restarting the server. /var/apache/htdocs Default document root. This can be changed by altering the httpd.conf file and restarting the server. /var/apache/icons Icons used by the server. This normally shouldn't need to be changed. /var/apache/logs Contains server log files. The formats, names, and locations of the files in this directory can be altered by various configuration directives in the httpd.conf file. /var/apache/proxy Directory used to cache pages if the caching feature of mod_proxy is enabled in the httpd.conf file. The location of the cache can also be changed by changing the proxy configuration in the httpd.conf file. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWapchr | +-----------------------------+-----------------------------+ | |SUNWapchu | +-----------------------------+-----------------------------+ | |SUNWapchd | +-----------------------------+-----------------------------+ SEE ALSO
attributes(5) http://www.apache.org NOTES
In addition to the documentation and man pages included with Solaris, more information is available at http://www.apache.org The Apache man pages are provided with the programming modules. To view the manual pages for the Apache modules with the man command, add /usr/apache/man to the MANPATH environment variable. See man(1) for more information. Running catman(1M) on the Apache manual pages is not supported. SunOS 5.10 8 Aug 2000 apache(1M)
All times are GMT -4. The time now is 06:41 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy