BEGIN, preloading and restarting

2003-11-10 Thread Anatoly Vorobey
Hello, I've two quick and perhaps silly questions. I'm preloading a whole lot of modules in my startup script. In fact, some of the stuff I'm preloading aren't .pm modules, they're .pl libraries I want to "require" rather than "use". Do I have to wrap the require statements inside a BEGIN {} blo

Re: further benchmarks on different versions of Perl

2003-11-10 Thread Perrin Harkins
On Mon, 2003-11-10 at 21:31, Stas Bekman wrote: > Thanks Perrin for this comparison numbers, but I think you didn't provide > enough build information. Default build opts vary from release to release and > from OS to OS, you really need to show the whole perl -V to make these numbers > more usef

Re: further benchmarks on different versions of Perl

2003-11-10 Thread Stas Bekman
Perrin Harkins wrote: I grabbed perlbench from CPAN and did some more benchmarks. These confirmed what we already suspected, i.e. there are no significant performance differences in Perl itself between 5.6.1, 5.8.0, and 5.8.1, but the stock Perl on Red Hat 9 (which is compiled with threads) is sig

further benchmarks on different versions of Perl

2003-11-10 Thread Perrin Harkins
I grabbed perlbench from CPAN and did some more benchmarks. These confirmed what we already suspected, i.e. there are no significant performance differences in Perl itself between 5.6.1, 5.8.0, and 5.8.1, but the stock Perl on Red Hat 9 (which is compiled with threads) is significantly slower than

Apache::DBI and MySQL warnings

2003-11-10 Thread Perrin Harkins
So, has anyone else done an app using a combination of transactional and non-transactional tables in MySQL? The problem I'm having -- which is more like an annoyance than a problem -- is that I keep getting this message in my logs: DBD::mysql::db rollback failed: Warning: Some non-transactional

Re: mp2 - make test - apr/table...FAILED tests 20-21

2003-11-10 Thread Matisse Enzer
At 3:54 PM -0800 11/10/03, Stas Bekman wrote: Aha, so it's your fault ;) Yes :-) As mp2 now depends on several libraries I think we are going to have this question asked more than once. Mattisse, would you like to write a short troubleshooting section based on your questions and my answers? So w

Re: mp2 - make test - apr/table...FAILED tests 20-21

2003-11-10 Thread Stas Bekman
Matisse Enzer wrote: All OK now. I'm sure /usr/local/apache2/lib/libapr-0.so.0.9.3 came from my manual install of httpd-2.0.45 I've investigated and when I built httpd-2.0.47 I built it with a prefix of /usr/local/apache2, where an existing 2.0.45 installation exists. I actually installed 2.0.

Re: mp2 - make test - apr/table...FAILED tests 20-21

2003-11-10 Thread Matisse Enzer
All OK now. I'm sure /usr/local/apache2/lib/libapr-0.so.0.9.3 came from my manual install of httpd-2.0.45 I've investigated and when I built httpd-2.0.47 I built it with a prefix of /usr/local/apache2, where an existing 2.0.45 installation exists. I actually installed 2.0.47 in /usr/local/apac

Re: [MP1] Apache segfault after serving request

2003-11-10 Thread Stas Bekman
Marc Slagle wrote: [...] Thanks for the reply. Unfortunately the patch didn't resolve the problem. The backtrace does look somewhat different, its making some new calls before the segfault that it wasn't before. Numbers 4-13 show differently: [...] I don't have a test to reproduce the segfault,

Re: mp2 - make test - apr/table...FAILED tests 20-21

2003-11-10 Thread Stas Bekman
Stas Bekman wrote: [...] Also I want you to do: locate libapr-0.so.0 and see if you come up with another occurence of libapr-0.so.0, somewhere else. If you find one in /usr/lib or /usr/local/lib that will explain the problem. Most likely you have an old pre-installed apr package which gets loa

[ANNOUNCE] mod_perl 1.99_11

2003-11-10 Thread Geoffrey Young
The URL http://perl.apache.org/~geoff/mod_perl-1.99_11.tar.gz has entered CPAN as file: $CPAN/authors/id/G/GE/GEOFF/mod_perl-1.99_11.tar.gz size: 1093014 bytes md5: 855adb033de193dc999a5a2bd714f675 Changes since 1.99_10 add a build/win32_fetch_apxs script (called within the top-level

[ANNOUNCE] Apache-Test 1.06

2003-11-10 Thread Geoffrey Young
The URL http://perl.apache.org/~geoff/Apache-Test-1.06.tar.gz has entered CPAN as file: $CPAN/authors/id/G/GE/GEOFF/Apache-Test-1.06.tar.gz size: 94492 bytes md5: 27c7096b027fa1d477b260c54d49c455 Changes since 1.05 added -startup_timeout and $ENV{APACHE_TEST_STARTUP_TIMEOUT} as place

Re: [MP1] Apache segfault after serving request

2003-11-10 Thread Marc Slagle
> Please try this patch: > > Index: src/modules/perl/Table.xs > === > RCS file: /home/cvs/modperl/src/modules/perl/Table.xs,v > retrieving revision 1.10 > diff -u -r1.10 Table.xs > --- src/modules/perl/Table.xs 23 May 2000 15:56:12

Re: mp2 - make test - apr/table...FAILED tests 20-21

2003-11-10 Thread Stas Bekman
Matisse Enzer wrote: Thank you. I got: [EMAIL PROTECTED] mod_perl-1.99_10]# ldd blib/arch/auto/APR/APR.so | grep apr-libapr-0.so.0 => /usr/local/apache2.0.47/lib/libapr-0.so.0 (0x40003000) [EMAIL PROTECTED] mod_perl-1.99_10]# nm /usr/local/apache2.0.47/lib/libapr-0.so.0 | grep table_

Re: mp2 - make test - apr/table...FAILED tests 20-21

2003-11-10 Thread Matisse Enzer
Thank you. I got: [EMAIL PROTECTED] mod_perl-1.99_10]# ldd blib/arch/auto/APR/APR.so | grep apr-libapr-0.so.0 => /usr/local/apache2.0.47/lib/libapr-0.so.0 (0x40003000) [EMAIL PROTECTED] mod_perl-1.99_10]# nm /usr/local/apache2.0.47/lib/libapr-0.so.0 | grep table_compress d010 T a

Re: mp2 - make test - apr/table...FAILED tests 20-21

2003-11-10 Thread Stas Bekman
Matisse Enzer wrote: Here'a line from t/logs/error_log /usr/local/apache2.0.47/bin/httpd: relocation error: /usr/local/src/apache/mod_perl-1.99_10/blib/arch/auto/APR/Table/Table.so: undefined symbol: apr_table_compress That's the problem. Thanks for providing this entry. Please do: % ldd b

Re: [MP1] Apache segfault after serving request

2003-11-10 Thread Stas Bekman
Marc Slagle wrote: After serving up requests normally for some time, we get the following line in our error_log: [Mon Nov 10 13:44:31 2003] [notice] child pid 24121 exit signal Segmentation fault (11) There aren't any other entries in the error log for the requests. We think that this is happening

Re: mp2 - make test - apr/table...FAILED tests 20-21

2003-11-10 Thread Geoffrey Young
Matisse Enzer wrote: I tried the patch and got the same result: apr/table..FAILED tests 20-21 Failed 2/21 tests, 90.48% okay yes, but please run with verbose mode on so we can see the output $ t/TEST t/apr/table.t -v FWIW, I was able to

Re: mp2 - make test - apr/table...FAILED tests 20-21

2003-11-10 Thread Matisse Enzer
Here'a line from t/logs/error_log /usr/local/apache2.0.47/bin/httpd: relocation error: /usr/local/src/apache/mod_perl-1.99_10/blib/arch/auto/APR/Table/Table.so: undefined symbol: apr_table_compress And here is the output of t/TEST -v apr/table [EMAIL PROTECTED] mod_perl-1.99_10]# t/TE

Re: mp2 - make test - apr/table...FAILED tests 20-21

2003-11-10 Thread Stas Bekman
Matisse Enzer wrote: I tried the patch and got the same result: apr/table..FAILED tests 20-21 Failed 2/21 tests, 90.48% okay thanks, but you didn't do what I've asked you for: >> Please apply the patch at the bottom and send the ouput of: >>

Re: strange behavor

2003-11-10 Thread Stas Bekman
Andrey A. Kudrin wrote: Hello Perrin, Friday, November 07, 2003, 12:23:59 AM, you wrote: PH> There is nothing in your sample code here that would cause one sub to be PH> called in place of another. How do you know that the other print_login PH> is being called? Because I see the result page. All

Re: mp2 - make test - apr/table...FAILED tests 20-21

2003-11-10 Thread Matisse Enzer
I tried the patch and got the same result: apr/table..FAILED tests 20-21 Failed 2/21 tests, 90.48% okay FWIW, I was able to build without error on a different machine (same architecture and OS - redhat 8.0 on intel) - the machine where it f

Re: [mp1] freezing proccesses

2003-11-10 Thread Stas Bekman
> And additional, I found that my site get freezed after about 2 days > running, all http servers running, but pages cannot be opened. Is > there some tools to determine the reason? [in the future please ask unrelated questions in separate threads to keep the threads focused. I did the separation

Re: Re[4]: strange behavor

2003-11-10 Thread Perrin Harkins
On Mon, 2003-11-10 at 14:12, Andrey A. Kudrin wrote: > PH> There is nothing in your sample code here that would cause one sub to be > PH> called in place of another. How do you know that the other print_login > PH> is being called? > > Because I see the result page. All print_login prints differe

[MP1] Apache segfault after serving request

2003-11-10 Thread Marc Slagle
After serving up requests normally for some time, we get the following line in our error_log: [Mon Nov 10 13:44:31 2003] [notice] child pid 24121 exit signal Segmentation fault (11) There aren't any other entries in the error log for the requests. We think that this is happening during the norma

Re[4]: strange behavor

2003-11-10 Thread Andrey A. Kudrin
Hello Perrin, Friday, November 07, 2003, 12:23:59 AM, you wrote: PH> There is nothing in your sample code here that would cause one sub to be PH> called in place of another. How do you know that the other print_login PH> is being called? Because I see the result page. All print_login prints dif

Re[2]: strange behavor

2003-11-10 Thread Andrey A. Kudrin
Hello Stas, Thursday, November 06, 2003, 4:11:41 PM, you wrote: SB> Hmm, I haven't see such a case before. Is it possible that print_login is SB> defined in some package as well, and when you do an import->(:all) it gets SB> imported overriding the local sub? No, there is no print_login in any

Re: [RELEASE CANDIDATE] mod_perl-1.99_11 RC1

2003-11-10 Thread Haroon Rafique
On Friday at 4:00pm, GY=>Geoffrey Young <[EMAIL PROTECTED]> wrote: GY> a release candidate for mod_perl 1.99_11 is now available for testing. GY> note that 1.99_11 will be required for users running perl 5.8.2. GY> GY> please grab the candidate from GY> GY>http://perl.apache.org/~geoff/mod

Re: xml and mod_perl

2003-11-10 Thread tvilliers
On Thu, 06 Nov 2003 17:36:38 -0700, Dustin Whitney wrote: > I am using Mason. Here are some lines from my httpd.conf file that are > probably relevant: > > > Alias /perl/ /var/www/perl/ > PerlSetVar MasonAllowGlobals $swit_user PerlInitHandler "Apache::StatINC" > > > SetHand

Re: apache2 could not start

2003-11-10 Thread HLiu
Thanks Randy, It was caused by the permission which should not happen. I just changed OS from window 2000 to XP and installed the apache2 but the logs directory was readable only by unknow reason. It works fine now. Thanks again, Willy

[ANNOUNCE] Apache::AuthCookieNTLM 0.05

2003-11-10 Thread Leo Lapworth
> On Fri, Nov 07, 2003 at 06:11:48PM +0100, Stefano Ciancio wrote: > > First of all a question. The AuthenNTLM module setted an env variable > > REMOTE_USER to domain\\username value. The uploaded file Apache-AuthCookieNTLM-0.05.tar.gz has entered CPAN as file: $CPAN/authors/id/L/LL/LLAP/