Sponsored Content
Operating Systems Linux Red Hat apache high cpu load on high traffic Post 302560699 by awww on Friday 30th of September 2011 03:02:21 PM
Old 09-30-2011
apache high cpu load on high traffic

i have a Intel Quad Core Xeon X3440 (4 x 2.53GHz, 8MB Cache, Hyper Threaded) with 16gig and 1tb harddrive with a 1gb port and my apache is causing my cpu to go up to 100% on all four cores heres my http.config

Code:
<IfModule prefork.c>
StartServers 10
MinSpareServers 10
MaxSpareServers 15
ServerLimit 1000
MaxClients 1000
MaxRequestsPerChild 5000
</IfModule>

<IfModule worker.c>
StartServers 35
MaxClients 200
MinSpareThreads 30
MaxSpareThreads 305 
ThreadsPerChild 255
MaxRequestsPerChild 0
</IfModule>

KeepAlive On

#
# MaxKeepAliveRequests: The maximum number of requests to allow
# during a persistent connection. Set to 0 to allow an unlimited amount.
# We recommend you leave this number high, for maximum performance.
#
MaxKeepAliveRequests 800

#
# KeepAliveTimeout: Number of seconds to wait for the next request from the
# same client on the same connection.
#
KeepAliveTimeout 2

Moderator's Comments:
Mod Comment Video tutorial on how to use code tags in The UNIX and Linux Forums.

Last edited by radoulov; 09-30-2011 at 05:04 PM..
 

10 More Discussions You Might Find Interesting

1. AIX

Application high CPU load

after a long period of running, the network application's CPU load in our syst em increase slowly, the failed at the end. we use "truss" tool to trace the process, found that it processes something like "semop" ,"semctl","thread_waitlock","kread" kernel call . The trace log file looks like the... (0 Replies)
Discussion started by: Frank2004
0 Replies

2. UNIX for Advanced & Expert Users

Sun: High kernel usage & very high load averages

Hi, I am seeing very high kernel usage and very high load averages on my system (Although we are not loading much data to our database). Here is the output of top...does anyone know what i should be looking at? Thanks, Lorraine last pid: 13144; load averages: 22.32, 19.81, 16.78 ... (4 Replies)
Discussion started by: lorrainenineill
4 Replies

3. HP-UX

HIgh Load

Hi All. In my production server the load is very high. normally it used to be less than 1,but now it is more than 5. I am new to unix all together. I want to know what is the reason behind high load. and if it is high what is the impact? (4 Replies)
Discussion started by: jyoti
4 Replies

4. Red Hat

High cpu load average

Hi Buddies, Thanx for reading my first post... After googling a lot and searching so many forums I am feeling down a bit... Please don't mind my ignorence, and my grammer ... :) My server is running RHEL 2.6.9-5.EL. The cpu load is going higher than roof, almost 100 sometimes. I am... (2 Replies)
Discussion started by: squid04
2 Replies

5. Solaris

nestat on server involved in high traffic network

Hi All My Server is doing a very intense netowrk traffic operations and the cards are under very high pressure. I need to call NETSTAT on the shell. Do you know whether this command, under high pressure, might have some impact on the server traffic or can I proceed without any problem? (2 Replies)
Discussion started by: manustone
2 Replies

6. UNIX for Advanced & Expert Users

What's a high load for my system?

I'm not sure if this belong in dummies or advanced so I made my best guess. Go easy on me if I get it wrong. I'm trying to determine what a high load for my system is. I run a php/mysql web server with a dedicated host. The host has a Intel Xeon 3110 (Dual Core) processor. Our load seems to... (5 Replies)
Discussion started by: vanguard
5 Replies

7. Shell Programming and Scripting

what would a script include to find CPU's %system time high and user time high?

Hi , I am trying to :wall: my head while scripting ..I am really new to this stuff , never did it before :( . how to find cpu's system high time and user time high in a script?? thanks , help would be appreciated ! :) (9 Replies)
Discussion started by: sushwey
9 Replies

8. Shell Programming and Scripting

Restart debian server if one specific process has more than 10 seconds have high cpu load

Hi, could someone give me an example for a debian server script? I need to check a process if the process has a high cpu load (top). If yes the whole server needs to reboot. Thats it, nothing more. ;) Hope someone could help me. Regards woisch (2 Replies)
Discussion started by: woisch
2 Replies

9. Red Hat

CPU high - apache real server OK, virtual server not

Got two RHEL servers - one real and one virtual/cloud. Both run apache web server. When traffic is applied, CPU seems to go quite high on virtual one (20%) but real is not really affected. Worry is that a further increase in traffic will see a problem. Experience of RHEL is limited. Whats... (2 Replies)
Discussion started by: psychocandy
2 Replies

10. UNIX for Dummies Questions & Answers

I have a 12 core Linux cpu but the load is really high on this box, hovering around 50.

I have a 12 core linux cpu but the load is really high on this box, hovering around 50. What configuration changes do we need to make so that system have no bottleneck. (13 Replies)
Discussion started by: Moon1234
13 Replies
mod_ipp(4)							   File Formats 							mod_ipp(4)

NAME
mod_ipp - Embedded Internet Print Protocol (IPP) listener for the Apache HTTP server SYNOPSIS
/usr/apache/libexec/mod_ipp.so DESCRIPTION
The mod_ipp module implements RFCs 2910 and 2911 to provide an IPP handling service for the Apache HTTP server. When loaded on the Apache server, mod_ipp processes all HTTP requests with MIME types of application/ipp. The mod_ipp module also processes additional configuration directives to enable or disable portions of the protocol support. Using Configuration Directives The following is a list of configuration directives that apply to the Apache IPP Listening service: o ipp-conformance (automatic|1.0|1.1) o ipp-operation (operation) (enable|disable) o enable|disable The values true, yes, on, enable are considered to be synonymous and will enable support for the named operation. All other values will disable support for the named operation. Operations The following is a list of IPP handling service operations: print-job This operation is a required IPP operation that allows client systems to submit a print job with a single docu- ment embedded in the data stream. This operation is primarily used from the IPP support Microsoft has provided for its Windows (9X/ME/NT/2K/XP). print-uri This is an optional IPP operation that allows client systems to submit a print job with a reference (URL) for a single document. This operation is currently not supported by the mod_ipp Apache Module. validate-job This is a required IPP operation that allows client systems to simulate the submission of a print job to verify that the server is capable of handling the job. This operation is supported by mod_ipp. create-job This is an optional IPP operation that allows client systems to submit a print job. The operation is used with the send-document and send-uri operations. get-jobs This is a required IPP operation that allows client systems to retrieve a list of print jobs from the print ser- vice. get-printer-attributes This is a required IPP operation that allows client systems to retrieve attributes from the print service that describes the named printer object. pause-printer This an optional IPP operation that allows client systems to stop job processing on the named print queue. resume-printer This is an optional IPP operation that allows client systems to resume job processing on the named print queue. purge-jobs This is an optional IPP operation that allows client systems to cancel all print jobs on the named print queue. send-document This is a required IPP operation that allows client systems to add documents to print jobs created with the cre- ate-job operation, but not yet submitted. send-uri This is an optional IPP operation that allows a client system to add a document reference (URI) to a print job created with the create-job operation, but not yet submitted. This operation is currently not supported by the mod_ipp Apache Module. cancel-job This is a required IPP operation that allows client systems to cancel print jobs. get-job-attributes This is a required IPP operation that allows client systems to retrieve attributes that describe a print job from the print service. hold-job This is an optional IPP operation that allows client systems to hold print jobs. release-job This is an optional IPP operation that allows client systems to release print jobs. restart-job This is an optional IPP operation that allows client systems to restart print jobs. all This is a place holder for enabling or disabling support for all IPP operations implemented by the mod_ipp Apache module. required This is a place holder for enabling or disabling support for the required IPP operations implemented by the mod_ipp Apache module. EXAMPLES
Example 1 Using a Configuration File to Start a Standalone Apache Server The following configuration file can be used to start a standalone Apache server to respond to IPP request sent to port 631. ServerType standalone ServerRoot "/usr/apache" PidFile /var/run/httpd-standalone-ipp.pid ErrorLog /var/lp/logs/ipp-errors Timeout 300 KeepAlive On MaxKeepAliveRequests 100 KeepAliveTimeout 15 MinSpareServers 1 MaxSpareServers 3 StartServers 1 MaxClients 150 MaxRequestsPerChild 0 LoadModule ipp_module libexec/mod_ipp.so ClearModuleList AddModule mod_ipp.c AddModule mod_so.c Port 631 User lp Group lp ServerAdmin lp@localhost DefaultType application/ipp <IFModule mod_app> <Location /> ipp-operation all on </Location> </IFModule mod_app> A more restrictive configuration might include the following parameters: <IFModule mod_app> <Location /> ipp-operation all offn ipp-operation required on </Location> </IFModule mod_app> ATTRIBUTES
See attributes(5) or descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWipplu | +-----------------------------+-----------------------------+ |Interface Stability |External | +-----------------------------+-----------------------------+ SEE ALSO
man(1), catman(1M), attributes(5) Herriot, R., Ed., Butler, S., Moore, P., Turner, R., Wenn, J. RFC 2910, Internet Printing Protocol/1.1: Encoding and Transport. Network Working Group. September 2000. Hastings, T., Ed., Herriot, R., deBry, R., Isaacson, S., Powell, P. RFC 2911, Internet Printing Protocol/1.1: Model and Semantics. Network Working Group. September 2000. http://www.apache.org NOTES
Configuration file directives are processed in the order listed in the config file. The default behavior is to enable support for all oper- ations implemented in the mod_ipp Apache module. Since the Apache IPP listening service implements some capabilities that are more of operator features, it may not be desirable to enable all IPP operations without requiring user authentication on the Apache listening service. The following is an example of a more reasonable configuration for Apache IPP servers without user authentication enabled: ipp-operations all disabled ipp-operations required enabled The printers and jobs available under this service can be accessed using URIs of the following form: printer: http://server[:port]/printers/{queue} ipp://server[:port]/printers/{queue} job: http://server[:port]/printers/{queue}/{job-id} ipp://server[:port]/printers/{queue}/{job-id} 631 is the default IPP port and implied when the URI scheme is ipp. However, some client implementations do not recognize the ipp URI scheme and require http://server:631/... instead. For example, Microsoft's IPP client implementation does not recognize the ipp scheme. In addition to the documentation and man pages included with Solaris, more information is available at http://www.apache.org The httpd(8) man page and other Apache man pages are provided with the programming modules. To view the Apache manual pages 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.11 26 Nov 2003 mod_ipp(4)
All times are GMT -4. The time now is 05:50 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy