Mark Maunder | 1 Mar 2004 01:17

Re: [OT] Forcing httpd's to not swap out of memory

Thanks. I think the idea of sending a useless signal is the best so far.
I'm also going to upgrade my kernel and see if I can get more meaningful
output from ps.

btw, is anyone using the 2.6 kernel on live servers yet?

On Sun, 2004-02-29 at 12:50, Render Web wrote:
> Mark Maunder wrote:
> > I've considered it, but I have a few other processes that I'd like to
> > swap out when they're inactive to increase disk cache etc. btw, I've
> > managed to lock mysql into memory on the server using the memlock config
> > option which uses mlockall. I've googled myself to death but can't find
> > anything about mlock and apache.
> 
> altavista gave me this
> 
> http://www.itworld.com/nl/lnx_tip/05182001/
> 
> I have not tried it but one trick would be to create
> a process that locks memeory then execs apache into the alloced
> memory space. Somehow I hope/doubt this would not work but i
> may be worth a try as a "workaround" :-)
> 
> A quick grep of the most recent (cvs update as of 29/feb 12:43)
> apache2/mp2 source shows no ocurrences of 'mlock'.
> 
> Note that it should not be too difficult to add however
> it would make more sense to upgrade apache to a RT process
> if this is your objective.
> 
(Continue reading)

Ged Haywood | 1 Mar 2004 10:14
Picon
Favicon

Re: [OT] Forcing httpd's to not swap out of memory

Hi there,

On Mon, 1 Mar 2004, Mark Maunder wrote:

> is anyone using the 2.6 kernel on live servers yet?

Nearly did it, then I ran into problems with a VPN which only happen
with the 2.6 kernel.  Given the networking nature of the problems I
thought better of it.  This was with 2.6.x where x <= 1 so YMMV.

73,
Ged.

--

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

ali khan | 1 Mar 2004 12:01
Picon
Favicon

POST method - help

Could anyone please tell me why a POST method request not work on mod_perl 1.99.24  using the lastest version of CGI.pm.

Also could someone please tell me the latest status of the mod_perl 2 module which allows processing of POST requests

is it something like:   Apache::Request, but I'm rusty.

ali khan

Do you Yahoo!?
Get better spam protection with Yahoo! Mail
Stas Bekman | 1 Mar 2004 19:08

Re: POST method - help

ali khan wrote:
> Could anyone please tell me why a POST method request not work on mod_perl
> 1.99.24  using the lastest version of CGI.pm.

Ali, mod_perl 1.99.24 doesn't exist. Please take a look 
http://perl.apache.org/bugs/ to learn how we expect you to send us bug reports.

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas <at> stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

--

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Enrico Sorcinelli | 1 Mar 2004 20:25
Picon

[OT] Italian Perl Workshop - Call for Papers / Participation

Hi all,

Italian Perl Mongers and the Pisa.pm group are proud to announce the First
Italian Perl Workshop.

The Workshop is aimed at Perl users, professionals and hobbyists alike, to
aid in the exchange of information and in the building of a stronger Perl
community in Italy.

The Workshop will be held in Pisa at the Polo Fibonacci, kindly provided by
the University of Pisa, on July 19-20, 2004.

Registration fee will be about 50 euro, including:

    Admission to the workshop
    Proceedings booklet, with materials from every talk
    T-Shirt
    Coffee breaks (and maybe lunch...)

The Call for Papers is available at http://www.perl.it/workshop/cfp.html
In order to have a workshop we need talks! :-)

For more information:

E-mail:
workshop-info <at> perl.it

Mailing list:
workshop <at> perl.it mailing list (to subscribe, send a message to
listmaster <at> perl.it with 'subscribe workshop <at> perl.it' in the body)

Web:
On the Web, at the address http://www.perlworkshop.it, or
http://www.perl.it/workshop. We're still preparing the content so please be
patient.

Our sponsors:

* Ulis S.r.l. - http://www.ulis.it

* PCExpress S.r.l.

[If you want to become a sponsor, please contact us at workshop-info <at> perl.it]

See you

    - Enrico
      Pisa.pm

--- have fun with www.perl.it ---

--

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Edouard Lagache | 1 Mar 2004 20:59

[mp2] "!!! server failed to start!" - all else fine(??)

Dear mod_perl experts,

I am trying to upgrade my mod_perl 1.99 from 09 to 12 on my Red Hat-9
box, but after upgrading Apache to 2.0.48 and Perl to 5.8.3 (both clean
installs from source,) After a successful configure and make, the make
test produces the error:  "!!! server failed to start!".  Alas, ps shows
that the process indeed started.  

I have uninstalled the Apache Red Hat RPM and searched for any leftover
cruft.  Apache is installed "apache-like" in /usr/local/apache2.  I've
appended highlights from the install process below.  Anyone have some
insights on this or troubleshooting suggestions?

Thanks in advance, Edouard! :-)

P.S. Yes, the original mod_perl 1.99_09 install was from source and all
tests were successful.

===============================================================

canebas.org [613]% perl Makefile.PL MP_INST_APACHE2=1 MP_APXS=/usr/local/
apache2/bin/apxs MP_APR_CONFIG=/usr/local/apache2/bin/apr-config
Reading Makefile.PL args from  <at> ARGV
   MP_INST_APACHE2 = 1
   MP_APXS = /usr/local/apache2/bin/apxs
   MP_APR_CONFIG = /usr/local/apache2/bin/apr-config
Configuring Apache/2.0.48 mod_perl/1.99_12 Perl/v5.8.3
Checking if your kit is complete...
Looks good
    generating script t/TEST
Checking if your kit is complete...
Looks good
Writing Makefile for Apache::Test
    generating script t/TEST
Checking if your kit is complete...
Looks good
Writing Makefile for ModPerl::Registry
    .
    .
    .

canebas.org [616]% make test
cd "src/modules/perl" && make -f Makefile.modperl
make[1]: Entering directory `/usr/local/src/mod_perl-1.99_12/src/modules/perl'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/src/mod_perl-1.99_12/src/modules/perl'
    .
    .
    .
    .
make[2]: Leaving directory `/usr/local/src/mod_perl-1.99_12/xs/ModPerl'
make[1]: Leaving directory `/usr/local/src/mod_perl-1.99_12/xs'
/usr/bin/perl -Iblib/arch/Apache2 -Iblib/lib/Apache2 \
t/TEST -clean
APACHE_USER= APACHE_GROUP= APACHE_PORT= APACHE= APXS= \
/usr/bin/perl -Iblib/arch/Apache2 -Iblib/lib/Apache2 \
t/TEST -bugreport -verbose=0 
/usr/local/apache2/bin/httpd -d /usr/local/src/mod_perl-1.99_12/t -f /
usr/local/src/mod_perl-1.99_12/t/conf/httpd.conf -DAPACHE2 -DPERL_USEITHREADS
using Apache/2.0.48 (prefork MPM)

waiting 120 seconds for server to start:
.....................................
.....................................
...............................................
waiting 120 seconds for server to start: giving up after 121 secs
!!! server failed to start! (t/logs/error_log wasn't created, start the
server in the debug mode)
+--------------------------------------------------------+
| Please file a bug report: http://perl.apache.org/bugs/ |
+--------------------------------------------------------+
make: *** [run_tests] Error 1
canebas.org [617]% ps ax | grep httpd
10466 pts/9    S      0:00 /usr/local/apache2/bin/httpd -d /usr/local/
src/mod_perl-1.99_12/t -f /usr/local/src/mod_perl-1.99_12/t/conf/
httpd.conf -DAPACHE2 -DPERL_USEITHREADS
10760 pts/9    S      0:00 grep httpd
canebas.org [618]% 

--

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Ged Haywood | 1 Mar 2004 21:11
Picon
Favicon

Re: [mp2] "!!! server failed to start!" - all else fine(??)


On Mon, 1 Mar 2004, Edouard Lagache wrote:

> +--------------------------------------------------------+
> | Please file a bug report: http://perl.apache.org/bugs/ |
> +--------------------------------------------------------+

73,
Ged.

--

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Carl Holm | 2 Mar 2004 01:38
Picon
Favicon

Apache-Cookie

Hello,

With the following server environment:  SERVER_SOFTWARE = "Apache/2.0.47 
(Win32) mod_perl/1.99_10-dev Perl/v5.8.0 PHP/4.3.2",
and libapreq2 installed via PPM,  I am not able to load Apache::Cookie. 
I would appreciate hearing about any success with this configuration.

Thanks,

Carl Holm
vpulse <at> earthlink.net

--

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Randy Kobes | 2 Mar 2004 01:44
Picon
Favicon

Re: Apache-Cookie

On Mon, 1 Mar 2004, Carl Holm wrote:

> Hello,
>
> With the following server environment:  SERVER_SOFTWARE =
> "Apache/2.0.47 (Win32) mod_perl/1.99_10-dev Perl/v5.8.0
> PHP/4.3.2", and libapreq2 installed via PPM, I am not able
> to load Apache::Cookie.  I would appreciate hearing about
> any success with this configuration.

With a slightly different configuration (Apache/2.0.48,
current cvs mod_perl, Perl/5.8.3) on Win32, I don't have
any fundamental problems. A few things to check:
- Is there anything in Apache's error log?
- Do you have similar problems with Apache::Request?
- Does a directive
   LoadFile "/Path/to/libapreq2.dll"
in httpd.conf help?
- Does mod_perl 2 work OK?

-- 
best regards,
randy kobes

--

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Carl Holm | 2 Mar 2004 03:14
Picon
Favicon

Re: Apache-Cookie

Randy Kobes wrote:

>On Mon, 1 Mar 2004, Carl Holm wrote:
>
>  
>
>>Hello,
>>
>>With the following server environment:  SERVER_SOFTWARE =
>>"Apache/2.0.47 (Win32) mod_perl/1.99_10-dev Perl/v5.8.0
>>PHP/4.3.2", and libapreq2 installed via PPM, I am not able
>>to load Apache::Cookie.  I would appreciate hearing about
>>any success with this configuration.
>>    
>>
>
>With a slightly different configuration (Apache/2.0.48,
>current cvs mod_perl, Perl/5.8.3) on Win32, I don't have
>any fundamental problems. A few things to check:
>- Is there anything in Apache's error log?
>- Do you have similar problems with Apache::Request?
>- Does a directive
>   LoadFile "/Path/to/libapreq2.dll"
>in httpd.conf help?
>- Does mod_perl 2 work OK?
>
>  
>
Thanks for the suggestions. Mod-perl2 works OK. No complaints from 
Apache::Request. I added the appropriate LoadFile directive, and now get 
the following error stack:

[Mon Mar 01 18:05:33 2004] [error] [client 127.0.0.1] Can't load 
'C:/Perl/site/lib/Apache2/auto/APR/Table/Table.dll' for module 
APR::Table: load_file:The specified module could not be found at 
C:/Perl/lib/DynaLoader.pm line 229., referer: 
http://localhost/Maspages/mk.html
[Mon Mar 01 18:05:33 2004] [error] [client 127.0.0.1]  at 
C:/Perl/site/lib/APR/XSLoader.pm line 16, referer: 
http://localhost/Maspages/mk.html
[Mon Mar 01 18:05:33 2004] [error] [client 127.0.0.1] Compilation failed 
in require at C:/Perl/site/lib/Apache/Cookie.pm line 47., referer: 
http://localhost/Maspages/mk.html
[Mon Mar 01 18:05:33 2004] [error] [client 127.0.0.1] BEGIN 
failed--compilation aborted at C:/Perl/site/lib/Apache/Cookie.pm line 
47., referer: http://localhost/Maspages/mk.html
[Mon Mar 01 18:05:33 2004] [error] [client 127.0.0.1] Compilation failed 
in require at C:\Program Files\Apache Group\Apache2\cgi-bin\sess.pl line 
7., referer: http://localhost/Maspages/mk.html
[Mon Mar 01 18:05:33 2004] [error] [client 127.0.0.1] BEGIN 
failed--compilation aborted at C:\Program Files\Apache 
Group\Apache2\cgi-bin\sess.pl line 7., referer: 
http://localhost/Maspages/mk.html

Regards,

Carl Holm

--

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


Gmane