Sponsored Content
Full Discussion: Apache Tuning
Top Forums Web Development Apache Tuning Post 302343878 by Neo on Friday 14th of August 2009 02:30:26 AM
Old 08-14-2009
Here is our MPM config, FYI:

Code:
# prefork MPM
# StartServers: number of server processes to start
# MinSpareServers: minimum number of server processes which are kept spare
# MaxSpareServers: maximum number of server processes which are kept spare
# MaxClients: maximum number of server processes allowed to start
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule mpm_prefork_module>
    StartServers         64
    MinSpareServers      64
    MaxSpareServers      128
    MaxClients           256
    MaxRequestsPerChild  0
</IfModule>

# worker MPM
# StartServers: initial number of server processes to start
# MaxClients: maximum number of simultaneous client connections
# MinSpareThreads: minimum number of worker threads which are kept spare
# MaxSpareThreads: maximum number of worker threads which are kept spare
# ThreadsPerChild: constant number of worker threads in each server process
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule mpm_worker_module>
    StartServers          2
    MaxClients          256
    MinSpareThreads      25
    MaxSpareThreads      75
    ThreadsPerChild      25
    MaxRequestsPerChild   0
</IfModule>



---------- Post updated at 06:30 ---------- Previous update was at 06:00 ----------

Quote:
Originally Posted by r00t4u
My Bad i think i forgot to mention that these are all running on VMware VPS. The configuration of the VPS is done on the basis of the contract done from customer side. So, Increasing RAM would be the last option here people will think on.
Ah. Yes, upgrading memory might be too expensive on a contract VPS configuration.

Anyway, I can't help about VPS provisioning, because every time we use any type of shared-hosting configuration for this site, the performance is not acceptable.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Performance tuning.

can someone tell me a good site to go to in order to learn this. please do not recommen nay books because i dont have interest in that. if you know of any good sites with good straight forward explanation on how to split loads on machines that has excessive loading, please let me know Also,... (1 Reply)
Discussion started by: TRUEST
1 Replies

2. UNIX for Advanced & Expert Users

Tuning Apache

I have an Apache 1.3.27 on a Solaris 8 Sun box that I am trying to tweek out for max performance. The only documentation I have run accross is on apache.org. I also have the O'Reilly Apache book. Anyone have another source I can refer to? (2 Replies)
Discussion started by: edkung
2 Replies

3. UNIX for Advanced & Expert Users

SAS Tuning

Does anyone had perfomed a tuning with SAS on Solaris??? Performance is not so good and I found out that Share Memory an Semaphores are the same that initial instalation, I havent found info at internet Please help (1 Reply)
Discussion started by: alex blanco
1 Replies

4. UNIX for Advanced & Expert Users

Tuning AIX IO

Hi I am trying to investigate a disk performance issue, and we are not seem to be hitting the right direction in our analysis. This is a FC disk running on USP1000 HDS system. The application is an IO intensive application, but our opinion is that it is not performing due to perceived disk... (1 Reply)
Discussion started by: theerthan
1 Replies

5. Solaris

tuning

hw to increse nfs perfomence tuning? (4 Replies)
Discussion started by: naresh.sun
4 Replies

6. Web Development

MySQL Tuning Tools with mysqltuner.pl and tuning-primer.sh

We have been tuning MySQL lately and I ran accoss two useful tools that you might be interested in: mysqltuner.pl tuning-primer.sh Both of these scripts are quite useful for MySQL tuning. Here is some sample output of mysqltuner.pl >> MySQLTuner 0.9.8 - Major Hayden... (3 Replies)
Discussion started by: Neo
3 Replies

7. AIX

I/O tuning for oracle

is it a good practice to enable AIO (Async I/O) and mount the oracle file system with DIO with JFS2 (Direct I/O) option? please help (3 Replies)
Discussion started by: pchangba
3 Replies

8. Shell Programming and Scripting

Tuning function

This is my function in UNIX file. In this function I am -> first replacing spaces in character 19-27 with 0 -> then if it's all zeros ( 9 zeros) replace it with space The reason I have to make it to 0 first is that my requirement is that if this field is having value of 0 , replace it... (4 Replies)
Discussion started by: varunrbs
4 Replies

9. Solaris

nxge tuning

Hi all, I would like to tune the nxge card as suggested by this link, but got some confusion. Can anyone advise me ? We have SunOS hsbc02 5.10 Generic_137137-09 sun4v sparc SUNW,Netra-CP3260 Do I have to install any patches ? The tunning link Networks - Siwiki In our nxge.conf, I... (0 Replies)
Discussion started by: dehetoxic
0 Replies

10. Web Development

Apache module development on apache 2.2

Hi, I'm new to developing modules for Apache. I understand the basics now and can develop something simple which allows a 'GET' request to happen, but what I want to do is actually 'POST' information to my site. I know the basic POST Request works and I can see that it is post by looking at... (2 Replies)
Discussion started by: fishman2001
2 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 val- ues 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 document 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 service. 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 create-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.10 26 Nov 2003 mod_ipp(4)
All times are GMT -4. The time now is 06:22 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy