Re: Working directory of script is "/" !

2003-08-07 Thread Ed Grimm
On Wed, 30 Jul 2003, Stas Bekman wrote: > Perrin Harkins wrote: >> On Tue, 2003-07-29 at 07:23, Stas Bekman wrote: >> >>>That's correct. This is because $r->chdir_file in compat doesn't do >>>anything. The reason is that under threaded mpm, chdir() affects all >>>threads. Of course we could chec

RE: Compiled-in but not recognized

2002-08-11 Thread Ed Grimm
On Sun, 11 Aug 2002, Colin wrote: >> -Original Message- >> From: Ged Haywood [mailto:[EMAIL PROTECTED]] >> Sent: Sunday, August 11, 2002 6:02 PM >> Subject: Re: Compiled-in but not recognized >> >> >> Hi there, >> >> On Sun, 11 Aug 2002, Colin wrote: >> >>> I know this is a recurring prob

Re: PerlChildInitHandler doesn't work inside VirtualHost?

2002-08-10 Thread Ed Grimm
On Thu, 8 Aug 2002, Rick Myers wrote: > On Aug 09, 2002 at 12:16:45 +1000, Cees Hek wrote: >> Quoting Jason W May <[EMAIL PROTECTED]>: >>> Running mod_perl 1.26 on Apache 1.3.24. >>> >>> I've found that if I place my PerlChildInitHandler inside a VirtualHost >>> block, it is never called. >> >>

Re: mod perl load average too high

2002-08-08 Thread Ed Grimm
That looks like there's something that occasionally goes off and starts spinning, given the low memory usage and the fact that some processes using little cpu are also not swapped out. I suspect that one of your pages has a potential infinite loop that's being triggered. Try and catch at what po

Re: [announce] mod_perl-1.99_01

2002-04-10 Thread Ed Grimm
On Mon, 8 Apr 2002, Stas Bekman wrote: > Ged Haywood wrote: >> Compilations should be SILENT unless something goes wrong. > > The build process takes time, if you don't give an indication > of what's going on users will try to do funky things. Since the > build process is comprised of many small

Re: Apache::DBI or What ?

2002-03-25 Thread Ed Grimm
On Sun, 24 Mar 2002, Andrew Ho wrote: >>What would be ideal is if the database would allow you to change the >>user on the current connection. I know PostgreSQL will allow this >>using the command line interface psql tool (just do \connect >> ), but I'm not sure if you can do this using DBI. >>

Re: Performace...

2002-03-24 Thread Ed Grimm
On Sun, 24 Mar 2002, Kee Hinckley wrote: > At 2:27 PM -0500 3/23/02, Geoffrey Young wrote: >> >>you might be interested in Joshua Chamas' ongoing benchmark project: >> >>[EMAIL PROTECTED]">http://mathforum.org/epigone/modperl/sercrerdprou/[EMAIL PROTECTED] >>http://www.chamas.com/bench/ >> >>he ha

Re: 'Pinning' the root apache process in memory with mlockall

2002-03-22 Thread Ed Grimm
Danger: Rant ahead. Proceed with caution. On Sat, 23 Mar 2002, Stas Bekman wrote: > See the discussion on the [EMAIL PROTECTED] list, > http://marc.theaimsgroup.com/?t=10165973081&r=1&w=2 where it was > said that it's a very bad idea to use mlock and variants. Moreover the > memory doesn't

Re: Berkeley DB 4.0.14 not releasing lockers under mod_perl

2002-03-21 Thread Ed Grimm
Does shutting down apache free up your locks? (As an aside, I'm not sure I'll ever get over undef being proper closing of a database connection; it seems so synonomous to free([23]). I expect something like $db->db_close() or something.) Ed On Thu, 21 Mar 2002, Dan Wilga wrote: > At 2:03 PM -

RE: loss of shared memory in parent httpd

2002-03-16 Thread Ed Grimm
I believe I have the answer... The problem is that the parent httpd swaps, and any new children it creates load the portion of memory that was swaped from swap, which does not make it copy-on-write. The really annoying thing - when memory gets tight, the parent is the most likely httpd process t

Re: [OT] RE: modperl growth

2002-02-05 Thread Ed Grimm
On Tue, 5 Feb 2002, Dave Rolsky wrote: > On Mon, 4 Feb 2002, Andrew Ho wrote: > >> One last thing that is hard is where is your DocumentRoot? This is a huge >> problem for web applications being installable "out of the box." Perl >> can't necessarily figure that out by itself, either. > > You ta

Re: performance coding project? (was: Re: When to cache)

2002-01-26 Thread Ed Grimm
On Sat, 26 Jan 2002, Perrin Harkins wrote: >> It all depends on what kind of application do you have. If you code >> is CPU-bound these seemingly insignificant optimizations can have a >> very significant influence on the overall service performance. > > Do such beasts really exist? I mean, I gu

Re: UI Regression Testing

2002-01-25 Thread Ed Grimm
On Sat, 26 Jan 2002, Gunther Birznieks wrote: > I agree that testing is great, but I think it is quite hard in practice. > Also, I don't think programmers are good to be the main people to write > their own tests. It is "OK" for programmers to write their own tests but > frequently it is the u

Re: Single login/sign-on for different web apps?

2002-01-20 Thread Ed Grimm
On Thu, 17 Jan 2002, Gunther Birznieks wrote: > >Of course, the best authentication system for banking I've seen is > >from UBS. They send you a scratchlist of around 100 numbers. Every > >time you login you use one of the numbers and cross it off. Very > >slick. > > Does that really work in

Re: Single login/sign-on for different web apps?

2002-01-20 Thread Ed Grimm
On Wed, 16 Jan 2002, Medi Montaseri wrote: > I think Netegrity single sing-on system modifies the HTTP server > (possible with mod_perl) to overload or override its native > authoentication and instead contact a Host, Database or LDAP to get > the yes or no along with expiration data it then

Re: Single login/sign-on for different web apps?

2002-01-20 Thread Ed Grimm
of "AuthUserFile" and "AuthGroupFile". > > That instead of > > AuthUserFile "/some/secure/directory/.htpasswd > > One would say > > AuthUserFile "http://xyz.com/some/directory/htpasswd"; > > Then write a GUI (web) inteface to this

RE: mod_perl beginners list

2002-01-20 Thread Ed Grimm
On Tue, 15 Jan 2002, Robert Landrum wrote: > At 10:22 PM + 1/15/02, Matt Sergeant wrote: >>On Tue, 15 Jan 2002, Robert Landrum wrote: >> >>> I've seen nothing on this list that suggests that new users shouldn't >>> ask questions. If they don't ask questions because they're "afraid" >>> of the

Re: Single login/sign-on for different web apps?

2002-01-20 Thread Ed Grimm
On Wed, 16 Jan 2002, Paul Lindner wrote: > On Wed, Jan 16, 2002 at 06:56:37PM -0500, Vsevolod Ilyushchenko wrote: >>> >>> 3) Perl-based applications can just use the module and the common key >>> to decrypt the contents of the cookie to find the authenticated >>> username. If the cookie