[users@httpd] Dynamic load balancing and Rules based processing.

2011-03-29 Thread Arnab Ganguly
Hi All, What are the approaches need to be taken for dynamic load balancing.Like suppose I have 3 instances of Apache is running and due to some issue one of the instance goes down.I would expect the traffic should be balanced properly by the existing 2 instances. For load balancing apart from mod

Re: [users@httpd] Need information about using Apache....

2011-03-25 Thread Arnab Ganguly
Can I use Apache instead of Drools? Like as a rules execution engine that is able to accept the request, evaluate a set of ops defined rules and execute various responses. Mod_proxy and mod_proxybalancer does the load balancing.Is there anything can be done where each instance can hve own functio

[users@httpd] Need information about using Apache....

2011-03-24 Thread Arnab Ganguly
Dear All, We are planning for an enhancement of our servers.We are looking out if we write Apache module and use Apache to support the below requirements. We would like to use Apache as a routing layer that accepts both structured documents (XML docs) also some other predefined data blocks in a

Re: [us...@httpd] high load apache mpm configuration

2010-03-29 Thread Arnab Ganguly
Hi Alin, User worker model.It will give you the privilege of both threads and process.Tweak around the params MaxChildProcess,MaxThreads and MinThreadsand may be MaxMemFree for memory usage. Thanks, -A On Tue, Mar 30, 2010 at 1:32 AM, alin vasile wrote: > Hi All, > >Did anyone configured an a

Re: [us...@httpd] using mod_custom_header module.

2010-02-10 Thread Arnab Ganguly
aler.So we would like to get that particular ip address.So wondering if we can use mod_custom_header module in this case? Thanks in advance. -A. On Thu, Feb 11, 2010 at 3:14 AM, Devraj Mukherjee wrote: > What do you mean by printing Client IP? > > On Thu, Feb 11, 2010 at 4:13 AM, Arn

[us...@httpd] using mod_custom_header module.

2010-02-10 Thread Arnab Ganguly
Hi All, Please guide me in printing the Client ip address using mod_custom_header module ?Any standard LogFromat configuration do we have for this ? Also would like to know about the directive "X-LB-CLIENT-IP" and what way it is different from "X-Forwarded-For"? Thanks in advance. -A

Re: [us...@httpd] getting client ip address information from http request.

2010-02-05 Thread Arnab Ganguly
> On Fri, Feb 5, 2010 at 8:13 AM, Arnab Ganguly > wrote: > > Hi All, > > How do I retrieve client ip information from the http request in Apache > > module ? Like the loadbalancer is putting it own ip in the place of > client > > ip address. We tried %{X-Forwa

[us...@httpd] getting client ip address information from http request.

2010-02-05 Thread Arnab Ganguly
Hi All, How do I retrieve client ip information from the http request in Apache module ? Like the loadbalancer is putting it own ip in the place of client ip address. We tried %{X-Forwarded-For} but this takes care of access log not the module specific log. So from the request is there any functio

Re: [us...@httpd] Apache vs LiteSpeed

2010-01-14 Thread Arnab Ganguly
Basic query, is LiteSpeed an open source ? Can we write our own plugins equivalent to Apache modules which will talk to LiteSpeed ? Thanks in advance. -A On Fri, Jan 15, 2010 at 10:56 AM, Scott Gifford wrote: > On Wed, Jan 13, 2010 at 2:08 AM, Jarrod Slick wrote: > >> >> On Jan 13, 2010, at 12:47

[us...@httpd] Help on KeepAlive

2009-10-22 Thread Arnab Ganguly
Hi All, One help is regarding KeepAlive directive. I am using Apache as a pipe.It gets client request and just forwards the same request to another module. We use Apache 2.2 Worker Model in Linux.These client request traffic is high and data is dynamic (content length is dynamic). We have made K

[us...@httpd] Info request on cookies

2009-10-15 Thread Arnab Ganguly
Hi All, How do I print cookie information in apache access log. I have used CookieLog directive as I don't have mod_cookies enabled but I have mod_log_config enabled.Is this the correct way I am doing ? Also the cookies are coming in some ot

Re: [us...@httpd] Re: guidance on how to track down crazy apache processes

2009-08-12 Thread Arnab Ganguly
Try using the worker model. You can limit the process with multiple threads. Thanks Arnab On Wed, Aug 12, 2009 at 2:10 PM, Nicholas Sherlock wrote: > Timothy Martin wrote: > >> Anyway, despite having the prefork mpm set with a limit of 6, my watchdog >> process (monit) will report process count s

Re: [us...@httpd] Number of connections

2009-08-05 Thread Arnab Ganguly
Use mod_status and then from the browser http://servername/server-statuswill show you the status. Thanks Arnab On Wed, Aug 5, 2009 at 5:00 PM, ricardo13 wrote: > > hi, > > I would like to monitor the number of connections actives in web server at > that moment. > How do I get ? Does mod_status p

Re: [us...@httpd] Apache as a Gateway

2009-06-22 Thread Arnab Ganguly
is probably off topic now though … > > > > Regards, > > > > Paul > > > > *---* > > *Paul Miles > *Systems and Infrastructure > > *Fax*: + 44 (0)8701 236 087 > *Web*: http://www.paymo.com > > [image: cid:image001.png@01C9AC66.62CC07F0] > &

Re: [us...@httpd] Apache as a Gateway

2009-06-22 Thread Arnab Ganguly
Hi All, How is LVS http://kb.linuxvirtualserver.org/wiki/Load_balancer compared to Pound ?Which one would be better to use? Thanks Arnab On Fri, Jun 12, 2009 at 7:43 PM, Julien Gerhards < jgerha...@r-advertising.com> wrote: > Hi ! > > > > CentOS is 100% compatible with RHL ! >

Re: [us...@httpd] Throttling in apache

2009-06-20 Thread Arnab Ganguly
Try using Apache benchmark tool. Thanks Arnab On Fri, Jun 19, 2009 at 8:05 PM, Mohit Anchlia wrote: > We are using apache 2.2.6. We have a need to write a utility that > would throttle traffic based on the element of the content. We get > data from various client application that have application

Re: [us...@httpd] MPM Default in Linux

2009-06-17 Thread Arnab Ganguly
Information's you are asking is very much there in http://httpd.apache.org/docs/2.2/mod/directives.html. Search the index you will get all the directives info and there default values. Thanks -A On Wed, Jun 17, 2009 at 9:27 PM, ricardo figueiredo < ricardoogra...@gmail.com> wrote: > Hi, > > Other

Re: [us...@httpd] Apache as a Gateway

2009-06-12 Thread Arnab Ganguly
rastructure > Fax: + 44 (0)8701 236 087 > Web: http://www.paymo.com > > Paymo > 107 Fleet Street > London, EC4A 2AB > UK > > > From: Arnab Ganguly [mailto:agangul...@gmail.com] > Sent: 12 June 2009 11:30 > To: users@httpd.apache.org > Subject: [us...@httpd] Apach

[us...@httpd] Apache as a Gateway

2009-06-12 Thread Arnab Ganguly
Hi All, This is a more generic question.Is it possible to make Apache act as a getway. At present we are using Foundry switch which nothing but acts as an VIP (Virtual IP) ,handles all the client request from the internet.It does the load balancing and internally it routes the requests to some lin

[us...@httpd] Apache worker and mod_chad and mod_security.

2009-06-04 Thread Arnab Ganguly
Hi All, Is there Apache worker have any dependecy with mod_chad and mod_security ?What are these two modules used for ?I am using Apache 2.2.9 on CentOS 5. Thanks in advance. -A

Re: [us...@httpd] Not able to start Apache

2009-05-28 Thread Arnab Ganguly
, Eric Covener wrote: > On Thu, May 28, 2009 at 9:25 AM, Arnab Ganguly > wrote: > > Hi All, > > This is related to Apache start.I have written Apache module, but not > able > > to start it.I am getting the following error as "cannot restore segment > prot

[us...@httpd] Not able to start Apache

2009-05-28 Thread Arnab Ganguly
Hi All, This is related to Apache start.I have written Apache module, but not able to start it.I am getting the following error as "*cannot restore segment prot after reloc: Permission denied*". This is not happening in all the machines this is surprising to me.Same module works perfectly in other

Re: [us...@httpd] Child PID 89 Exit Signal Segmentaiton Fault

2009-04-14 Thread Arnab Ganguly
Generate the core dump file.It will tell you the reason for segmentation fault.Refer to the Apache documentation as how it can be done. Thanks and regards Arnab On Tue, Apr 14, 2009 at 8:37 AM, Viaduct Productions < li...@viaduct-productions.com> wrote: > Hi folks. > > I have received the followi

[us...@httpd] Need help on sub url

2009-04-03 Thread Arnab Ganguly
Hi All, Need some technical inputs.I have a requirement for opening sub url from the main url, and this sub url is dynamic.Is it possible to do it by using apache webserver. >From the browser opening suburl can be done easily, but would like to do flash player where I am not able to open. Planning

Re: [us...@httpd] Apache memory hog

2009-04-03 Thread Arnab Ganguly
Did you tried with MaxRequestsPerChild and MaxMemFree directives? Thanks -A On Fri, Apr 3, 2009 at 6:56 PM, Adrian Marsh wrote: > Hi Christian, > > Do you think you could ask them to see if they resolved it? > > I had similar thoughts, so in my VMware copy I tried various things, > including work

Re: [us...@httpd] Too many open files (24) - ulimit not obeyed?

2009-02-10 Thread Arnab Ganguly
I assume you tried "ulimit -H -n 65536" in the apachectl, also echo the changed value within the script see the changes are getting affected for the current process. Next is can you see the TCP states of the socket opened, it is quite possible the sockets are opened but not closed correctly hence y

Re: [us...@httpd] Troubleshooting Apache Out of Memory Errors

2009-01-05 Thread Arnab Ganguly
Can you check the value for MaxMemFree ? thanks -A On Mon, Jan 5, 2009 at 3:27 PM, Plutocrat wrote: > Thanks for the speedy reply Sander. > > Sander Temme wrote, On Monday, January 05, 2009 02:21 PM: > > What do you mean when you say 'cli'? Are you using mod_php, or running > > it as a CGI? > >

Issue with caching in Apache

2008-12-17 Thread Arnab Ganguly
Hi All, There is an issue I am getting.We are having a cache server and the main download server.Both are using Apache webserver.When the request from the client comes and if it is for the new file ,the request gets propagated to the main download server and next time onwards the request is being s

Re: [EMAIL PROTECTED] TUX integration in Apache

2008-11-25 Thread Arnab Ganguly
Hi Sascha, Thanks a lot for the information. André: Thanks to for your prompt response and I am sorry that my mail was not clear to you. Regards Arnab On Tue, Nov 25, 2008 at 6:39 PM, Sascha Kersken <[EMAIL PROTECTED]> wrote: > André Warnier wrote: > >> Arnab Ganguly wr

[EMAIL PROTECTED] TUX integration in Apache

2008-11-25 Thread Arnab Ganguly
Hi All, Curious to know whether the TUX integration is being done with the Apache?How do I check that and what is the procedure to enable and disable? Thanks and regards Arnab

Re: [EMAIL PROTECTED] High CPU usage with MPM Worker/Event

2008-11-09 Thread Arnab Ganguly
tions), but it was only worse. > > On Thu, Nov 06, 2008 at 12:01:00PM +0530, Arnab Ganguly wrote: > > Hi, > > Can you try with Non-zero MaxRequestPerChild value.Keep a value which is > > equal to number of request are particular process you want to handle.Once > it >

Re: [EMAIL PROTECTED] High CPU usage with MPM Worker/Event

2008-11-05 Thread Arnab Ganguly
Hi, Can you try with Non-zero MaxRequestPerChild value.Keep a value which is equal to number of request are particular process you want to handle.Once it is done the process will be killed and a new process is going to be started.I guess your CPU usage should come down. Thanks -A On Thu, Nov 6, 20

[EMAIL PROTECTED] Apache on CentOS?

2008-09-24 Thread Arnab Ganguly
Hi All, Has anybody tried Apache on CentOS?Please let me know if any issues are being faced.Looks like it is very similar to Red-Hat 4.0. Thanks -A

[EMAIL PROTECTED] Responding to ping

2008-09-17 Thread Arnab Ganguly
Hi All, Is it possible that Apache server stops responding under heavy load, but it responds to ping? What would be the possible causes for this? Remote client is getting connection refused when it tries to connect.But when the I ping the server from the client box it shows the server is alive. Tha

[EMAIL PROTECTED] Help on Apache pause

2008-09-16 Thread Arnab Ganguly
Hi All, Is there anyway to check Apache closing the sockets properly? I am getting lots of CLOSE_WAIT ,SYNC_RCV and TIME_WAIT state when I do a netstat -a, and result it is Apache pauses.It waits for sometime and again it comeback for processing.I did tried changing some of the TCP stack param tcp_

[EMAIL PROTECTED] question on TIME_WAIT

2008-09-12 Thread Arnab Ganguly
Hi All, I am using Apache 2.2 MPM=worker and Red-Hat model is 3.0.Under heavy load when I do netstat -a, I see lots of socket in TIME_WAIT state.I reduced the value of net.ipv4.tcp_max_tw_buckets=100 and I saw the TIME_WAIT came down and the server was behaving correctly.But when I do dmesg I see t

Re: [EMAIL PROTECTED] Apache and lingering close

2008-09-10 Thread Arnab Ganguly
I am not using mod_cgi and mod_proxy as well, not able to identify what the real cause is .Any pointers or suggestion would be of great help. Thanks -A On Wed, Sep 10, 2008 at 8:32 PM, Eric Covener <[EMAIL PROTECTED]> wrote: > On Wed, Sep 10, 2008 at 10:29 AM, Arnab Ganguly <[EMA

Re: [EMAIL PROTECTED] Apache and lingering close

2008-09-10 Thread Arnab Ganguly
> On Wed, Sep 10, 2008 at 10:05 AM, Arnab Ganguly <[EMAIL PROTECTED]> > wrote: > > Hi All, > > I am getting lot of CLOSE_WAIT ,SYNC_RCV and TIME_WAIT state when I do a > > netstat and result it is Apache pause. > > What does server-status say? What's Max

[EMAIL PROTECTED] Apache and lingering close

2008-09-10 Thread Arnab Ganguly
Hi All, I am getting lot of CLOSE_WAIT ,SYNC_RCV and TIME_WAIT state when I do a netstat and result it is Apache pause. What would be the ideal approach to solve the issue.I am planning for explicit call of ap_lingering_close after reading the client request. Also I see a #ifdef CORE_PRIVATE unde

[EMAIL PROTECTED] Query on Apache timers

2008-09-07 Thread Arnab Ganguly
Hi All, Just wanted to know what is the value of the Timer for which Apache waits for a Client request to arrive and if doesn't then it sends back 408 back to the client ,or some request timeout responses.Do we have a configurable parameter for this? Thanks -A

Re: [EMAIL PROTECTED] About lingering_close

2008-09-07 Thread Arnab Ganguly
Is there any way to check the behavior? Thanks Arnab On Sun, Sep 7, 2008 at 6:59 PM, Eric Covener <[EMAIL PROTECTED]> wrote: > On Sun, Sep 7, 2008 at 8:56 AM, Arnab Ganguly <[EMAIL PROTECTED]> > wrote: > > Hi All, > > How do I enable lingering_close in Apache.Is it

[EMAIL PROTECTED] About lingering_close

2008-09-07 Thread Arnab Ganguly
Hi All, How do I enable lingering_close in Apache.Is it enabled by default in Apache 2.2.8 ? Is there anyway to check it. Thanks and regards Arnab

Re: [EMAIL PROTECTED] Query on access log for entry of %T

2008-09-05 Thread Arnab Ganguly
p 4, 2008 at 12:23 PM, Arnab Ganguly <[EMAIL PROTECTED]> > wrote: > > Hi All, > > Thanks for your time and paitence. > > I am not worried about the TimeOut value as I am not using mod_cgid.so. > > TimeOut isn't mod_cgid specific. > > > What I understa

[EMAIL PROTECTED] Query on KeepAlive and KeepAliveTimeOut

2008-09-04 Thread Arnab Ganguly
Hi All, If I keep KeepAlive Off then does KeepAliveTimeOut is going to be effective or functional? Thanks Arnab

Re: [EMAIL PROTECTED] Query on access log for entry of %T

2008-09-04 Thread Arnab Ganguly
Covener <[EMAIL PROTECTED]> wrote: > On Thu, Sep 4, 2008 at 10:37 AM, Arnab Ganguly <[EMAIL PROTECTED]> > wrote: > > Sorry to say that it is not clear to me. > > Suppose a client sends a request and within specific amount of time if no > > response comes (here say les

Re: [EMAIL PROTECTED] Query on access log for entry of %T

2008-09-04 Thread Arnab Ganguly
7:47 PM, Eric Covener <[EMAIL PROTECTED]> wrote: > On Thu, Sep 4, 2008 at 9:50 AM, Arnab Ganguly <[EMAIL PROTECTED]> > wrote: > > Hi All, > > I print the %T value in the access log.As per the apache docs %T implies > > the "The time taken to serve the re

[EMAIL PROTECTED] Query on access log for entry of %T

2008-09-04 Thread Arnab Ganguly
Hi All, I print the %T value in the access log.As per the apache docs %T implies the "The time taken to serve the request, in seconds". My question is my Client and Server timeout is kept for 25 seconds.I am not using *Timeout* value also and my KeepAlive is set to Off.But in the access log I do g

[EMAIL PROTECTED] Apache and CLOSE_WAIT state

2008-09-03 Thread Arnab Ganguly
Hi All, My Apache module hangs when I do a lsof -i:listening port output gives lots of CLOSE_WAIT. Initially the state comes out as ESTABLISHED but as the CLOSE_WAIT grows my server hangs. What would be procedure in order to prevent this. Apache Webserver version is 2.2.8 with MPM=worker and OS=Red

Re: [EMAIL PROTECTED] too many open files

2008-08-27 Thread Arnab Ganguly
the apachectl script I put > ulimit -n 5 > and restarted the daemon with the apachectl script. > > Nevertheless, it don't changed the behavior. The service > was running for about 7 - 8 hours and after that I error > message. > > Maybe you have another hint for me

[EMAIL PROTECTED] Issues with my Apache

2008-08-26 Thread Arnab Ganguly
Hi All, I am getting issue with my Apache webserver.My configuration is MPM=worker,Apache version 2.2.8 and Red-Hat 3.0. My observation is under heavy load it pauses for sometime and then it starts processing.During the time of pause I see requests handled by apache is being returned with 500 resp

Re: [EMAIL PROTECTED] too many open files

2008-08-25 Thread Arnab Ganguly
Can you try assigning the soft limit value to hard limit value and restart the server.You can put this in apachectl script so that it gets affected for the shell used for Apache. Thanks Arnab On Mon, Aug 25, 2008 at 6:47 PM, Michael Sutter <[EMAIL PROTECTED]>wrote: > Hello list, > > I have a stra

[EMAIL PROTECTED] Help on Apache handshake

2008-07-30 Thread Arnab Ganguly
Hi All, I am using Apache 2.2.8 with MPM=worker under Red-Hat 3.0. I am having the following issue, under heavy load I observer the access log doesn't grow at all for sometime although the incoming traffic is active. I did a tail on the access but it stopped growing then again after sometime it was

[EMAIL PROTECTED] Help on Syn flood with Apache

2008-07-23 Thread Arnab Ganguly
Hi All, I am using Apache 2.2 with mpm model as worker in RedHat 3.0. When I do a dmesg from the command prompt I get lot of the below message possible SYN flooding on port 84. Sending cookies. possible SYN flooding on port 82. Sending cookies. possible SYN flooding on port 81. Sending cookies. po

[EMAIL PROTECTED] Apache hang and kernel entropy

2008-07-08 Thread Arnab Ganguly
Hi All, Anybody faced Apache hang due to the kernel entropy issue? What was the workaround adopted for that? Thanks in advance Regards Arnab

Re: [EMAIL PROTECTED] Where can I find a binary version of Apache?

2008-07-02 Thread Arnab Ganguly
Do httpd -v from the dir where the httpd, Apache binary is located.It will tell you the binary version.Try httpd -l for seeing the modules loaded during compile time. Thanks -Arnab On 7/2/08, Tan, Liao <[EMAIL PROTECTED]> wrote: > > > Folks, > > Does anybody know where can we find a binary version

[EMAIL PROTECTED] Help on proxy balancer

2008-06-25 Thread Arnab Ganguly
Hi All, Following configuration I have kept. ProxyPass /balancer-manager ! ProxyPass / balancer://mycluster/ stickysession=BALANCEID nofailover=On ProxyPassReverse / http://10.146.175.236:81/ ProxyPassReverse / http://10.146.161.223:82/ BalancerMember htt

[EMAIL PROTECTED] Issue with the load balancer

2008-06-23 Thread Arnab Ganguly
Dear All, I am trying out the load balancing by using Apache 2.2 Worker mpm model on Red-Hat 3.0.I am using mod_proxy and mod_proxy_balancer. ProxyPass /balancer-manager ! ProxyPass / balancer://mycluster/ stickysession=BALANCEID nofailover=On ProxyPassReverse / http://10.146.175.2

Re: [EMAIL PROTECTED] RE: Apache Log File 2GB

2008-06-10 Thread Arnab Ganguly
can you check any of your process got killed and the server was restarted.Just curious if the process owner got changed in case, and the new process owner thinks the file size starts from zero.Just check it out. Thanks -A On Tue, Jun 10, 2008 at 12:11 PM, Andre Hübner <[EMAIL PROTECTED]> wrote: >

[EMAIL PROTECTED] Apache concurrency info

2008-06-05 Thread Arnab Ganguly
Hi All, How do I get the concurrency level information of the Apache.Like at any particular sec how many requests are being handled by the server.The server status page shows the Idle threads available and free.Can you help me on this.What is the additional information we can get if we enable Exten

[EMAIL PROTECTED] help needed on log entries, seems to Apache hangs

2008-06-04 Thread Arnab Ganguly
Hi All, I am using Apache 2.2 Worker in Red-Hat 3.0. Following are the behaviors observed in my access logs. 1) Sometime for a particular second there is no entry in the access log although the server was up and it was fed by HTTP request. 2) Time stamp in the access log entry sometimes come in ir

[EMAIL PROTECTED] Inputs on the apache logs

2008-05-29 Thread Arnab Ganguly
Hi All, Can you explain me in brief of how the apache logs gets written.Does it have any buffer mechanism while writing it into the file?I am sing Apache 2.2 with Worker model.When my webserver is overloaded i don't see my access logs file growing for at least 1 min and again later on it grows.Late

Re: [EMAIL PROTECTED] RE: what modules have been loaded ?

2008-05-22 Thread Arnab Ganguly
try out ./httpd -l.It gives us the compile time modules not the modules that are being loaded run time using LoadModule. Thanks and regards -A On Thu, May 22, 2008 at 7:05 PM, Heer, Joost de <[EMAIL PROTECTED]> wrote: > dave selby > > schreef op woens

Re: [EMAIL PROTECTED] what modules have been loaded ?

2008-05-22 Thread Arnab Ganguly
Try ./httpd -l.Where is the httpd is the Apache binary.It will show you the modules compiled into the server not the modules that are going to be dynamically loaded using LoadModules. Thanks -A On Thu, May 22, 2008 at 12:43 AM, dave selby <[EMAIL PROTECTED]> wrote: > Hi all, > > Is there a way to

Re: [EMAIL PROTECTED] Any Apache module load balancer with respect to time?

2008-05-19 Thread Arnab Ganguly
Thanks for all help. Regards -A 2008/5/19 Arnab Ganguly <[EMAIL PROTECTED]>: > Hi Igor, > Thanks for the information.Let me try out the stuff and will update you. > Regards > -A > > > On Sat, May 17, 2008 at 4:17 PM, Igor Galić <[EMAIL PROTECTED]> > wrote: >

Re: [EMAIL PROTECTED] Any Apache module load balancer with respect to time?

2008-05-19 Thread Arnab Ganguly
Hi Igor, Thanks for the information.Let me try out the stuff and will update you. Regards -A On Sat, May 17, 2008 at 4:17 PM, Igor Galić <[EMAIL PROTECTED]> wrote: > On Wed, 14 May 2008 12:36:37 +0530 > "Arnab Ganguly" <[EMAIL PROTECTED]> wrote: > > > Hi All,

[EMAIL PROTECTED] mod_backhand support in Apache 2.2.x ?

2008-05-14 Thread Arnab Ganguly
Hi All, Does mod_backhand module is supported in Apache 2.2.x? My configuration is Red-Hat 3.0 and Apache 2.2.6 with mpm=worker.I downloaded the mod_backhand tar from the net but getting issue with the installation and configuration.Any help on this and on the above query would be appreciated. Look

[EMAIL PROTECTED] Any Apache module load balancer with respect to time?

2008-05-14 Thread Arnab Ganguly
Hi All, I am using mod_proxy_balancer in Apache Red-Hat 3.0 and mpm=worker. Just curious is it possible to configure a time to live value so that within that particular time all the request will be routed by the load balancer to a particular server.Once it expires it switches to some other server.

[EMAIL PROTECTED] question on mod_proxy_balancer

2008-05-12 Thread Arnab Ganguly
Hi All, I am using mod_proxy_balancer in Apache Red-Hat 3.0 and mpm=worker. Just curious is it possible to configure a time to live value so that within that particular time all the request will be routed by the load balancer to a particular server.Once it expires it switches to some other server.

[EMAIL PROTECTED] request info about configuration on mod_proxy

2008-05-09 Thread Arnab Ganguly
Hi, I am going to use mod_proxy_balancer and mod_proxy.Can you share some snippets of httpd.conf file and what are things I need to take care.I want information on Request Counting Algorithm and Weighted Traffic Counting Algorithm as how these settings are going to be in the configuration file. Th

[EMAIL PROTECTED] question on log time entry in the Apache access log

2008-04-29 Thread Arnab Ganguly
Hi All, My query is , in apache access_log we get the entry of " 127.0.0.1 - frank [10/Oct/2000:13:55:36 -0700] "GET /apache_pb.gif HTTP/1.0" 200 2326" What the log document says is "10/Oct/2000:13:55:36" is the time when the request is received by Apache.So suppose the server is overloaded and i

[EMAIL PROTECTED] Test case for Apache mod_logio

2008-04-24 Thread Arnab Ganguly
Hi All, I would like to load the mod_logio in my web server.So wanted to know about any issues are going to be faced.Does Apache has any standard test cases to make ensure that the module works fine or what are the things we should target to about the behavior.I guess the mod_logio does not have go

[EMAIL PROTECTED] Printing Content-Length in Apache access_log

2008-04-22 Thread Arnab Ganguly
Hi All, How do I get the content length in the access log.Is there any configuration I need to do in the httpd.conf file? Also what is the "276" value in the line of the access log file 12.246.123.60 - - [04/Apr/2003:13:01:15 -0500] "GET /scripts/root.exe?/c+dir HTTP/1.0" 404 276 ? Thanks in adva

Re: [EMAIL PROTECTED] Apache Not Releasing Memory 2.2.0 using Moodle

2008-04-21 Thread Arnab Ganguly
Hi All, Can you tell me what is the output you get when you run the free -m command.Also when the process is idle it won't release the memory back.I guess it will be put in the Swap space of OS.top -p pid won't be coming down. Also I see from the configuration file both perfork and worker is being

Re: [EMAIL PROTECTED] mmap cache can't open foo.php - Too many open files

2008-03-27 Thread Arnab Ganguly
Increase your soft limit to the hard limit value allowed to max open files.You can use the apachectl script which internally does the same or issue the following command from the command prompt ulimit -S -n `ulimit -H -n` and then start the Apache, hopefully it will resolve the issue :) Thanks -A

Re: [EMAIL PROTECTED] Query on Maxmemfree

2008-03-24 Thread Arnab Ganguly
21, 2008 at 12:47 AM, Joshua Slive <[EMAIL PROTECTED]> wrote: > On Wed, Mar 19, 2008 at 5:11 PM, Arnab Ganguly <[EMAIL PROTECTED]> > wrote: > > Hi All, > > How do I restrain Apache process to grow to a certain limit? > > There is no function internal to apach

[EMAIL PROTECTED] Query on Maxmemfree

2008-03-19 Thread Arnab Ganguly
Hi All, How do I restrain Apache process to grow to a certain limit?And also when the process dies how do I make sure it releases the resource it had acquired.What is the impact of the parameter MaxMemFree ?Any help or suggestion would be very much appreciated. Thanks -A

[EMAIL PROTECTED] About ListenBackLog and MinspareThread

2008-03-18 Thread Arnab Ganguly
Hi All, My Apache server is heavily loaded.I am using Apache 2.2.8 on Red-Hat 3 with MPM=worker.Can I reduce the load by reducing the value of ListenBackLog? What is the impact on the webserver if I keep MinSpareThread 1? Thanks in advance. Regards -A

[EMAIL PROTECTED] Memory leak issue with ap_get_client_block()

2008-03-13 Thread Arnab Ganguly
Hi All, I am getting a memory leak issue in Apache 2.2.8 on Red-Hat 5.0. I tried out the following options 1) MaxRequestPerChild settings to non zero 2)I was allocating memory by using apr_palloc from the request pool but later I replaced to normal malloc and added a clean handler in apr_pool_

[EMAIL PROTECTED] Need help on memory related issues

2008-03-07 Thread Arnab Ganguly
Hi All, I am facing a terrible memory leak issue.I tried with setting MaxRequestPerChild to some value but even then I see a increase in memory consumption.For each request there is a substantial increase in RSS value and this memory is never returned back to RAM it seems. I was using apr_palloc t

[EMAIL PROTECTED] Compare between MPM=worker and MPM=event

2008-02-29 Thread Arnab Ganguly
Hi All, This is a request for suggestion, at present I am using MPM=wroker on Rd-Hat 5.0.In my configuration file I have kept the KeepAlive param as Off.Justwanted to know will it make it any difference if I use MPM=event. Also I wanted to know what aspects event mpm is better than worker.Lookingf

[EMAIL PROTECTED] Getting errors in MPM=event

2008-02-25 Thread Arnab Ganguly
Hi All, I am getting the following error when I start my apache with MPM=event. "[crit] (70023)This function has not been implemented on this platform: Couldn't create a Thread Safe Pollset. Is it supported on your platform?". Just to update you my kernel release is 2.4.21-47.ELhugemem and Red-hat

[EMAIL PROTECTED] Query on MaxClient and ListenBackLog

2008-01-03 Thread Arnab Ganguly
Hi All, I am using MPM= worker and Apache version is 2.2 on Red-Hat 3.0. I am getting lots of connection timeout from the client request as due the busy server.I have kept the value of MaxCLient 128 and ListenBackLog to default 511. So in order to reduce the connection timeouts which one makes mor

Re: [EMAIL PROTECTED] Invalid URI in request

2007-12-10 Thread Arnab Ganguly
> On Dec 5, 2007 3:37 PM, Arnab Ganguly <[EMAIL PROTECTED]> wrote: > > Hi All, > > Thanks for all the info.I agree there is some issue with request as HTTP > > method is missing in the request for which I get invalid URI in the > error > > log.But wanted to kno

[EMAIL PROTECTED] Analyzing access and error logs

2007-12-06 Thread Arnab Ganguly
Hi All, Is there any free tool available that analyzes Apache error and access logs? Thanks in advance. -A

Re: [EMAIL PROTECTED] Invalid URI in request

2007-12-05 Thread Arnab Ganguly
gt; 68.197.41.131 - - [04/Dec/2007:02:24:46 -0500] "GET /test-bin/test-module > HTTP/1.0" 200 1234 > > The problem is with your client. > > -ascs > > > > De : Arnab Ganguly [mailto:[EMAIL PROTECTED] > Envoyé : mardi 4 décembre 2007 15:24 > À : users@httpd

Re: [EMAIL PROTECTED] Invalid URI in request

2007-12-04 Thread Arnab Ganguly
AIL PROTECTED]> wrote: > > -Original Message- > > From: Arnab Ganguly [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, December 04, 2007 2:35 PM > > To: Rath, Krushna; users@httpd.apache.org > > Subject: Re: [EMAIL PROTECTED] Invalid URI in request > > >

Re: [EMAIL PROTECTED] Invalid URI in request

2007-12-04 Thread Arnab Ganguly
n u provide bit more info…..where r u getting "Invalid URI in > request".?in ethereal? > > Can u provide the trace and the log files? > > Regards, > > ~Krushna > -- > > *From:* Arnab Ganguly [mailto:[EMAIL PROTECTED] > *Sent

Re: [EMAIL PROTECTED] Invalid URI in request

2007-12-04 Thread Arnab Ganguly
ethereal? > > Can u provide the trace and the log files? > > Regards, > > ~Krushna > ------ > > *From:* Arnab Ganguly [mailto:[EMAIL PROTECTED] > *Sent:* Tuesday, December 04, 2007 5:55 PM > *To:* users@httpd.apache.org; [EMAIL PROTECTED] >

[EMAIL PROTECTED] Invalid URI in request

2007-12-04 Thread Arnab Ganguly
Hi All, I am getting lot of "Invalid URI in request".How to resolve this.I have checked the DocumentRoot and Directory they are all pointing to same path. Any help would be highly appreciated. Thanks and regards -A

Re: [EMAIL PROTECTED] Make apache sleep

2007-10-23 Thread Arnab Ganguly
Hi, Try setting the KeepAlive On and with high KeepAliveTimeout value.You can refer to Apache org docs for the above params. Thanks -A On 10/23/07, Jim Albert <[EMAIL PROTECTED]> wrote: > > For the purposes of testing a heavy load situation, I'd like to > configure one of my apache web servers to

Re: [EMAIL PROTECTED] make_sock: could not bind to ...

2007-10-23 Thread Arnab Ganguly
Hi, Refer to you httpd.conf file.There is one parameter named Servername.Putyour hostname or ipaddress followed by the port number where you want to listen.Like for example ServerName 10.146.146.73:80 Also there is one more param named as Listen.Put the same port value corresponding to Listen.For

Re: [EMAIL PROTECTED] Core Dumps on FreeBSD 6.1

2007-10-05 Thread Arnab Ganguly
Hi Don, I guess u have tried the CoreDumptSettings in your configuration file and tried to do gdb over the CoreDump file.You can refer to http://httpd.apache.org/dev/debugging.html under debugging the intermittent crashes.Let me know if it helped. Thanks -A On 10/5/07, Don O'Neil <[EMAIL PROTECTED

[EMAIL PROTECTED] Query on mod_fast_cgi| Loading modules not required | MaxRequestPerChild

2007-10-01 Thread Arnab Ganguly
Hi All, I have couple of basic question from my end.I am using Apache2.2 with MPM=worker and the OS is Red-hat release 3.0. 1) What is the usage of mod_fast_cgi ? 2)What is the impact on the httpd-binary if we Load mdoules which may not be relevant for a particular requirement?Like for example

[EMAIL PROTECTED] Query on Maxmemfree

2007-10-01 Thread Arnab Ganguly
Hi All, I have couple of queries on the usage of MaxMemFree param in Apache. 1) What would be the ideal value to keep it with? 2) Does it have any dependency with other parameters like ServerLimit,MaxClient etc? 3) Does the memory taken up by the Apache daemon is reduced if we keep a lower value of

[EMAIL PROTECTED] request failed: error reading the headers

2007-10-01 Thread Arnab Ganguly
Hi All, In the error logs I am getting the following statement "*request failed: error reading the headers". *How do I disable this error.Thanks in advance Regards -A* * * *

[EMAIL PROTECTED] Query on Maxmemefree

2007-09-25 Thread Arnab Ganguly
Hi All, I have couple of queries on the usage of MaxMemFree param in Apache. 1) What would be the ideal value to keep it with? 2) Does it have any dependency with other parameters like ServerLimit,MaxClient etc? 3) Does the memory taken up by the Apache daemon is reduced if we keep a lower value of

[EMAIL PROTECTED] queries on mod_fast_cig | loading not required modules | Maxrequestperchild

2007-09-20 Thread Arnab Ganguly
Hi All, I have couple of basic question from my end.I am using Apache2.2 with MPM=worker and the OS is Red-hat release 3.0. 1) What is the usage of mod_fast_cgi ? 2)What is the impact on the httpd-binary if we Load mdoules which may not be relevant for a particular requirement?Like for example

[EMAIL PROTECTED] Issues with PHP module in Windows

2007-08-10 Thread Arnab Ganguly
Hi All, I am getting the following error "Syntax on the line number and the module cannot be loaded" when I am trying to load the PHP module in Apache 2.2 on windows OS. I have tried the following option but it didn't worked.I still get the syntax error.The php dll is present in the dir but still i

[EMAIL PROTECTED] Nonexistent process in Red-hat 4.0

2007-07-05 Thread Arnab Ganguly
Hi All, I am getting a interesting problem.I have a module build on Red-hat 3.0.I am using Apache2.2 MPM model as Worker. Now I print the current process id in my logs whenever I get my any request. In 3.0 the process ids are matching with what exactly the Apache launches.But when I move to 4.0 th

[EMAIL PROTECTED] Apache Crashing with Segmentaion fault

2007-06-29 Thread Arnab Ganguly
Hi All, I am using Apache 2.2 worker model.I am getting the following errors in the error log.Please update me for the work around. [Fri Apr 27 06:37:34 2007] [error] server reached MaxClients setting, consider raising the MaxClients setting [Fri Apr 27 08:10:30 2007] [error] [client 10.146.153.1

  1   2   >