[users@httpd] Need help for performance tuning in apache

2011-06-08 Thread Narendra Verma
Hi All, I am using Apache-2.2.x as load balancer and tomcat as backend server. Can you please somebody tell what are the options to boost the apache load balancer's performance? Thanks, Narendra Write to us for a Free Gold Pass to the Cloud Computing Expo, NYC t

[us...@httpd] Deciding between mod_jk, mod_proxy_http and mod_proxy_ajp

2010-07-27 Thread Narendra Verma
Below link may be helpful if anybody is trying to decide which module should be used for Httpd and Tomcat communication * mod_jk * mod_proxy_http * mod_proxy_ajp http://www.tomcatexpert.com/blog/2010/06/16/deciding-between-modjk-modproxyhttp-and-modproxyajp ___

FW: [us...@httpd] Reason of dropping connections

2009-07-28 Thread Narendra Verma
Tue, Jul 28, 2009 at 4:59 AM, Narendra Verma wrote: > WARNING: Error sending end packet > java.net.SocketException: Broken pipe > at java.net.SocketOutputStream.socketWrite0(Native Method) > at Does your Apache error log imply any crashes? -- Eric Covener cove.

RE: [us...@httpd] Reason of dropping connections

2009-07-28 Thread Narendra Verma
Tue, Jul 28, 2009 at 4:59 AM, Narendra Verma wrote: > WARNING: Error sending end packet > java.net.SocketException: Broken pipe > at java.net.SocketOutputStream.socketWrite0(Native Method) > at Does your Apache error log imply any crashes? -- Eric Covener cove.

RE: [us...@httpd] Reason of dropping connections

2009-07-28 Thread Narendra Verma
2009 2:46 PM To: users@httpd.apache.org Subject: Re: [us...@httpd] Reason of dropping connections Narendra Verma wrote: > Hi, > > I am facing one problem of dropping connections by apache load balancer. > .. maybe > > Getting error on tomcat server : > > WARNING: Error

[us...@httpd] Reason of dropping connections

2009-07-28 Thread Narendra Verma
Hi, I am facing one problem of dropping connections by apache load balancer. System environment: * Tomcat (As backend servers ) - Apache 2.2.8 load balancer (Using mod_proxy) * Apache server : Perform MPM setting StartServers 5 MinSpareServers 5 M

[us...@httpd] Thread related configuration in APACHE(2.2.8) httpd.conf

2009-05-18 Thread Narendra Verma
f properties in httpd.cof file for apache (in unix). Your answers are most well come. (Its URGENT) Thanks Narendra Verma Impetus InfoTech, Indore (M.P.) Software Engineer Follow us on Twitter- https://twitter.com/impetuscalling. Impetus is the winner of Sony E

[us...@httpd] Add new instance in apache load balancer at runtime.

2008-12-30 Thread Narendra Verma
Hi experts; A new instance can be added in apache load balancer by following configuration: ServerName impetus-887.impetus.co.in:801 BalancerMember ajp://192.168.98.62:11009 route=tomcat2 loadfactor=1 BalancerMember ajp://192.168.96.181:12009 route=tomcat1 loadfactor=

[EMAIL PROTECTED] Load balancing with Axis web app.

2008-10-13 Thread Narendra Verma
Hi, I want to load balance web services (using axis) with Apache2.2.8 /tomcat(as backend). Please can any body give the idea regarding. All comments are welcome. Thanks Narendra NOTE: This message may contain information that is confidential, proprietary,

RE: [EMAIL PROTECTED] Apache issue?

2008-05-21 Thread Narendra Verma
ng of sticky session? Thanks Narendra Impetus -Original Message- From: Eric Bowman [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 21, 2008 9:47 PM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] Apache issue? Narendra Verma wrote: > Hi, > No those are not configured for repli

RE: [EMAIL PROTECTED] Apache issue?

2008-05-21 Thread Narendra Verma
Hi, No those are not configured for replicating sessions. Thanks Narendra -Original Message- From: Eric Bowman [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 21, 2008 7:57 PM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] Apache issue? Narendra Verma wrote: > >

[EMAIL PROTECTED] Apache issue?

2008-05-21 Thread Narendra Verma
Hi all, System environment: 1. apache (as a load balancer using mode_proxy_balancer) 2. tomcat 1 3. tomcat 2 I am using sticky session = true. I am following steps: (All servers are running) 1. login in at tomcat 1 (then goes to my web app page) 2. down tomcat 1 3. again goes to 'my web

RE: [EMAIL PROTECTED] balancer-manager gui issue

2008-05-12 Thread Narendra Verma
ot until it gets a new request for the > tomcat or backend servers. > > There is no watch dog facility like those seen in hardware load > balancers in Apache. > > Cheers. > Salih > > On Thu, May 8, 2008 at 6:55 PM, Narendra Verma > <[EMAIL PROTECTED]<mai

[EMAIL PROTECTED] balancer-manager gui issue

2008-05-08 Thread Narendra Verma
Hi all; I am using Apache2.2.8 as a load balancer (using mod_proxy) and tomcat5.5 as backend servers. Now every thing is working fine but issue is in balancer-manager gui of apache. For this I configured: Location /balancer-manager> SetHandler balancer-manager Order Deny,Allow Deny fr

[EMAIL PROTECTED] RE: Is virtual host directive mandatory in apache 2.2.8

2008-05-07 Thread Narendra Verma
Hi Vinay, As per my opinion it is required. Because I have used it using Virtual host and it is working fine. Narendra -Original Message- From: Vinay Purohit [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 07, 2008 2:49 PM To: users@httpd.apache.org Subject: [EMAIL PROTECTED] Is virtual ho

RE: [EMAIL PROTECTED] Apache HTTP Server and Tomcat Together

2008-05-01 Thread Narendra Verma
Hi, There are so many good features are available in apache, those are beneficial for different aspects: 1. Load balancing: User requests are processed by more than one server with all servers sharing the load 'equally' 2. Transparent failover: User is not aware of a server crash. Transp

[EMAIL PROTECTED] VirtulHost related question

2008-05-01 Thread Narendra Verma
Using _default_ vhosts DocumentRoot /www/default ... Using such a default vhost with a wildcard port effectively prevents any request going to the main server. A default vhost never serves a request that was sent to an address/port that is used for name-based vhosts. If the requ

[EMAIL PROTECTED] giving the problem to start httpd process.

2008-04-29 Thread Narendra Verma
Hi all, My configuration like this : . ServerName impetus-887.impetus.co.in:3080 .. When I start ./apachectl start then it gives : -bash-3.00$ ./apachectl start Syntax error on line 410 of /export/home/qa_eng/Apache/install/Apache2.2.8/conf/httpd.conf: Co

RE: [EMAIL PROTECTED] Multiple processes are running when start apache2.2.8 on solaris2.9 machine

2008-04-29 Thread Narendra Verma
e Can you please specify: 1. Solaris 9 sparc or intel? 2. Which MPM do you have? Worker or Prefork? This can be obtained with apachectl -V Best From: Narendra Verma [mailto:[EMAIL PROTECTED] Sent: martes, 29 de abril de 2008 17:02 To: 'users@httpd.apache.org' Subject:

[EMAIL PROTECTED] Multiple processes are running when start apache2.2.8 on solaris2.9 machine

2008-04-29 Thread Narendra Verma
Hi all, I just installed apache2.2.8 on solaris2.9 and configured properly. But when test to apache while is it running or not. So I got its running properly but problem is it starts multiple httpd processes. This what I got basically. Can any body tell me that why it is starting multiple process

RE: [EMAIL PROTECTED] Once compiled code of apache2.2.8 on soalris machine can be reused for another solaris machine.

2008-04-27 Thread Narendra Verma
can be reused for another solaris machine. On Fri, Apr 25, 2008 at 4:01 PM, Narendra Verma <[EMAIL PROTECTED]> wrote: > Please give me idea to solve this problem. Make life easy for yourself and standardize the location of apache across all your machines. Then do the compile-make-insta

[EMAIL PROTECTED] Apache compilation issue

2008-04-27 Thread Narendra Verma
Hi all, I am compiling httpd-2.2.8 on Solaris machine with giving configure command like $ ./configure --enable-proxy --enable-proxy_ajp --enable-proxy_balancer --enable-headers --enable-cache --enable-disk_cache --enable-rewrite This command runs successfully. But problem comes when I run 'make'

[EMAIL PROTECTED] Once compiled code of apache2.2.8 on soalris machine can be reused for another solaris machine.

2008-04-25 Thread Narendra Verma
Hi all Suppose I compiled httpd2.2.8 source on one Solaris machine. That means I run following two commond ; 1. Config 2. make After this I want to use this compiled code into another machine. And want to run 'make install' command. But the problem is that if I give prefix with config like

[EMAIL PROTECTED] Error comes while running make commond to install apache2.2.8 on solaris machine

2008-04-24 Thread Narendra Verma
Hi all, I am getting the below cut and paste error when I execute the make command .I did find the make command and added its path in the .profile. Can any body help me why this error is coming ?? -bash-3.00$ make Making all in srclib Making all in apr Making all in apr-util Making all in xml/ex

RE: [EMAIL PROTECTED] Is there any precompiled version available of apache2.2.8 for UNIX

2008-04-24 Thread Narendra Verma
available of apache2.2.8 for UNIX you might want to try SUN freeware sight for compiled package From: Narendra Verma [mailto:[EMAIL PROTECTED] Sent: Thursday, April 24, 2008 10:14 AM To: 'users@httpd.apache.org' Subject: [EMAIL PROTECTED] Is

[EMAIL PROTECTED] Is there any precompiled version available of apache2.2.8 for UNIX

2008-04-24 Thread Narendra Verma
Hi all, Hi there is a source available of apache_2.2.8 for UNIX. As per my production requirement, I have to install this apache server in more Solaris machines. So problem is that I have to repeat compilation at all machines. Is there any another solution that ignores this repetition of compila

RE: [EMAIL PROTECTED] Clustering Jboss using Apache load balancer.

2008-04-24 Thread Narendra Verma
Hi, You wrote that "Initially, all the nodes seeming working well" that means your environment is working well for loadbalancing Ensure that there must be setup among jboss servers for clustering support (session replication). If yes then you have to configure like worker.loadbala

RE: [EMAIL PROTECTED] Apache dynamic page caching?

2008-04-16 Thread Narendra Verma
Hi Howard, 1. Be sure to load following module LoadModule headers_module modules/mod_headers.so 2. Add following Header directive at the last of httpd.conf file. Header add Cache-Control max-age=3600 (in seconds) Here we can decide that what is the maximum age of cached res

RE: [EMAIL PROTECTED] Apache Httpd server

2008-04-10 Thread Narendra Verma
Hi Praveena, Try to read following link. This will help you to understand load balancing with tomcat. And same concept would be applied for other servers so. http://www.theserverside.com/tt/knowledgecenter/knowledgecenter.tss?l=LoadBa lancingTomcatApache It make sense somewhat. Narendra Impet

RE: [EMAIL PROTECTED] Re: Extra trailing slash after the RewriteCond

2008-04-08 Thread Narendra Verma
RewriteRule ^(.*)$ http://www.redirectnew.com/$1 Replace it by RewriteRule ^(.*)$ http://www.redirectnew.com$1 May solve your problem. Narendra -Original Message- From: Yashesh Bhatia [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 08, 2008 6:39 PM To: users@httpd.apache.org Subject: [

RE: [EMAIL PROTECTED] Configuration problem

2008-04-07 Thread Narendra Verma
e/filename.shtml to be able to access my files. So what destination do I enter for the installation? Thanks again. _ From: Narendra Verma [mailto:[EMAIL PROTECTED] Sent: Monday, April 07, 2008 10:36 AM To: 'Evelyn Wilkerson' Subject: RE: [EMAIL PROTECTED] Configuration problem

RE: [EMAIL PROTECTED] Configuration problem

2008-04-07 Thread Narendra Verma
] Sent: Monday, April 07, 2008 9:27 PM To: users@httpd.apache.org Subject: RE: [EMAIL PROTECTED] Configuration problem Thanks for your help. I changed it to what you have below and still it is giving me the same error message. ?? _ From: Narendra Verma [mailto:[EMAIL PROTECTED] Sent

RE: [EMAIL PROTECTED] Configuration problem

2008-04-07 Thread Narendra Verma
Hi Just change your listen port in httpd.conf file Listen 1100 ServerName :1100 Narendra -Original Message- From: Evelyn Wilkerson [mailto:[EMAIL PROTECTED] Sent: Monday, April 07, 2008 7:38 PM To: users@httpd.apache.org Subject: [EMAIL PROTECTED] Configuration problem

RE: [EMAIL PROTECTED] apache remote host/ip is not logged in access log file

2008-04-04 Thread Narendra Verma
Hi; Use this LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined In place of LogFormat "%a %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %D" com

RE: [EMAIL PROTECTED] Apache installation

2008-04-04 Thread Narendra Verma
PROTECTED] Apache installation Hi, But, when I have installed and runned httpd2.0.63, I could see the home page with a feather.. And so, I am confused. I have done the configuration at default. I did not set any Prefix path for the source. 2008/4/4 Narendra Verma <[EMAIL PROTECTED]>

RE: [EMAIL PROTECTED] Apache installation

2008-04-04 Thread Narendra Verma
ena/software/httpd-2.0.63 [EMAIL PROTECTED] httpd-2.0.63]# ./configure --prefix=/home/praveena/software/src2/ [EMAIL PROTECTED] httpd-2.0.63]# make [EMAIL PROTECTED] httpd-2.0.63]# make install Finally, [EMAIL PROTECTED] /]# /home/praveena/software/src2/bin/apachectl start But I found 403 forbidden err

RE: [EMAIL PROTECTED] ld.so.1: httpd: fatal: libaprutil-0.so.0: open failed: No such file or directory Killed

2008-04-03 Thread Narendra Verma
Hi, Because libaprutil-0.so.0 is not in library path. Just set the path export LD_LIBRARY_PATH=$LD_LIBRARY_PATH: for example if your file in usr/ucb/ libaprutil-0.so.0 Then set path export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:usr/ucb Then run your server. Thank

RE: [EMAIL PROTECTED] Apache installation

2008-04-03 Thread Narendra Verma
the error On 02/04/2008, Narendra Verma <[EMAIL PROTECTED]> wrote: Hi Exactly, This is the path where you want to store your apache installation rather default location (/usr/local/apache2...) . Narendra -Original Message- From: Ch Praveena [mailto:[EMAIL PROTECTE

RE: [EMAIL PROTECTED] Apache installation

2008-04-02 Thread Narendra Verma
: Re: [EMAIL PROTECTED] Apache installation Hi, Do you mean that "/export/home/install/httpd-2.0.63", is the path where my source is about to be stored?? other than under /usr/local/apache2... On 02/04/2008, Narendra Verma <[EMAIL PROTECTED]> wrote: Hi, Suppose yo

RE: [EMAIL PROTECTED] Apache installation

2008-04-01 Thread Narendra Verma
he httpd 2.0.63 with default ./configure and then, the next httpd2.2.8 with the above command. On 02/04/2008, Narendra Verma <[EMAIL PROTECTED]> wrote: Hi, If you want so then you can make separate directory (installation root i.e 'prefix') for httpd2.0.63 and 2.2.8 but ver

RE: [EMAIL PROTECTED] Apache installation

2008-04-01 Thread Narendra Verma
installing them properly. On 02/04/2008, Narendra Verma <[EMAIL PROTECTED]> wrote: Hi, Are u using old compiled version of mod-jk(That has been compiled with httpd2.0.63) with new configured/installedS httpd2.2.8, Just try to reinstall mod-jk with your new httpd version , it may s

RE: [EMAIL PROTECTED] Apache installation

2008-04-01 Thread Narendra Verma
Hi, Are u using old compiled version of mod-jk(That has been compiled with httpd2.0.63) with new configured/installedS httpd2.2.8, Just try to reinstall mod-jk with your new httpd version , it may solve the problem. Narendra -Original Message- From: Ch Praveena [mailto:[EMAI

[EMAIL PROTECTED] How can i know :- how many requests are being served by any configured worker in loadbalancing environment (using mod_proxy_loadbalancer)

2008-03-25 Thread Narendra Verma
Hi experts, I am using mod_proxy_balancer for connecting/balancing app servers (tomcats), And I also configured '/balancer-manager' to know general information related to these workers. Now what I need that how many requests are being served currently by any tomcat that is like a balancer

[EMAIL PROTECTED] How can i bound an web application route to sepecific worker when mod_proxy_balaner is used.

2008-03-25 Thread Narendra Verma
Hi all, I have configuration like ServerName 192.168.99.29:1100 BalancerMember ajp://192.168.98.62:11009 route=tomcat2 loadfactor=1 BalancerMember ajp://192.168.96.181:12009 route=tomcat1 loadfactor=1 ProxyPass balance

RE: [EMAIL PROTECTED] How to know the status of backend server(worker) running in loadbalancing environment (With mod_proxy_loadbalancer)

2008-03-19 Thread Narendra Verma
mod_proxy_loadbalancer) On Wed, Mar 19, 2008 at 8:47 AM, Narendra Verma <[EMAIL PROTECTED]> wrote: > Hi Serge Dubrouski > > First of all thanks a lot for giving idea about it. > Can you please tell me more about that how load balancer-manager shows that > how many times this or tha

RE: [EMAIL PROTECTED] How to know the status of backend server(worker) running in loadbalancing environment (With mod_proxy_loadbalancer)

2008-03-19 Thread Narendra Verma
, Narendra Verma <[EMAIL PROTECTED]> wrote: > Thanks for replying, > I configured it earlier 'balancer-manager' > But it does not give complete info related what I want exactly. > Means I want currently which server (worker) has how much load? > > Any suggestion

RE: [EMAIL PROTECTED] How to know the status of backend server(worker) running in loadbalancing environment (With mod_proxy_loadbalancer)

2008-03-19 Thread Narendra Verma
lto:[EMAIL PROTECTED] Sent: Wednesday, March 19, 2008 6:25 PM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] How to know the status of backend server(worker) running in loadbalancing environment (With mod_proxy_loadbalancer) On Wed, Mar 19, 2008 at 1:26 AM, Narendra Verma <[EMAIL PROT

[EMAIL PROTECTED] How to know the status of backend server(worker) running in loadbalancing environment (With mod_proxy_loadbalancer)

2008-03-19 Thread Narendra Verma
Hi experts, I setup my environment like this : tomcat1 Client-- apache--

RE: [EMAIL PROTECTED] [warn] worker http://some_ip:port/context already used by another worker ?

2008-03-17 Thread Narendra Verma
://some_ip:port/context already used by another worker ? Then why the warning when I don't have the trailing /? Thanks, ~Jet -Original Message- From: Narendra Verma [mailto:[EMAIL PROTECTED] Sent: Monday, March 17, 2008 10:22 AM To: users@httpd.apache.org Subject: RE: [EMAIL PROTECTED] [warn] w

RE: [EMAIL PROTECTED] [warn] worker http://some_ip:port/context already used by another worker ?

2008-03-17 Thread Narendra Verma
Hi, I think no need to add trailing slash here, You can configure server itself to add this trailing slash. For example if you configured it as ProxyPassReverse /saleslead/ http://172.17.52.28:8091/saleslead/ Then your request on browser must be ../saleslead/ like that If I replace it by ..

RE: [EMAIL PROTECTED] how to print the list of installed modules?

2008-03-17 Thread Narendra Verma
Try this one instead of previous one You can also use : Apache/bin$./httpd -l Apache/bin$./httpd -M (static/dynamic) -Original Message- From: Narendra Verma [mailto:[EMAIL PROTECTED] Sent: Monday, March 17, 2008 7:32 PM To: users@httpd.apache.org Subject: RE

RE: [EMAIL PROTECTED] Load Balancing

2008-03-17 Thread Narendra Verma
In short All requests then go to app2. Narendra -Original Message- From: Sander Temme [mailto:[EMAIL PROTECTED] Sent: Monday, March 17, 2008 7:30 PM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] Load Balancing On Mar 17, 2008, at 3:45 AM, Krist van Besien wrote: > What

RE: [EMAIL PROTECTED] how to print the list of installed modules?

2008-03-17 Thread Narendra Verma
Hi, You can also use : $httpd.exe -l $httpd.exe -M (for DSO ) -Original Message- From: Alvaro Linares [mailto:[EMAIL PROTECTED] Sent: Monday, March 17, 2008 7:03 PM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] how to print the list of installed modules?

RE: [EMAIL PROTECTED] Load Balancing

2008-03-17 Thread Narendra Verma
Hi Krist; There are two different options are available 1. Non clustered environment. (With sticky session on) In this type of configuration if any one application server would be down/failed then all sessions are created by this server would be destroyed. And all new coming requests would auto

RE: [EMAIL PROTECTED] Issue with mod_proxy when using Proxy balancer

2008-03-14 Thread Narendra Verma
HI Ya this problem comes when we use mod_proxy_http instead we should use mod_proxy_ajp module. How to : This is your previous configuration BalancerMember http://10.25.9.192:10010 route=route1 BalancerMember http://10.25.9.193:10010 <

RE: [EMAIL PROTECTED] Apache 2.2 Loadbalancing/session stickiness for BEA WL 8.1

2008-03-12 Thread Narendra Verma
Hi, I had the same problem in my environment. But I was using tomcat instead of web logic. What is your JSESSIONID value? It may be like: 1. for example 423423434134 2. . for example 423423434134.weblogic1 Can you please confirm me from logs which option as above r u getting from Cookies

RE: [EMAIL PROTECTED] RewriteRule help

2008-03-01 Thread Narendra Verma
Hi, This following example may help ... Example: Here I am mapping for http to https. You can use accordingly... Rewrite URL http://www.foobar.com/abc to the URL https://www.foobar.com/abc RewriteEngine on RewriteRule ^/abc/(.*)$ https://%{SERVER_NAME}/abc/$1 [R,L] Thanks Narendra ---

[EMAIL PROTECTED] Cofiguration of mod_ssl of Apache2.2.8(using with mod_proxy).

2008-02-29 Thread Narendra Verma
Hi all, I am using apache2.2.8 and mod_proxy for connecting tomcat5.5. Here I am able to connect by 'http' protocol. And its working fine. Now I need to send request by 'https' protocol, related to mod_ssl. Can anybody help me for configuration of [Apache2.2.8+mod_proxy+mod_ssl+tomcat5.5]

RE: [EMAIL PROTECTED] Server hanging with requests in "W" state

2008-02-26 Thread Narendra Verma
Hi, Thanks for replying to me. As you told about time out I configured it as follows: worker.worker1.socket_keepalive=1 worker.worker1.socket_timeout=300 Like this, But still my problem is not solved. What I require specially: Apache --- mod_jk connector ---tomcat Caching by mod_disk_cache a

RE: [EMAIL PROTECTED] Server hanging with requests in "W" state

2008-02-26 Thread Narendra Verma
Thanks for replying to me. But I am not much aware about apache. I started it just before sometime ago. So please can you confirm it how can I do following:- Apache --- mod_jk connector ---tomcat Caching by mod_disk_cache and mod_cache Now if I changed any static file at tomcat(that is already ca