Re: highscalability.com report

2012-04-15 Thread Dave Hodgkinson
On 12 Apr 2012, at 18:14, wrote: > Well, finding (good) developers is certainly an issue. > > Here in NYC, it's very difficult to find proper Perl programmers as opposed > to dabblers and scripters. > > One of the larger web sites here in the city was built by a great Perl guy, > but as th

Re: highscalability.com report

2012-04-05 Thread Dave Hodgkinson
Talking of youporn: http://gizmodo.com/5899327/how-much-porn-does-the-internet-hold 10 Dual layer DVDs per second.

Re: highscalability.com report

2012-04-04 Thread Dave Hodgkinson
On 4 Apr 2012, at 19:41, Fred Moyer wrote: > On Wed, Apr 4, 2012 at 6:37 AM, demerphq wrote: >> On 4 April 2012 09:31, William A. Rowe Jr. wrote: >>> >>> When was the last time you built perl with no threading support? It's >>> certainly a 5%-15% win. >> >> Not certainly. We did that and saw

Re: Question about caching

2012-03-13 Thread Dave Hodgkinson
On 13 Mar 2012, at 21:32, Perrin Harkins wrote: > > Turn on the template caching. It's basically free and will speed > things up. Caching at the page level is the ultimate in terms of > speed, but it will only be possible for pages that are not dynamic on > a per-user basis. Template caching

Re: Terminating Child process Dynamically

2012-03-02 Thread Dave Hodgkinson
On 2 Mar 2012, at 19:04, Shibi Ns wrote: > > Bouncing means restart the application to bring the current changes and new > data to the cache. We can't use the following logic as there are huge number > of existing data cache and perl modules involved. So the changes will be > massive. > > S

Re: Funding [WAS :Re: trying to compile mod_perl against httpd-2.4.1]

2012-02-29 Thread Dave Hodgkinson
On 29 Feb 2012, at 19:33, Dan Axtell wrote: > > Basically I want to have various virtual hosts be reverse proxied to various > back end servers (e.g. mod_perl for some legacy apps, a Catalyst app under > fast CGI). I tried this with Nginx and it all seemed to work but what I > discovered is

Re: mod_perl causing Apache Segmentation fault

2012-02-20 Thread Dave Hodgkinson
So duplicating a path in -I and "use lib" casues a dump? Smells like a bug to me. On 20 Feb 2012, at 14:25, Mauritz Hansen wrote: > Hi Dave, > > Thanks for this pointer. Got it fixed in the end by changing a part of my > Apache configuration from > > PerlSwitches -I/srv/www/example.com/applic

Re: mod_perl causing Apache Segmentation fault

2012-02-17 Thread Dave Hodgkinson
On 17 Feb 2012, at 14:03, Mauritz Hansen wrote: >#17 0x0046432b in invoke_cmd (cmd=0x5b9880, > parms=0x7fffe770, mconfig=0x844728, args=0x89b7d8 "use lib qw( > /usr/local/apache2/virtualhosts/api.nwwi.nl /httpdocs/lib/ );\n") at > config.c:757 This appears to be what it's trying

Re: disabling directives in .htaccess files

2012-02-10 Thread Dave Hodgkinson
On 10 Feb 2012, at 13:50, Aaron Knister wrote: > Hi Dave, > > Thanks for the feedback. Unfortunately the setup isn't fronted by apache > proxies. Having an apache instance per site would, I think, be painful-- this > is a personal web hosting setup for 80,000+ individual sites (think > mod_us

Re: disabling directives in .htaccess files

2012-02-10 Thread Dave Hodgkinson
On 10 Feb 2012, at 11:46, Aaron Knister wrote: > Hi, > > I'm using mod_perl in a shared hosting environment for some server-side > configuration bits. All dynamic content for the users runs through SuEXEC, > however this obviously doesn't help in the case of mod_perl so I would like > to prev

Re: mod perl installed but not running

2012-02-07 Thread Dave Hodgkinson
On 7 Feb 2012, at 16:08, mike cardeiro wrote: > > >> From: André Warnier > > >> You should probably analyse your requirements carefully (as to exactly /why/ >> you >> want the script to run as that user). > > > I am creating a file transfer site. When a user logs in they can upload a

Re: mod perl installed but not running

2012-02-07 Thread Dave Hodgkinson
What's MaxRequestsPerChild? Are there several big fat httpd's whose PIDs remain constant? On 7 Feb 2012, at 14:18, mike cardeiro wrote: > I asked this a few weeks ago. Is it possible that mod_perl is running but > the $ENV{MOD_PERL} variable doesn't exist? > > it seems like it is running (t

Re: mod_perl.so: undefined symbol: PL_tainting

2012-01-25 Thread Dave Hodgkinson
Senior Network Engineer, > NCI Computer Services > Contractor, TerpSys > http://www.terpsys.com/ > > Technology Driven. People Oriented. > > > -Original Message- > From: Jacobs, David (NIH/NCI) [C] > Sent: Wednesday, January 25, 2012 2:45 PM > T

Re: mod_perl.so: undefined symbol: PL_tainting

2012-01-25 Thread Dave Hodgkinson
Have you compiled perl with libperl.so? On 25 Jan 2012, at 18:41, Jacobs, David (NIH/NCI) [C] wrote: > > Please help. After banging my head for a while, and trying in vain to find > an answer from google, I am in need of some assistance. > > This is on rhel5, and has the redhat perl 5.8.8

Re: Registry and mod_include - multiple invocations of a script in an SSI-parsed file

2012-01-11 Thread Dave Hodgkinson
On 11 Jan 2012, at 15:29, Mårten Svantesson wrote: > Hi Brett, > > My guess is that you run into a problem of the CGI module not resetting > itself between executions of your code. > > As a test you could try entering the line. > > CGI::initialize_globals(); > > explicitly in your script bef

Re: Problem when compiling libapreq2-2.13 on Centos

2011-11-05 Thread Dave Hodgkinson
On 4 Nov 2011, at 08:50, Pierre QUETELART wrote: > > /usr/bin/ld: cannot find -lexpat Install it. yum install libexpat

Re: Building mod_perl for authentication

2011-10-12 Thread Dave Hodgkinson
On 12 Oct 2011, at 04:06, Fred Moyer wrote: > You should be able to run 5.14.1 with 2.06-dev available on > http://perl.apache.org. > > If that doesn't work, I'd suggest posting your handlers to this list. > > Looking at that symbol error though, it suggests that you may have > built mod_perl w

Re: High CPU utilization on RHEL5.6/CentOS5.6

2011-08-01 Thread Dave Hodgkinson
Wait. Is this the one with the horrible bug that knackers OO? On 25 Jul 2011, at 23:43, Christopher Stanton wrote: > Requires: perl >= 5.8.8-32

Re: High CPU utilization on RHEL5.6/CentOS5.6

2011-07-27 Thread Dave Hodgkinson
On 26 Jul 2011, at 18:58, Christopher Stanton wrote: > I will see if I can get Perl 5.12 and an associated mod_perl up and > running on the problem machine and see if the CPU utilization goes > down. Is benchmarking out of the question?

Re: Single PerlResponseHander for Web Application

2011-07-19 Thread Dave Hodgkinson
On 18 Jul 2011, at 23:02, Jerry Pereira wrote: > Please let me know of your views. I am not planning to use Catalyst or > existing frameworks as of now. Any reason? There are lightweight ones that play well with modern approaches to plugins and multi-server environments.

Re: mod_perl EC2 AMI's or other platform providers?

2011-07-10 Thread Dave Hodgkinson
whenever I wanted to create a new web application. >> >> It would be nice to fire up a mod_perl stack somewhere (say EC2) and >> then just modify startup.pl and install your required modules and go. >> >> The dev world is moving away from requiring system administrat

Re: mod_perl EC2 AMI's or other platform providers?

2011-07-05 Thread Dave Hodgkinson
On 5 Jul 2011, at 10:53, André Warnier wrote: > Personally, I must say that statements like "I just spent six months helping > a company do exactly[0] this" make me dream. I must be in the wrong > triangle... > It was an interesting dynamic. Ownership of the Apache stack moved to the develo

Re: mod_perl EC2 AMI's or other platform providers?

2011-07-05 Thread Dave Hodgkinson
On 5 Jul 2011, at 08:53, Tosh Cooey wrote: > On 7/4/11 11:26 PM, Dave Hodgkinson wrote: >> >>> >>> I'm not happy, hence the complaining about the AMI from 2009. But I'm glad >>> you changed the subject from your first one, which is that I should

Re: mod_perl EC2 AMI's or other platform providers?

2011-07-04 Thread Dave Hodgkinson
On 4 Jul 2011, at 21:56, Tosh Cooey wrote: > On 7/4/11 7:54 PM, Dave Hodgkinson wrote: >> >> On 4 Jul 2011, at 11:03, Tosh Cooey wrote: >> >>> The only public AMI for EC2 setup with mod_perl I can easily find is an >>> OpenSuse one from 2009. >>&

Re: mod_perl EC2 AMI's or other platform providers?

2011-07-04 Thread Dave Hodgkinson
On 4 Jul 2011, at 11:03, Tosh Cooey wrote: > The only public AMI for EC2 setup with mod_perl I can easily find is an > OpenSuse one from 2009. > > Services like Bitnami are a really nice platform for launching LAMP stacks, > unfortunately the P is anything but Perl :( > > Is there a reason fo

Re: mod_perl EC2 AMI's or other platform providers?

2011-07-04 Thread Dave Hodgkinson
On 4 Jul 2011, at 11:03, Tosh Cooey wrote: > The only public AMI for EC2 setup with mod_perl I can easily find is an > OpenSuse one from 2009. > > Services like Bitnami are a really nice platform for launching LAMP stacks, > unfortunately the P is anything but Perl :( > > Is there a reason fo

Re: How do you use mod_perl for your web application?

2011-07-02 Thread Dave Hodgkinson
On 2 Jul 2011, at 08:38, Max Kanat-Alexander wrote: > (which is why I frequently talk/ask > about SizeLimit on this list) And I will frequently say that this is the Wrong Answer. MaxClients and a proxy on the front is more often the right answer. A fat Apache is an application server, treat i

Re: Debugging a long process

2011-06-15 Thread Dave Hodgkinson
On 15 Jun 2011, at 22:53, Tosh Cooey wrote: > > I am waiting to hear back from my server admin before I kill him, but it > seems that maybe there's some issues with my Ubuntu and the worker MPM on a > small EC2 instance. I've been doing this stuff since web 1.0 and have always found prefork to

Re: Debugging a long process

2011-06-09 Thread Dave Hodgkinson
On 9 Jun 2011, at 17:13, Tosh Cooey wrote: > I haven't tried Devel::NYTProf, but the blocking seems to have been the > keyword here... > > root 2661 0.0 1.5 37900 27492 ?Ss Jun08 0:00 > /usr/sbin/apache2 -k start > www-data 3875 0.0 1.3 37264 23300 ?S06:25

Re: Apache2::SizeLimit and x64_86

2011-04-11 Thread Dave Hodgkinson
On 11 Apr 2011, at 02:24, E R wrote: > Hi all, > > On x86_64 I noticed that perl .so files (XS modules) appear to use a > lot more memory than they do on 32-bit architectures. It's not just .so files. The footprint of our whole mod_perl processes pretty much doubled when we went to 64 bit (incl

Re: http-authentication on postgresql

2011-03-22 Thread Dave Hodgkinson
Can you give us a hint as to what the errors are? On 22 Mar 2011, at 15:10, Michel Jansen wrote: > Hi There, > > I have some troubles with the http-authentication using apache2 in > combination with postgresql. I used to do it with Apache::AuthenDBI > configuring access.conf in the following w

Re: On memory consumption - request for comments

2011-02-24 Thread Dave Hodgkinson
On 24 Feb 2011, at 15:44, Fred Moyer wrote: > 2011/2/24 Torsten Förtsch : >> On Thursday, February 24, 2011 11:27:42 Dave Hodgkinson wrote: >>> What's the rough ETA before this makes it to CPAN? >> >> end of April, perhaps. > > We can release this earli

Re: [Mason] ANNOUNCE: Mason 2

2011-02-24 Thread Dave Hodgkinson
Lovefilm big enough for you? On 24 Feb 2011, at 10:49, xiaolan wrote: > oops is there any big player using Mason these days? > > On Tue, Feb 22, 2011 at 2:24 AM, Perrin Harkins wrote: >> In case any of you Mason users on the mod_perl list aren't on the Mason >> list... >> >> - Perrin >> >>

Re: On memory consumption - request for comments

2011-02-24 Thread Dave Hodgkinson
What's the rough ETA before this makes it to CPAN? Working out if I want to add the patch to our build process or not... On 24 Feb 2011, at 08:41, Torsten Förtsch wrote: > On Thursday, February 24, 2011 09:29:23 Max Kanat-Alexander wrote: >> On 02/23/2011 11:40 PM, Torsten Förtsch wrote: >>> On

Re: On memory consumption - request for comments

2011-02-11 Thread Dave Hodgkinson
On 11 Feb 2011, at 14:32, André Warnier wrote: > Torsten Förtsch wrote: >> Hi, >> there is an ongoing discussion... > > Great "article", Torsten. Thanks. > > Yes. Please post on the interwebs so I can point colleagues at it. I think A::SL is the wrong hammer for their nail but I need strong

Re: experiencing Out of memory errors

2011-01-27 Thread Dave Hodgkinson
On 26 Jan 2011, at 15:17, John Deighan wrote: > What we would like is to run this application in a 64 bit environment, thus > allowing us to use more than the 2 GB memory that the Apache process ('httpd') > is limited to (the "Out of memory" errors always occur as the memory usage > of the httpd

Re: about the message queue server

2010-12-09 Thread Dave Hodgkinson
You're prematurely optimising. Use something and see if it sucks for you. Also, look at RabbitMQ :) On 9 Dec 2010, at 14:39, practicalperl wrote: > Hi, > > Would you please recommend me a high performance message queue server? > Currently I'm looking up at: > http://search.cpan.org/~dsnopek/POE

Re: modperl for ubuntu

2010-12-01 Thread Dave Hodgkinson
On 1 Dec 2010, at 02:51, Jeff Pang wrote: > Hello, > > Does modperl and Apache2::Request have a port for Ubuntu and which will be > installed by apt-get? > Ubuntu's development environment is so worse, has been losing so many > libraries, compiling modperl under which is hard. Jeff, It's no

Re: mod_perl "instability" on Ubuntu 10.04 server platform

2010-10-28 Thread Dave Hodgkinson
On 28 Oct 2010, at 12:49, Vanja Hrustic wrote: > > Unfortunately, it seems like I'd have to dig deep into Apache or > mod_perl to hunt this down, and I do not have knowledge (nor > 'intuition' :) to do this without some guidance. I have a basic mistrust of shipped packages. I'm in the process of

Re: Share Memory Apache2 and ModPerl2

2010-10-02 Thread Dave Hodgkinson
On 2 Oct 2010, at 09:10, Idel Fuschini wrote: > Hi, > For my project "Apache Mobile FIlter", I'm looking a method to share memory > array data between Apache2 processes. > It's possible ? IPC::Shareable IPC::ShareLite And others. smime.p7s Description: S/MIME cryptographic signature

Re: Poll - do you use Apache::Test custom configuration?

2010-10-01 Thread Dave Hodgkinson
On 30 Sep 2010, at 19:58, Fred Moyer wrote: > To simplify the Apache::Test codebase, the custom configuration > feature is being considered for removal. Is anyone here using that > feature? If you don't know what it is, you aren't using it. I don't believe we do, but could you give us a quick

Re: huge apache+mod_perl processes

2010-09-30 Thread Dave Hodgkinson
On 29 Sep 2010, at 20:17, Eugene Toropov wrote: > Greetings, > > We have a problem with huge Apache+mod_perl2 processes of 150-200 Mb in size. > After apache restart they are usually 40-50 Mb in size, then in a minute grow > up to 100-150 Mb and then some time later may grow up to 200 Mb. I s

Build fail on Ubuntu

2010-09-29 Thread Dave Hodgkinson
1. Problem Description: make test fails: t/hooks/authen_basic.t .. 1/4 # Failed test 4 in t/hooks/authen_basic.t at line 26 t/hooks/authen_basic.t .. Failed 1/4 subtests t/hooks/authen_digest.t . ok t/hooks/authz.t . 1