code coverage using gcov

2010-09-06 Thread Paras Fadte
Hi, Trying to run gcov for all the compiled in modules in apache shows "stamp mismatch with graph file" . Has anyone come across this issue? Is this a known issue ? How can one get around this issue ? *Note*: Apache was started as ./httpd -X and then stopped as ./apachectl stop after making few

P3P policy for each virtual host

2009-05-14 Thread Paras Fadte
Hi, Is it possible to set different P3P policy for each of the virtual hosts defined in Apache ? Thank you. -Paras

Re: Using gzip and CustomLog

2009-02-13 Thread Paras Fadte
Did anybody had a chance to look at the attached rotatelogs file? On Tue, Feb 10, 2009 at 2:32 PM, Paras Fadte wrote: > Hi Rainer, > > I have attached the modified "rotatelogs.c" file (originally taken > from apache 2.0.55 ) . Can you please have a look at it and let me &

Re: Using gzip and CustomLog

2009-02-10 Thread Paras Fadte
Hi Rainer, I have attached the modified "rotatelogs.c" file (originally taken from apache 2.0.55 ) . Can you please have a look at it and let me know its shortcomings and chances that it could seg fault ? Thanks in advance. -Paras On Tue, Feb 10, 2009 at 1:37 PM, Paras Fadte wrote

Re: Using gzip and CustomLog

2009-02-10 Thread Paras Fadte
Thanks Rainer. On Sun, Feb 8, 2009 at 8:50 PM, Rainer Jung wrote: > On 28.01.2009 06:50, Paras Fadte wrote: >> >> I have somewhat modified the rotatlogs utility to support compression >> . Although it creates files in compressed format (.gz) and rotates >> them p

Re: Using gzip and CustomLog

2009-01-30 Thread Paras Fadte
Hi Rainer, Can you please help me out with this ? I am using the rotatelogs utility from apache 2.0.55 Thanks. -Paras On Wed, Jan 28, 2009 at 11:20 AM, Paras Fadte wrote: > Hi , > > I have somewhat modified the rotatlogs utility to support compression > . Although it crea

Re: Catching apache restart signal

2009-01-30 Thread Paras Fadte
which apr function will return me the appropriate signal that is given to httpd? On Thu, Jan 29, 2009 at 3:31 PM, Arnab Ganguly wrote: > surely.That would be the best. > -A > > On Thu, Jan 29, 2009 at 3:27 PM, Paras Fadte wrote: >> >> Can APR be used ? >> >

Re: Catching apache restart signal

2009-01-29 Thread Paras Fadte
ttpd.conf. > > Writing a application putting it under usr/bin and putting the path in > httpd.conf can also make you achieve this. > Thanks > -A > > On Thu, Jan 29, 2009 at 1:13 PM, Paras Fadte wrote: >> >> Hi, >> >> How can one catch a signal indicating

Catching apache restart signal

2009-01-28 Thread Paras Fadte
Hi, How can one catch a signal indicating apache restart in an external program specified in httpd.conf file . Example would be rotatelogs utility or some other utility to which logs are piped . Thank you . -Paras

Re: Using gzip and CustomLog

2009-01-28 Thread Paras Fadte
Hi, Anybody who can respond to my query ? Thanks. -Paras On Wed, Jan 28, 2009 at 11:20 AM, Paras Fadte wrote: > Hi , > > I have somewhat modified the rotatlogs utility to support compression > . Although it creates files in compressed format (.gz) and rotates > them properly t

Profiling Apache

2009-01-27 Thread Paras Fadte
Hi, Which tool is the most suitable for profiling Apache ? gprof ? Oprofile ? -Paras

Re: Using gzip and CustomLog

2009-01-27 Thread Paras Fadte
em to get closed . Is there a way to rectify this ? For compression I am using zlib . Please help and thanks in advance. -Paras On Fri, Jan 23, 2009 at 1:41 PM, Paras Fadte wrote: > Thanks Rainer, > > yeah.. me not a pro at development . > > On Fri, Jan 23, 2009 at 1:30 PM, Raine

Re: Using gzip and CustomLog

2009-01-23 Thread Paras Fadte
Thanks Rainer, yeah.. me not a pro at development . On Fri, Jan 23, 2009 at 1:30 PM, Rainer Jung wrote: > On 23.01.2009 08:45, Paras Fadte wrote: >> >> Can you please tell me in which file ? > > I assume you are building rotatelogs from within the httpd sources. > &

Re: Using gzip and CustomLog

2009-01-22 Thread Paras Fadte
Can you please tell me in which file ? On Fri, Jan 23, 2009 at 1:09 PM, Rainer Jung wrote: > On 23.01.2009 07:55, Paras Fadte wrote: >> >> Hi, >> >> I get following error when I try to use "compress" function of zlib in >> "rotatelogs.c" . I

Re: Using gzip and CustomLog

2009-01-22 Thread Paras Fadte
s it linking error ? where should I make the changes to eliminate this error? Thank you. -Paras On Thu, Jan 22, 2009 at 3:08 PM, Rainer Jung wrote: > On 22.01.2009 08:38, Paras Fadte wrote: >> >> Can anyone respond to this query of mine? > > I don't have a very nice so

Re: Using gzip and CustomLog

2009-01-21 Thread Paras Fadte
Can anyone respond to this query of mine? On Wed, Jan 21, 2009 at 8:15 PM, Paras Fadte wrote: > Thanks for the response. > > Noticed that graceful apache restart tends to flush the buffer to log > when gzip is used . Can you please shed some light on combining/using > gzip and rot

Re: Using gzip and CustomLog

2009-01-21 Thread Paras Fadte
7;ll see data arriving. > > Regards, > > Rainer > >> On Wed, Jan 21, 2009 at 4:27 PM, Rainer Jung >> wrote: >>> >>> On 21.01.2009 07:09, Paras Fadte wrote: >>>> >>>> Hi , >>>> >>>> Does something like

Re: Using gzip and CustomLog

2009-01-21 Thread Paras Fadte
I tried this and It creates "mydomain.com-access_log.gz" but doesn't seem to update it. On Wed, Jan 21, 2009 at 4:27 PM, Rainer Jung wrote: > On 21.01.2009 07:09, Paras Fadte wrote: >> >> Hi , >> >> Does something like following work in Apach

Re: Using gzip and CustomLog

2009-01-21 Thread Paras Fadte
OS used is SUSE LINUX 10.1 (X86-64) On Wed, Jan 21, 2009 at 4:42 PM, Paras Fadte wrote: > Hi, > > Thanks for the response , I will try that . What I would like to know > is whether one can combine the gzip usage with rotatelogs utility so > that as the logs are written in gzipp

Re: Using gzip and CustomLog

2009-01-21 Thread Paras Fadte
at 4:27 PM, Rainer Jung wrote: > On 21.01.2009 07:09, Paras Fadte wrote: >> >> Hi , >> >> Does something like following work in Apache/2.0.55 ? >> >> CustomLog "|/bin/gzip -c >>>> >>>> /home/mydir/apache/logs/mydomain.com-access_

Using gzip and CustomLog

2009-01-20 Thread Paras Fadte
Hi , Does something like following work in Apache/2.0.55 ? CustomLog "|/bin/gzip -c >>/home/mydir/apache/logs/mydomain.com-access_log.gz" combined In errorlog it says : piped log program '/bin/gzip -c >>/home/mydir/apache/logs/mydomain.com-access_log.gz' failed unexpectedly gzip: >>/home/mydi

Re: Profiling apache 2.0.55 using Gprof

2008-07-24 Thread Paras Fadte
Hi, Has anyone tried this "http://sam.zoy.org/writings/programming/gprof.html"; ? -Paras On Thu, Jul 24, 2008 at 12:01 AM, Paras Fadte <[EMAIL PROTECTED]> wrote: > Hi, > > I have been trying to profile apache 2.0.55 using Gprof by compiling > it with "-g -

Profiling apache 2.0.55 using Gprof

2008-07-23 Thread Paras Fadte
Hi, I have been trying to profile apache 2.0.55 using Gprof by compiling it with "-g -pg" option.The mpm used is worker. MaxRequestsPerChild is changed to 1 in httpd.conf and I Start apache with "httpd -X" option and make a single and then stop it.The gmon.out file produced does show some details