Need information about Apache and Module development.

2011-03-30 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

Need information about Apache module development.

2011-03-29 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: Catching apache restart signal

2009-01-29 Thread Arnab Ganguly
Apache restart means,child process are killed by the process.So you have to write a program perhaps apache module would be the best.Catch the required signal and do the job.The module can be loaded from the httpd.conf. Writing a application putting it under usr/bin and putting the path in

Re: Catching apache restart signal

2009-01-29 Thread Arnab Ganguly
surely.That would be the best. -A On Thu, Jan 29, 2009 at 3:27 PM, Paras Fadte plf...@gmail.com wrote: Can APR be used ? On Thu, Jan 29, 2009 at 2:40 PM, Arnab Ganguly agangul...@gmail.com wrote: Apache restart means,child process are killed by the process.So you have to write

Query on ap_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: Apache and CLOSE_WAIT state

2008-09-04 Thread Arnab Ganguly
to closed.But seems to be not happening or may be I am doing something silly. How do I make sure the sockets are being closed once the client disconnects. Thanks in advance. Arnab On Wed, Sep 3, 2008 at 10:03 PM, Peter A. Friend [EMAIL PROTECTED] wrote: Arnab Ganguly wrote: Hi All, My Apache

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

Issues with my Apache

2008-08-26 Thread Arnab Ganguly
Hi All, I am getting an 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

TCP/IP handshake issue

2008-08-12 Thread Arnab Ganguly
Hi All, I am getting a TCP/IP handshake issue.I have a server component (In Linux) which acts as a router and it is an apache module.What ever data it receives it just passes to client like component (Windows component). Linux component listens to a particular port.Windows component does the

Seems to be apache hanging, any idea on this

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

help on the signal handler off topic

2008-06-02 Thread Arnab Ganguly
Hi All, I have printf statement inside the infinite while loop.I want to write a alarm such that once the timer expires, it goes to the signal handler registered function and again it should come back to the while loop back.It seems not happening to me.Any help would be appreciated. Thanks Arnab

Apache log procedure

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: Query on deletion of Request pool

2008-03-31 Thread Arnab Ganguly
Hi All, Thanks a lot for such a detailed help.It simple awesome!.Will update you about the behavior once I do the testing. Regards -A On Sat, Mar 29, 2008 at 10:53 AM, Chris Kukuchka [EMAIL PROTECTED] wrote: From: Arnab Ganguly [EMAIL PROTECTED] It up to the OS to mark the freed areas

Re: Query on deletion of Request pool

2008-03-27 Thread Arnab Ganguly
It sounds like you're tracking the wrong numbers if memory isn't free when the application terminates. Not clear to me.Can you please add some more lights to it. Thanks A On Thu, Mar 27, 2008 at 7:54 PM, Eric Covener [EMAIL PROTECTED] wrote: On Wed, Mar 26, 2008 at 10:51 PM, Arnab Ganguly

Query on deletion of Request pool

2008-03-26 Thread Arnab Ganguly
Hi All, I am getting a serious memory issue with my Apache webserver. Initially I was allocating buffer from by using apr_palloc from the request pool assuming the allocated memory is going to be released but not sure what is the problem the memory grows infinitely. I then tried with own malloc

Need help on memory related issues

2008-03-19 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

Re: Need help on memory related issues

2008-03-16 Thread Arnab Ganguly
and server status pages show idle worker is 0.Let me know on this. Regards -A On Sat, Mar 15, 2008 at 1:04 AM, Eric Covener [EMAIL PROTECTED] wrote: On Thu, Mar 13, 2008 at 9:15 PM, Arnab Ganguly [EMAIL PROTECTED] wrote: For each request there is a substantial increase in RSS value

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

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-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:* [EMAIL PROTECTED]; dev@httpd.apache.org *Subject:* [EMAIL PROTECTED] Invalid URI in request Hi All, I am getting lot

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: Segmentation fault( SSL enable Apache 2.2.6(64 bit)

2007-10-26 Thread Arnab Ganguly
Try loading only the required modules.Are you aware of the content length of your request, like if it the contents are dynamic keep the KeepAlive Off in your conf file. Thanks -A On 10/26/07, Renu Tiwari [EMAIL PROTECTED] wrote: Hi, From googling I got the solution to delete -O (caps o) from