Re: high throughput perl server

2005-05-25 Thread theshz
Have you looked at POE? http://poe.perl.org/ Z. - Original Message - From: "Erik Aronesty" <[EMAIL PROTECTED]> To: Sent: Wednesday, May 25, 2005 7:16 PM Subject: high throughput perl server > In order to deal with apache's problems handling a high load, I wrote > a trivial pure perl

Re: [mp2] how to automap modules in httpd.conf?

2005-05-25 Thread Foo Ji-Haw
Yup. Apache::Dispatch is what I'm looking for! Thanks for the reminder. Even though I can't find Apache2::Dispatch (Dispatch for Apache2?), it gives me an idea on how to implement it internally. Thanks Stas. Stas Bekman wrote: Foo Ji-Haw wrote: Hello guys, I have been happily developing

Re: [mp2] how to automap modules in httpd.conf?

2005-05-25 Thread Stas Bekman
Foo Ji-Haw wrote: Hello guys, I have been happily developing apps with MP2. Some hiccups, but mostly all due to my bad coding. But generally MP2 is a great platform and I will like to be a better MP2 guy. :) For one of my applications, I have a bunch of modules that I wrote, each actually m

[mp2] how to automap modules in httpd.conf?

2005-05-25 Thread Foo Ji-Haw
Hello guys, I have been happily developing apps with MP2. Some hiccups, but mostly all due to my bad coding. But generally MP2 is a great platform and I will like to be a better MP2 guy. :) For one of my applications, I have a bunch of modules that I wrote, each actually maps to unique direc

high throughput perl server

2005-05-25 Thread Erik Aronesty
In order to deal with apache's problems handling a high load, I wrote a trivial pure perl server with few features. http://www.documentroot.com/code/ppcgid Since it's nonforking, it's not appropriate if your web pages block on IO, or if some of them are much slower than others, etc. But it'

Re: latest svn build problems

2005-05-25 Thread Malcolm J Harwood
On Wednesday 25 May 2005 01:55 pm, Stas Bekman wrote: > is the right one. Now committed. Thanks Malcolm! > Anything else? Everything works fine here. Thanks.

Re: [MP2] Test failure in t/apache/content_length_header.t on mod_perl 2.0.0

2005-05-25 Thread Stas Bekman
Philip M. Gollucci wrote: Stas Bekman wrote: Steve Peters wrote: -8<-- Start Bug Report 8<-- 1. Problem Description: While installing mod_perl 2.0.0, I had some test failures. t/apache/content_length_header..NOK 2# Failed test 2 in t/apache/c

Re: [MP2] Test failure in t/apache/content_length_header.t on mod_perl 2.0.0

2005-05-25 Thread Philip M. Gollucci
Stas Bekman wrote: Steve Peters wrote: -8<-- Start Bug Report 8<-- 1. Problem Description: While installing mod_perl 2.0.0, I had some test failures. t/apache/content_length_header..NOK 2# Failed test 2 in t/apache/content_length_header.t at l

Re: [MP2] Test failure in t/apache/content_length_header.t on mod_perl 2.0.0

2005-05-25 Thread Stas Bekman
Steve Peters wrote: -8<-- Start Bug Report 8<-- 1. Problem Description: While installing mod_perl 2.0.0, I had some test failures. t/apache/content_length_header..NOK 2# Failed test 2 in t/apache/content_length_header.t at line 50 t/apache/conten

Re: Should I use Package or Modual or what?

2005-05-25 Thread Perrin Harkins
[ Please keep your replies on the list... ] On Wednesday 25 May 2005 4:51 pm, Luinrandir Insight wrote: > what about executing a sepate .pl ? > to save memory or processer time... Are you asking if you should split things up into separate CGI files? Probably. It will not affect memory or perfo

Re: latest svn build problems

2005-05-25 Thread Stas Bekman
Malcolm J Harwood wrote: On Tuesday 24 May 2005 05:21 pm, Stas Bekman wrote: Please try: Index: ModPerl-Registry/t/conf/extra.conf.in === --- ModPerl-Registry/t/conf/extra.conf.in (revision 178247) +++ ModPerl-Registry/t/co

Re: reloading files

2005-05-25 Thread Stas Bekman
Pronichev Alexander wrote: No it doesn't hapens. I try to use "PerlFreshRestart On", but it doesn't work correctly for me. Move to mp2.0, the perl is completely scratched on each restart. I need that my startup.pl file (loaded at startup by PerlRequire directive) will be reloaded, when I res

Re: Apache2::Reload problems

2005-05-25 Thread Stas Bekman
Mark wrote: The whole ${package}::FIELDS business doesn't even exist in the newer version, and the handler return is now Apache2::Const::OK. ::FIELDS stuff is pseudo-hash related which is no longer supported by perl, that's why it has gone from this module. -- __

[MP2] Test failure in t/apache/content_length_header.t on mod_perl 2.0.0

2005-05-25 Thread Steve Peters
-8<-- Start Bug Report 8<-- 1. Problem Description: While installing mod_perl 2.0.0, I had some test failures. t/apache/content_length_header..NOK 2# Failed test 2 in t/apache/content_length_header.t at line 50 t/apache/content_length_header...

Re: $r->location() question

2005-05-25 Thread Stas Bekman
Adam Prime x443 wrote: Assume i have a handler that sits in a location, and that handler has it's own admin interface built in. I also want to be able to easily change the directory that the handler is running in, or have it running in multiple locations (so i don't want to hardcode the location

FYI: Perl 5.8.7 Release Candidate 1

2005-05-25 Thread Stas Bekman
Please test that release to make sure that your apps will still work when 5.8.7 is released. ++ | 5.8.7 RC1 is out | | posted by rafael on Friday May 20, @08:20 (Releases)

Re: Should I use Package or Modual or what?

2005-05-25 Thread Perrin Harkins
On Wednesday 25 May 2005 1:19 pm, Luinrandir Insight wrote: > As I understand Pack/Mod are loaded into memory when the main program is > run. > So saving memory is not the issue here... using Packs or Mods is mainly for > programming ease. > Yes or No? Yes, modules are primarilly about making your

Re: Mod Perl Code failures

2005-05-25 Thread Stas Bekman
[CC'ing the modperl list where all the bug reports should go to, hint, hint] Discover Life WebAdmin wrote: Stas, I'm sure you get millions of emails a day. But, I'm writing to tell you about a code failure in our server: pick18.pick.uga.edu We are running the following apache2 setup: Apache/2.0

$r->location() question

2005-05-25 Thread Adam Prime x443
Assume i have a handler that sits in a location, and that handler has it's own admin interface built in. I also want to be able to easily change the directory that the handler is running in, or have it running in multiple locations (so i don't want to hardcode the location into the script. S

Re: Apache2::Reload problems

2005-05-25 Thread Mark
Stephane GUIBOUD-RIBAUD wrote: Hi Mark, I had the same problem as you when installed the 2.0.0-RC6. I patched the Apache/Reload.pm (version 0.07) as follow: 1/ Changed the string ${package}::FIELDS by ${package}::APACHE_RELOAD_FIELDS (line 43, 44, 90, 92) 2/ Changed the return value of the 'ha

Re: Apache2::Reload problems

2005-05-25 Thread Mark
Philippe M. Chiasson wrote: Mark wrote: I have a typical situation, with a Registry script that use's a bunch of modules. After Apache::Reload reloads the first module, I get errors suggesting that the other loaded modules have been lost. To illustrate, it is like this (fake example): Script

Re: Newbie question re: opendir

2005-05-25 Thread Simon Perreault
On Wednesday 25 May 2005 10:46, Paul Murphy wrote: > [...] Fedora Core 3 [...] > > opendir(DIR, '/usr/local/src/') or die ('Failed because of $!'); > > Gives > > ...[error] Can't open directory because of Permission denied. I guess that it's because of SELinux, which is enabled by default on FC3.

Newbie question re: opendir

2005-05-25 Thread Paul Murphy
Hi, Please excuse the newbie-ish nature of this question, but I have searched the mailing list archives and can't find an answer to my question. I've downloaded and installed LXR 0.9.4 on a Fedora Core 3 box to index our source here at our company, and there's a problem when I run the script name

Should I use Package or Modual or what?

2005-05-25 Thread Luinrandir Insight
Hey everyone. I am writing an online game... and I want to understand the best way to do this. As I understand Pack/Mod are loaded into memory when the main program is run. So saving memory is not the issue here... using Packs or Mods is mainly for programming ease. Yes or No? So the way I was go

Re: [mp2] segfaulting apache in ap_pcw_walk_files_config

2005-05-25 Thread Flavio Curti
Hi Philippe On 5/25/05, Philippe M. Chiasson <[EMAIL PROTECTED]> wrote: > Hrm, so far, I've looked at the configuration files you've sent me and they > look kosher. I was thinking something bogus inherited from your debian's > configuration...Guess not. > > One more gdb peek for me please to try

Re: reloading files

2005-05-25 Thread Pronichev Alexander
No it doesn't hapens. I try to use "PerlFreshRestart On", but it doesn't work correctly for me. On Tue, 24 May 2005 17:07:03 -0400 Malcolm J Harwood <[EMAIL PROTECTED]> wrote: > On Tuesday 24 May 2005 08:20 am, Pronichev Alexander wrote: > > > I need that my startup.pl file (loaded at startup b

Re: Apache2::Reload problems

2005-05-25 Thread Philippe M. Chiasson
Mark wrote: > I have a typical situation, with a Registry script that use's > a bunch of modules. After Apache::Reload reloads the first module, > I get errors suggesting that the other loaded modules have been lost. > > To illustrate, it is like this (fake example): > > Script: > >#!/usr/b

Re: [mp2] segfaulting apache in ap_pcw_walk_files_config

2005-05-25 Thread Philippe M. Chiasson
Flavio Curti wrote: > Hi Philippe & List > On 5/24/05, Philippe M. Chiasson <[EMAIL PROTECTED]> wrote: >>Flavio Curti wrote: >> >>>I have a problem running mod_perl-2.0.0 (and the latest devel snapshot too): >> >>It would be quite helpfull if you could just get me: >>(gdb) print *dconf >>(gdb) prin

Re: [mp2] segfaulting apache in ap_pcw_walk_files_config

2005-05-25 Thread Flavio Curti
Hi List (Sorry for sending it private instead of to the list first...) On 5/25/05, Philippe M. Chiasson <[EMAIL PROTECTED]> wrote: > > If you need anything else just tell me. If a verbose test-report is > > needed just tell me which test. > Actually, I'd like to have a look at your httpd.conf (th