Hi,
When I run a script say yyy.pl using ab then one of the child process name is changed to that of the script.
#cat yyyp.pl
#!/opt/perl/bin/perl
sleep 20;
print "test\n";
This is just after the script is started.
# ps -ef | grep www
www 4028 4026 0
17:17:45 ? 0:00
/opt/hpw
not giving the "-k start" to mod_perl how did 5.8.0 give the
whole command line.On 11/15/05, Philippe M. Chiasson <[EMAIL PROTECTED]> wrote:
pradeep kumar wrote:> #diff src/modules/perl/modperl_config.c> src/modules/perl/modperl_config.c.org> 175c175> < modperl_config_sr
4 0 12:59:54
? 0:00
/app/apache/bin/httpd -d /app/apache -D SSL
This however is not giving me the "-k start". How can I get that.
On 11/10/05, Philippe M. Chiasson <[EMAIL PROTECTED]> wrote:
pradeep kumar wrote:> I tried to read the whole of argv and push it in> mod
an I get the rest of the
arguments.On 10/12/05, Philippe M. Chiasson <[EMAIL PROTECTED]> wrote:
pradeep kumar wrote:> Hi,>> I got the fix from http://svn.apache.org/viewcvs.cgi?view=rev&rev=291193> <
http://svn.apache.org/viewcvs.cgi?view=rev&rev=291193>. This solv
0:31 ? 00:00:00 /app/apache/bin/httpd
nobody 3637 3634 0 20:31 ? 00:00:00 /app/apache/bin/httpdnobody 3638 3634 0 20:31 ? 00:00:00 /app/apache/bin/httpdnobody 3639 3634 0 20:31 ? 00:00:00 /app/apache/bin/httpd
without the arguments passed.On 9/14/05, pradeep kumar <[EMAIL PR
SIGNED MESSAGE-Hash: SHA1Does $r->rflush(); help? Although it should do the same then seting $|to undef.TomTom Schindl wrote:> pradeep kumar wrote:>>>>Can you please elaborate on why apache filters can be an issue with the
>>>autoflush problem that I noticed ?>>
STDOUT alone ? I am
confused if this is a modperl problem or an Apache problem.On 9/12/05, pradeep kumar <[EMAIL PROTECTED]
> wrote:Hi Tom,
I am using mp2.
Thanks and Regards,
Pradeep
On 9/12/05, Tom Schindl <[EMAIL PROTECTED]> wrote:
-BEGIN PGP SIGNED MESSAGE-Hash: SHA1Wha
I am using HP-UX. There is no setproctitle on it as far as I know. Is there any other way of doing this on HP-UX.. Also I found a similar query which was reported some time back which was changing the command name dated Wed, 11 Feb 2004. This has been rectified though. But in my case the entire com
*argc = scfg->argv->nelts;
MP_TRACE_g_do(dump_argv(scfg));
return (char **)scfg->argv->elts;}
Does scfg have more than these 2 params? Is this what could be corrupting the ps output?
Thanks and Regards,
Pradeep
On 9/13/05, pradeep kumar <[EMAIL PROTECTED]> wrote:
By c
By commenting out the 2 lines
save_scalar(gv); /* local $0 */
sv_setpv_mg(GvSV(gv), directive->filename);
in modperl_cmd.c I have been able to see the proper arguments in the ps output instead of the -e which was seen before. I wasn't sure of exactly what these 2 lines are doing. I however see t
Hi Tom,
I am using mp2.
Thanks and Regards,
Pradeep
On 9/12/05, Tom Schindl <[EMAIL PROTECTED]> wrote:
-BEGIN PGP SIGNED MESSAGE-Hash: SHA1What version of mp are you using if you are running mp2 i think the
apache-filter-system is the problem.Tompradeep kumar wrote:> Hi,>> I have a pe
Hi Philppe,
I did try using mod_perl 2.0.1 and got the same "-e" in the ps output instead of
"/PATH_TO_HTTPD -d /PATH_OF_APACHE -k start".
Thanks and Regards,
Pradeep
On 9/9/05, Philippe M. Chiasson <[EMAIL PROTECTED]> wrote:
pradeep kumar wrote:> Hi Philppe,&
Hi Philppe,
I am using mp2. The version of mod_perl is 1.99_16. What is the equivalent of this patch in mp2.
Thanks and Regards,
Pradeep
On 8/30/05, Philippe M. Chiasson <[EMAIL PROTECTED]> wrote:
pradeep kumar wrote:> Hi All,>> Has anyone come across the command name changin
Hi,
I have a perl script which uses $| to set autoflush on.
Basically, it flushes after every print. This script is working fine
from the command line when run using standalone perl interpreter. But
when the same script is accessed via mod_perl/apache setup, mod_perl is
not flushing after every p
Hi All,
Has anyone come across the command name changing when the Perl
directive is introduced in the configuration file.
When,
is used then ps -ef gives the proper command name namely httpd.
When
is used(This time with a blank line) then ps -ef does not give httpd
as the command name,
the PerlIO_stderr() function which is after the
perl_alloc funtion in the stack.
Thanks and Regards,
Pradeep
On Sat, 04 Dec 2004 10:17:26 -0500, Stas Bekman <[EMAIL PROTECTED]> wrote:
> pradeep kumar wrote:
>
>
> > Hi,
> > But I have tried to reproduce the pro
don't forget to Reply-All when following up on list's discussion!
> > Thanks]
> >
> > pradeep kumar wrote:
> >
> >> Hi, By sending a "httpd -k graceful" multiple
> >> times does not
> >> reproduce the proble
Hi,
If Apache is gracefully rastarted multiplae times it dumps core. To
reproduce this problem there is a script that can be run which sends a
kill -HUP to httpd every 20 secs. The scpirt is
#!/usr/bin/sh
COUNT=1
while true
do
kill -HUP `cat "path_to_httpd.pid/httpd.pid"`
date "+DATE: %m/%d/%y
18 matches
Mail list logo