[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

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

[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

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 alinachegal...@yahoo.comwrote: Hi All, Did

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

2010-02-10 Thread Arnab Ganguly
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 dev...@gmail.com wrote: What do you mean by printing Client IP? On Thu, Feb 11, 2010 at 4:13 AM, Arnab Ganguly

[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

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 sgiff...@suspectclass.comwrote: On Wed, Jan 13, 2010 at 2:08 AM, Jarrod Slick

[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

[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_confighttp://httpd.apache.org/docs/2.0/mod/mod_log_config.html enabled.Is this the correct way I am doing ? Also the cookies are coming in some

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 n.sherl...@gmail.comwrote: Timothy Martin wrote: Anyway, despite having the prefork mpm set with a limit of 6, my watchdog process (monit) will report

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 ricardoogra...@gmail.com wrote: hi, I would like to monitor the number of connections actives in web server at that moment. How do I get

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] Apache as a Gateway

2009-06-22 Thread Arnab Ganguly
*---* *Paul Miles *Systems and Infrastructure *Fax*: + 44 (0)8701 236 087 *Web*: http://www.paymo.com [image: cid:image001.png@01C9AC66.62CC07F0] *Paymo *107 Fleet Street London, EC4A 2AB UK *From:* Arnab Ganguly [mailto:agangul...@gmail.com] *Sent:* 22 June 2009 11:19 *To:* users

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 mohitanch...@gmail.comwrote: 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

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

[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

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

2009-06-12 Thread Arnab Ganguly
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] Apache as a Gateway Hi All, This is a more generic question.Is it possible to make

[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

[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] Not able to start Apache

2009-05-28 Thread Arnab Ganguly
, Eric Covener cove...@gmail.com wrote: On Thu, May 28, 2009 at 9:25 AM, Arnab Ganguly agangul...@gmail.com 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 after reloc

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 following

[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] 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

[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] 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 wrote: Hi All, Curious to know

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

2008-11-09 Thread Arnab Ganguly
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 is done the process will be killed and a new process is going

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,

[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.

[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

[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

[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

Re: [EMAIL PROTECTED] Apache and lingering close

2008-09-10 Thread Arnab Ganguly
: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 MaxClients set to? Can you describe the pause? -- Eric Covener [EMAIL PROTECTED

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 [EMAIL PROTECTED] wrote

[EMAIL PROTECTED] Query on Apache timers

2008-09-08 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

[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] 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 enabled by default in Apache 2.2.8

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

2008-09-05 Thread Arnab Ganguly
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 understand from your explanation is even if the Client times out before

[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

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

2008-09-04 Thread Arnab Ganguly
at 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 request, in seconds. My question is my Client and Server

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 less than 25 sec) it should timeout and it can

[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

[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

Re: [EMAIL PROTECTED] too many open files

2008-08-27 Thread Arnab Ganguly
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? Kind regards Michael Arnab Ganguly wrote: Can you try

[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

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 strange

[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

[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.

[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 from

[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/ Proxy balancer://mycluster

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

[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

[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

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 get

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 mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] schreef op woensdag 21

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, I am using mod_proxy_balancer in Apache Red

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: On Wed, 14 May 2008 12:36:37 +0530 Arnab Ganguly

[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] 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.

[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] 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 it has

[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

[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

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

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
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 apache to do that. You can probably use ulimit in the script that starts apache

[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

[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

Re: [EMAIL PROTECTED] Invalid URI in request

2007-12-10 Thread Arnab Ganguly
Hi ALL, Thanks for the update, I have tried the below procedure, but it gives me Invalid method in request and not Invalid URI in request.How do I simulate the later. Thanks in advance. Regards -A On Dec 6, 2007 11:30 PM, Krist van Besien [EMAIL PROTECTED] wrote: On Dec 5, 2007 3:37 PM, Arnab

[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
9.9 | extension-method So you log should for example have read: 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

Re: [EMAIL PROTECTED] Invalid URI in request

2007-12-04 Thread Arnab Ganguly
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] *Subject:* [EMAIL PROTECTED] Invalid URI in request Hi All, I am getting lot

[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] Invalid URI in request

2007-12-04 Thread Arnab Ganguly
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:* Tuesday, December 04, 2007 5:55 PM *To:* users@httpd.apache.org; [EMAIL PROTECTED

Re: [EMAIL PROTECTED] Invalid URI in request

2007-12-04 Thread Arnab Ganguly
: -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 Just checked the error and access log, I am getting a request without any

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] 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] 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

[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 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

[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 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

[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 it

[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

[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

[EMAIL PROTECTED] File descriptors in Solaris and Apache

2007-06-10 Thread Arnab Ganguly
Hi, I have seen the apachectl script assigns the max open files of hard limit to soft limit. Now suppose if we consider the Solaris OS wihout having the library /usr/lib/extendedFILE.so.1 ,the max open files is 256 even if it is increased from /etc/system. So how does the Apache will take care

[EMAIL PROTECTED] Memory leak in Apache?

2007-06-04 Thread Arnab Ganguly
Hi All, I was referring to http://httpd.apache.org/docs/2.0/misc/perf-tuning.html and the below paragraph is a snippet from the given url I am not clear about the which memory leaks it is referring.I have highlighted that part. Related to process creation is process death induced by the

Re: [EMAIL PROTECTED] Apache Launching one more unwanted daemon

2007-06-04 Thread Arnab Ganguly
is it that you don't want more than one process? My requirement is like that Thanks -A Krist On 6/4/07, Krist van Besien [EMAIL PROTECTED] wrote: On 6/3/07, Arnab Ganguly [EMAIL PROTECTED] wrote: Hi All, I am using apache2.2 with MPM model as Worker in Solaris 5.9 .I have the following

Re: [EMAIL PROTECTED] Apache Launching one more unwanted daemon

2007-06-04 Thread Arnab Ganguly
[EMAIL PROTECTED] wrote: On 6/4/07, Arnab Ganguly [EMAIL PROTECTED] wrote: With Startservers 1 there will be two processes. A main process, and one child. IF this is what you are seeing there is nothing peculiar going on. I know there would be two process one root and other daemon.I am worried

Re: [EMAIL PROTECTED] Apache Launching one more unwanted daemon

2007-06-04 Thread Arnab Ganguly
-A On 6/4/07, Joshua Slive [EMAIL PROTECTED] wrote: On 6/4/07, Arnab Ganguly [EMAIL PROTECTED] wrote: Hi All, I am using apache2.2 with MPM model as Worker in Solaris 5.9 .I have the following configuration. StartServers 1 ServerLimit 1 MaxClient 128 MaxSpareThreads 128 MinSpareThreads 1

[EMAIL PROTECTED] Apache Launching one more unwanted daemon

2007-06-03 Thread Arnab Ganguly
Hi All, I am using apache2.2 with MPM model as Worker in Solaris 5.9 .I have the following configuration. StartServers 1 ServerLimit 1 MaxClient 128 MaxSpareThreads 128 MinSpareThreads 1 ThreadsPerChild 128 MaxRequestPerChild 0 My requirement is to handle all the request by single process and

[EMAIL PROTECTED] Tomcat not listening

2007-05-17 Thread Arnab Ganguly
Hi , I very new to Tomact.When I bring up the process the Tomcat comes up properly but it doesn't listen on the ports mentioned in server.xml. I am not able to figure it outThanks in advance. Regards -A

Re: [EMAIL PROTECTED] Apache 2.0.50 stopped logging

2007-05-17 Thread Arnab Ganguly
Hi, you can do df -k on the logs dir where Apache was writingI guess the disk usage was full for that particular dir...Next time when you get into similar issue it is worth to check this. Thanks -A On 5/14/07, Lentes, Bernd [EMAIL PROTECTED] wrote: hello ML, i have an apche 2.0.50

Re: [EMAIL PROTECTED] Memory usage in Apache

2007-05-11 Thread Arnab Ganguly
and mod_authz_host module.Does this have any impact one the above behaviors? Thanks in advance. Regards -A On 5/11/07, Joshua Slive [EMAIL PROTECTED] wrote: On 5/11/07, Arnab Ganguly [EMAIL PROTECTED] wrote: Hi, How is the memory handled in Apache.I see the daemon process launched by Apache, as it runs

  1   2   >