6 months of labour

2003-06-23 Thread Clinton Gormley
asters out there, and any information or pictures you can contribute to traveljury would be greatly appreciated. I'm off to South America in a couple of weeks - laptop in hand - to start populating the database. thanks again Clinton Gormley

Re: Sharing memory between children

2003-06-16 Thread Clinton Gormley
On Mon, 2003-06-16 at 13:03, Ged Haywood wrote: > > I had a look at the memory usage of my apache/mod_perl 1 processes, > > and was alarmed to find that only 3Mb of 25Mb processes was being > > shared (and that's straight after startup) I see about the same on my own server when processes get

Re: Sharing memory between children

2003-06-16 Thread Clinton Gormley
On Mon, 2003-06-16 at 12:12, Clinton Gormley wrote: I had a look at the memory usage of my apache/mod_perl 1 processes, and was alarmed to find that only 3Mb of 25Mb processes was being shared (and that's straight after startup) I have gone to great lengths to (1) Pr

Sharing memory between children

2003-06-16 Thread Clinton Gormley
I had a look at the memory usage of my apache/mod_perl 1 processes, and was alarmed to find that only 3Mb of 25Mb processes was being shared (and that's straight after startup) I have gone to great lengths to (1) Preload modules in my startup file (2) Load shared config data during server sta

Re: Compiling Apache::Scoreboard

2003-04-04 Thread Clinton Gormley
reboard? After recompiling Apache with the mod_perl CVS snap shot from 4 April, I'm getting the same error. Any ideas? thanks Clinton

Cross Site Scripting

2003-03-11 Thread Clinton Gormley
n this scenario? I've read the articles on cert.org (http://www.cert.org/tech_tips/malicious_code_mitigation.html) and apache.org (http://httpd.apache.org/info/css-security/encoding_examples.html) thanks Clinton Gormley

Re: Optimising cache performance

2003-03-07 Thread Clinton Gormley
atform." What implications does this have on the size of the cache that can be created with IPC::MM thanks Clinton Gormley

Optimising cache performance

2003-03-07 Thread Clinton Gormley
und reasonable or is overkill many thanks Clinton Gormley

Re: New module : Apache::Session::Manager

2002-11-18 Thread Clinton Gormley
Hi Enrico After posting, I looked at Apache::AuthCookie for the first time - don't why I hadn't looked at it before - to find that I was, indeed, duplicating a lot of work that has been done before. Didn't I feel foolish! It looks like Perrin may have to write a "...why not to write your own

New module : Apache::Session::Manager

2002-11-16 Thread Clinton Gormley
n, so please... README is below. The module is available from : http://cpan.perl.org/modules/by-authors/id/D/DR/DRTECH/Apache-Session-Manager-0.02.tar.gz thanks Clinton Apache/Session/Manager version 0.02 === Apache::Session::Manager provides a wrapper around A

Stylistically : To inherit, or to contain

2002-11-13 Thread Clinton Gormley

When using Apache::DBI...

2002-11-05 Thread Clinton Gormley
Am I correct in this: Apache::DBI can only really do its stuff when you perform a DBI->connect, so by calling $dbh = DBI->connect(..) during PerlChildInit and then never trying to reconnect, you are defeating the purpose of using Apache::DBI. To expand on this, when Apache::DBI intercepts a conn

Should I be coding with mod_perl 2 yet?

2002-11-01 Thread Clinton Gormley
I'm struggling to get anything much working with mod_perl 2. I have installed mod_perl 1.99_07 with Apache 2.0.43. I have read all of the documentation on perl.apache.org. I can get a basic page returned to me with a modperl handler, but as soon as I try to do anything of note (eg Apache->push_ha

Re: [ANNOUNCE] Cache::Cache 1.0

2002-04-15 Thread DeWitt Clinton
On Sat, Apr 13, 2002 at 04:33:11PM +0200, Eric Cholet wrote: > I'm seeing this problem when using Apache::SOAP, using Cache::Cache > 0.99 or 1.0. Downgrading to Digest::MD5 2.12 indeed solves it. Hi -- I recently released version 1.01 of Cache::Cache to CPAN. This version uses Digest::SHA1 as a

Re: [ANNOUNCE] Cache::Cache 1.0

2002-04-07 Thread DeWitt Clinton
On Sun, Apr 07, 2002 at 08:52:59PM +0300, Issac Goldstand wrote: > So how exactly is the auto_purge meant to be used - the > documentation is very hazy on that point (sure I can patch it - but > you have to explain it to me first :)), and I just got lost when > looknig at the module source. The

[ANNOUNCE] Cache::Cache 1.0

2002-04-07 Thread DeWitt Clinton
bin/viewcvs.cgi/perl-cache/ The following is the Cache-Cache-1.0 README file: Copyright (C) 2001 DeWitt Clinton All Rights Reserved You may distribute under the terms of either the GNU General Public License or the Artistic License, as specified in the Perl README file. NAME Cache::Cache

Re: [ANNOUNCE] Apache::Singleton 0.03

2001-12-22 Thread DeWitt Clinton
On Sat, Dec 22, 2001 at 10:39:03PM +0900, Tatsuhiko Miyagawa wrote: > One instance for one server (across all httpd processes). > Implemented using Cache::SharedMemoryCache (IPC). Maybe you want to consider directly using Cache::SharedMemoryBackend instead of the SharedMemoryCache class. The fu

Re: transient object data

2001-12-22 Thread DeWitt Clinton
On Sat, Dec 22, 2001 at 06:11:33AM -0800, brian moseley wrote: > doesn't it seem like there should be a way to denote object > data as transient so that it doesn't get serialized by > Storable, etc? I'd love that as well. For example, when persisting Cache::Object instances I manually strip out

Re: Comparison of different caching schemes

2001-12-12 Thread DeWitt Clinton
On Wed, Dec 12, 2001 at 03:05:33PM +1100, Rob Mueller (fastmail) wrote: > I sat down the other day and wrote a test script to try out various > caching implementations. The script is pretty basic at the moment, I > just wanted to get an idea of the performance of different methods. Rob, wow! Th

Re: [RFC] Apache::CacheContent - Caching PerlFixupHandler

2001-12-11 Thread DeWitt Clinton
On Tue, Dec 11, 2001 at 02:31:36AM -0800, Paul Lindner wrote: > Right. A more elaborate Apache::CacheContent would have a filename > hash function, and a separate cache directory structure along the > lines of Cache::FileCache. Just curious -- any reason not to use Cache::Cache as the persistan

[ANNOUNCE] Cache::Cache 0.99

2001-12-09 Thread DeWitt Clinton
tree (viewcvs): http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/perl-cache/ The following is the Cache-Cache-0.99 README file: Copyright (C) 2001 DeWitt Clinton All Rights Reserved You may distribute under the terms of either the GNU General Public License or the Artistic License, as

Re: Doing Authorization using mod_perl from a programmers perspective

2001-11-19 Thread DeWitt Clinton
On Mon, Nov 19, 2001 at 07:51:55AM -0800, Randal L. Schwartz wrote: > But this is obvious. I'm confused about why I'd have to explain it. :( I posted this a year or two back: [EMAIL PROTECTED]">http://mathforum.org/epigone/modperl/jytwortwor/[EMAIL PROTECTED] Here is the relevant part of tha

Re: Cache::* and MD5 collisions [was: [OT] Data store options]

2001-11-08 Thread DeWitt Clinton
On Thu, Nov 08, 2001 at 01:11:21PM -0500, Barrie Slaymaker wrote: > Even a bit more OT: one thing to watch out for, especially if you > plan on caching a *lot* of data, is that the Cache::* modules did > not do collision detection on MD5 collisions the last time I looked. > Forgive me if that's c

RE: Excellent article on Apache/mod_perl at eToys

2001-10-19 Thread Clinton Gormley
-up when that happens in case anyone wants > to go and look > at the pretty pictures. Hi Perrin What I'd love to see is the avg spec and numbers of machines in each section. So how many proxy, mod_perl and search servers were required to give the phenomenal performance you managed to achieve. thanks Clinton Gormley

Re: Using DOM to build your output documents

2001-10-03 Thread DeWitt Clinton
On Wed, Oct 03, 2001 at 04:43:41PM -0700, Jeffrey W. Baker wrote: > I'd also like to hear people's opinions on XML::DOM (I think it > stinks and I've replaced it with a C DOM implementation). You just proved that you already know everything you need to on the subject of XML::DOM. :) Seriously

RE: ANNOUNCE: Apache::OpenIndex

2001-10-02 Thread Clinton Gormley
> >> OpenIndex provides a file manager for an Apache modperl > web site using a > >> web browser. Looks good George any plans to add better authentication (eg certificates) and to set it up for secure SSL file transfers? Clinton Gormley

Re: MSIISProbes.pm v1.03

2001-09-28 Thread DeWitt Clinton
On Fri, Sep 28, 2001 at 08:49:22AM -0700, Nick Tonkin wrote: > Cache::FileCache defaults to using /tmp for the location of its > cache; does the system have /tmp (not sure what Cache::FileCache does if > there's no /tmp, hafta look at the code). You can manually override the temp directory by se

[ANNOUNCE] Cache::Cache 0.09

2001-09-19 Thread DeWitt Clinton
): http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/perl-cache/ The following is the Cache-Cache-0.09 README file: Copyright (C) 2001 DeWitt Clinton All Rights Reserved You may distribute under the terms of either the GNU General Public License or the Artistic License, as specified in the P

[PRE-ANNOUNCE] Cache::Cache 0.09

2001-09-10 Thread DeWitt Clinton
Hi, If people have a moment, please check out Cache::Cache 0.09, which is available here until I am ready to release it on CPAN: http://prdownloads.sourceforge.net/perl-cache/Cache-Cache-0.09.tar.gz Changes include: - applied Axel Beckert patch to fix the expiration units - applied Ke

Re: Shared memory caching revisited (was "it's supposed to SHARE it, not make more!")

2001-09-04 Thread DeWitt Clinton
On Tue, Sep 04, 2001 at 12:14:52PM -0700, Rob Bloodgood wrote: > ***OH WOW!*** So, DURING the course of composing this message, I've > realized that the function expire_old_accounts() is now redundant! > Cache::Cache takes care of that, both with expires_in and max_size. I'm > leaving it in for

Re: module to hit back at default.ida atack ?

2001-08-06 Thread DeWitt Clinton
On Tue, Aug 07, 2001 at 08:18:18PM +1000, Cees Hek wrote: > So what your saying is that you have a list of potentially rooted machines > that you are making publically available... Doesn't sound like such a > good idea to me... So *that's* why Reuven has CodeRed.pm CC him on the warning emails.

Re: odd behavior with Cache::Cache

2001-08-04 Thread DeWitt Clinton
On Sat, Aug 04, 2001 at 03:06:37PM -0400, DeWitt Clinton wrote: > To quote Jimi Williams, "manager's decision." Yes, I know it is Jimy Williams. See what happens when a lifelong Red Sox fan relocates down to NYC? We start losing our minds... :) -DeWitt

Re: odd behavior with Cache::Cache

2001-08-04 Thread DeWitt Clinton
On Sat, Aug 04, 2001 at 10:34:34AM -0700, brian moseley wrote: > ps: i've modified my code to 1) only get once per request > and 2) set at the end of each request. the net effect is > that stuff works as expected. i'm reasonably happy with the > current state of affairs, but... Excellent, this i

Re: odd behavior with Cache::Cache

2001-08-04 Thread DeWitt Clinton
On Sat, Aug 04, 2001 at 09:17:21AM -0700, brian moseley wrote: > could this be because i'm only ever doing one set, at > session creation time? since i'm using a memory cache, i > didn't expect to have to call set every time i modify the > cached data. Yup. That would be it. Please see my resp

Re: odd behavior with Cache::Cache

2001-08-04 Thread DeWitt Clinton
On Fri, Aug 03, 2001 at 11:33:43PM -0700, brian moseley wrote: > i'm observing some behavior using Cache::Cache that seems > odd, altho it may be due to my faulty understanding of how > the interface works. Can you check the actual data contained within the object? If I understand things right,

[ANNOUNCE] Cache-Cache-0.08

2001-04-27 Thread DeWitt Clinton
-cache/ The following is the Cache-Cache-0.08 README file: Copyright (C) 2001 DeWitt Clinton All Rights Reserved This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation

Re: Getting a Cache::SharedMemoryCache started

2001-03-27 Thread DeWitt Clinton
On Tue, Mar 27, 2001 at 11:57:26PM +0100, Matt wrote: > Thanks for the pointers, unfortunately I've got a problem with the > Shared cache in that I need IPC::ShareLite, no problem, except it > won't test ok, I'm not sure what the IPC::ShareLite problem is, maybe Maurice Aubrey does... In any ca

Re: Getting a Cache::SharedMemoryCache started

2001-03-27 Thread DeWitt Clinton
On Tue, Mar 27, 2001 at 02:38:34PM -0800, Perrin Harkins wrote: > On Tue, 27 Mar 2001, DeWitt Clinton wrote: > > > I imagine that nearly most Perl libraries are not thread safe, of > > course. But code that will be used in mod_perl environments needs > > to be, righ

Re: Getting a Cache::SharedMemoryCache started

2001-03-27 Thread DeWitt Clinton
On Tue, Mar 27, 2001 at 05:19:15PM -0500, Pierre Phaneuf wrote: > DeWitt Clinton wrote: > > > The other question is whether or not to share the cache instance > > itself globally. Technically, this is up to you. Personally I > > wouldn't bother, considering the

Re: Getting a Cache::SharedMemoryCache started

2001-03-27 Thread DeWitt Clinton
On Tue, Mar 27, 2001 at 09:50:33PM +0100, Matt wrote: > I want to cache some values in my handlers so they don't keep having > to look stuff up, and so I figured a Cache::SharedMemoryCache would > be the way to go. It all depends on what you want to cache and why. If you wanted to save a trip t

[ANNOUNCE] Cache-Cache 0.06

2001-03-23 Thread DeWitt Clinton
/cgi-bin/cvsweb.cgi?cvsroot=perl-cache The following is the Cache-Cache-0.06 README file: Copyright (C) 2001 DeWitt Clinton All Rights Reserved This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by

[ANNOUNCE] Cache-Cache-0.05

2001-03-20 Thread DeWitt Clinton
the Cache-Cache-0.05 README file: Copyright (C) 2001 DeWitt Clinton All Rights Reserved This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at

[ANNOUNCE] Cache-Cache-0.04

2001-03-17 Thread DeWitt Clinton
://cvs.sourceforge.net/cgi-bin/cvsweb.cgi?cvsroot=perl-cache The following is the Cache-Cache-0.04 README file: Copyright (C) 2001 DeWitt Clinton All Rights Reserved This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as

[OT] Re: mod_perl shared memory with MM

2001-03-11 Thread DeWitt Clinton
On Sun, Mar 11, 2001 at 03:33:12PM +0100, Christian Jaeger wrote: > I've looked at Cache::FileCache now and think it's (currently) not > possible to use for IPC::FsSharevars: > > I really miss locking capabilities. Imagine a script that reads a > value at the beginning of a request and writes

Re: mod_perl shared memory with MM

2001-03-10 Thread DeWitt Clinton
On Sat, Mar 10, 2001 at 04:35:02PM -0800, Perrin Harkins wrote: > Christian Jaeger wrote: > > Yes, it uses a separate file for each variable. This way also locking > > is solved, each variable has it's own file lock. > > You should take a look at DeWitt Clinton's Cache::FileCache module, > announ

Re: [ANNOUNCE] Cache-Cache-0.03

2001-03-10 Thread DeWitt Clinton
On Sat, Mar 10, 2001 at 12:10:35PM -0800, Perrin Harkins wrote: > "Daniel Little (Metrex)" wrote: > > Along the same lines, how about making SizeAwareMemoryCache as well so that > > you can specify just how much data you want stored in the cache. > > Sounds like Joshua Chamas' Tie::Cache module.

Re: [ANNOUNCE] Cache-Cache-0.03

2001-03-10 Thread DeWitt Clinton
On Sat, Mar 10, 2001 at 02:00:34PM -0600, Daniel Little (Metrex) wrote: > Along the same lines, how about making SizeAwareMemoryCache as well > so that you can specify just how much data you want stored in the > cache. Good idea. I'll add that to the 0.04 feature list as well. Thanks! -DeWitt

Re: [ANNOUNCE] Cache-Cache-0.03

2001-03-10 Thread DeWitt Clinton
On Sat, Mar 10, 2001 at 11:17:21AM -0800, Bill Moseley wrote: > When you say successor to File::Cache does that means File::Cache > will not be maintained as a separate module anymore? There are no features in File::Cache that will not exist in Cache::FileCache and Cache::SizeAwareFileCache. Ac

[ANNOUNCE] Cache-Cache-0.03

2001-03-10 Thread DeWitt Clinton
.sourceforge.net/perl-cache/Cache-Cache-0.03.tar.gz Changelog: http://sourceforge.net/project/shownotes.php?release_id=26779 CVS tree (cvsweb): http://cvs.sourceforge.net/cgi-bin/cvsweb.cgi?cvsroot=perl-cache The following is the Cache-Cache-0.03 README file: Copyright (C) 2001 DeWitt Clinton

Re: [OT] re:advocacy at perl.com

2001-02-16 Thread DeWitt Clinton
On Fri, Feb 16, 2001 at 03:14:37PM +, Matt Sergeant wrote: > I wonder if I should write them an article about take23, and then > use the funds to pay for articles for take23 :-) Geez, Matt, you promote take23 every chance you get. That's worse than me mentioning Avacet (www.avacet.com

[ANNOUNCE] Cache-Cache-0.02

2001-02-16 Thread DeWitt Clinton
Summary: Perl Cache is the successor to the popular File::Cache and IPC::Cache perl libraries. This project unifies those modules under the generic Cache::Cache interface and implements Cache::FileCache, Cache::MemoryCache, Cache::SharedMemoryCache, and Cache::SizeAwareFileCache. Rele

[ANNOUNCE] Cache::Cache 0.01

2001-02-13 Thread DeWitt Clinton
Hello: Perl Cache is the successor to the popular File::Cache and IPC::Cache perl libraries. This project unifies those modules under the generic Cache::Cache interface and implements Cache::FileCache, Cache::MemoryCache, and Cache::SharedMemoryCache. The project is being hosted on Sou

Re: File::Cache problem

2001-02-07 Thread DeWitt Clinton
On Wed, Feb 07, 2001 at 04:02:39PM +0400, BeerBong wrote: > Cache size after 24 hours of working > via 'du -s' - 53M > via 'perl -MFile::Cacje -e"print File::Cache::SIZE('PRTL')"' - 10M That looks like a serious bug. Can you double check on that? Where are you running the "du -s"? The SIZE(

Re: pseudo-hashes? was: Data structure question

2001-01-23 Thread DeWitt Clinton
On Tue, Jan 23, 2001 at 10:06:13AM +, Matt Sergeant wrote: > The only gain might be in a large DOM tree where there may be > thousands of objects. But then you're really better off using an > array based class instead (as I found out). This is getting a bit off-topic, but I'm empirically fou

Re: Caching search results

2001-01-08 Thread DeWitt Clinton
On Mon, Jan 08, 2001 at 10:10:25AM -0800, Perrin Harkins wrote: > Always start with CPAN. Try Tie::FileLRUCache or File::Cache for > starters. A dbm would be fine too, but more trouble to purge old > entries from. If you find that File::Cache works for you, then you may also want to check out t

[ANNOUNCE] Avacet Application Engine 2.0b2

2000-12-28 Thread DeWitt Clinton
Hi! I've been quiet for a while on this list, but I still read it religiously. I wanted to take a second and share our announcement of the release of the second beta of the Avacet Application Engine. Version 2.0b2 of the Avacet Application Engine is available for download at http://www.

[OT ANNOUNCE] Beans-0.01

2000-06-02 Thread DeWitt Clinton
it to CPAN. As always, feedback, advice, and criticism are always welcome. -DeWitt README: Copyright (C) 2000 DeWitt Clinton <[EMAIL PROTECTED]>, Avacet, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public Lice

Re: [OT] Bean::*?

2000-06-01 Thread DeWitt Clinton
On Wed, May 31, 2000 at 04:16:09PM -0700, Perrin Harkins wrote: > Maybe I'm just being thick, but if you leave out the event driven parts of > the spec, what's left that isn't just an ordinary Perl class? You can > easily make classes to hold data using Class::Struct or > Class::MethodMaker. In

[OT] Bean::*?

2000-05-31 Thread DeWitt Clinton
Hi all, Okay, this is a rather ridiculous question. I spent the weekend implementing a property based object model in Java. However, after I finished, someone in my company laughingly pointed out that I had just re-invented Java beans. While there were some minor advantages to the model I came

Re: mod_perl and IPC

2000-05-22 Thread 'DeWitt Clinton'
On Mon, May 22, 2000 at 03:46:41PM -0700, Karyn Ulriksen wrote: > I know what beta testing is, so I hope you didn't think I was trying to yank > your chain! I knew that if it got ugly I could easily take that server > offline and easily back out the code. Ack! I'm sorry for what I think is a m

Re: mod_perl and IPC

2000-05-22 Thread 'DeWitt Clinton'
That's why I wanted more beta testers on real servers. :) You may want to roll back to 0.02 on that server. I'll run some more benchmarks and profile the code to see where the issue is. IPC::Cache actually got a lot lighter, since I'm relying on IPC::SharedCache to do most of the work. I'l

Re: mod_perl and IPC

2000-05-22 Thread DeWitt Clinton
On Mon, May 22, 2000 at 04:35:54PM -0400, Drew Taylor wrote: > Could I ask what the problems you were having? I can't use > IPC::SharedCache currently because I get the error "Couldn't find free > segment" or something like that when trying to initialize the cache. The > system engineers are supp

Re: mod_perl and IPC

2000-05-22 Thread DeWitt Clinton
On Mon, May 22, 2000 at 12:06:20PM -0700, Karyn Ulriksen wrote: > IPC::Cache has worked like a champ for me on a heavily loaded webserver. > It's simple and (I'm lead to believe) it's a compiled module. You interact > with it like a hash file, but if you're clever you can work it out for your >

Re: Implementing security in CGI

2000-04-20 Thread DeWitt Clinton
Hi, Interesting thread and interesting question. It makes sense to start with the requirements for what it means to implement those secure features. My requirements have an obvious e-commerce bias, and should probably be heavily reviewed by anyone thinking of using this design for onli

Re: XML::Parser causing SEGFAULT in Apache under mod_perl

2000-04-18 Thread DeWitt Clinton
On Tue, Apr 18, 2000 at 12:43:57PM -0400, Delaporta, Michael wrote: > I'm currently using XML::Parser (2.28) under Apache (1.3.11) and > mod_perl (1.21) and have noticed a fairly large number of segfaults in > the Apache error_log. > > I noticed a discussion about this problem on the list about

Re: Caching DBI handles with IPC?

2000-02-08 Thread DeWitt Clinton
On Tue, 8 Feb 2000, Saar Picker wrote: > I've been trying cache DBI database handles using IPC::Shareable and > IPC::Cache(based on ShareLite) without much luck. This is not necessarily > a mod-perl problem, but I figured someone on this list must have tried > this already. Hi Saar -- sorry I ha

Re: Caching DB queries amongst multiple httpd child processes

2000-02-03 Thread DeWitt Clinton
On Thu, 3 Feb 2000, Peter Skipworth wrote: > Does anyone have any experience in using IPC shared memory or similar in > caching data amongst multiple httpd daemons ? Well, I just released IPC::Cache version 0.02 to CPAN. Two major caveats, however -- first, it is not currently in production on

Version 0.02 of IPC::Cache available

2000-02-01 Thread DeWitt Clinton
Hi, [I sent this out a while back, but it never made it through. Odd.] Based on some great feedback from this list, I was able to remove the dependency on IPC::Shareable. Not that I dislike IPC::Shareable -- to the contrary, it does what it does rather well -- but I was really looking for some

UK based modperl agency required for Virgin

2000-01-31 Thread Clinton Gormley
] thanks Clinton Gormley Webmaster, Orgasmic Wines http://www.orgasmicwines.com

IPC::Cache version 0.01 available

2000-01-30 Thread DeWitt Clinton
Hi, A week or two ago, in the squid performance thread, I mentioned that I was looking for ways to eliminate squid from our production servers. I noted that we are using squid to save an expensive trip to the database to retrieve mostly static files. At that time I said that I planned to write

Re: numerous segv's, bus error

2000-01-26 Thread DeWitt Clinton
[apologies if people get this twice -- it seemed to bounce the first time] > We've been getting many segv's and bus errors on apache processes since > adding modperl. Env: Apache 1.3.11 (though we had the same thing > under 1.3.9.), Perl 5.005003, modperl 1.21, hpux 11.00. If you compare this

Regular segfaults with apache_1.3.11 and mod_perl-1.21

2000-01-25 Thread DeWitt Clinton
Hi, I'm in the process of upgrading our servers (hoping to replace Stronghold with mod_ssl) and I came across a problem with a segfaulting httpd. I'm using: apache_1.3.11 openssl-0.9.4 mod_ssl-2.5.0-1.3.11 mod_perl-1.21 HTML-Embperl-1.2.1 After some number of requests (sometimes the

Re: squid performance

2000-01-16 Thread DeWitt Clinton
On Sun, 16 Jan 2000, Steven Lembark wrote: > given you have the core to support it... try using libmm and > a tied hash to just stash the stuff until it's asked for. Actually, we are currently developing a generic object caching interface that will support a TTL based on expiration dates, and

Re: squid performance

2000-01-16 Thread DeWitt Clinton
On Fri, 14 Jan 2000 [EMAIL PROTECTED] wrote: > Hi, I am switching my modperl site to squid in httpd acclerator mode > and everything works as advertised, but was very surprised to find > squid 10x slower than apache on a cached 6k gif as measured by > apache bench... 100 requests/second vs almost

SegFaults caused by Apache::Cookie during ChildExit

1999-12-22 Thread Clinton Gormley
I am using a home-baked session manager on my web site. I clean up expired sessions by called a child exit handlder and this all worked rather well. However, we have recompiled Perl, Apache, mod_perl and Perl modules with pgcc and a different configuration (removed all modules we didn't need), a

RE: Potential bug in HTML::Embperl 1.2.0

1999-12-09 Thread DeWitt Clinton
On Thu, 9 Dec 1999, Gerald Richter wrote: > So the solution to your problem should be, to use a fixed package name for > all calls to the _same_ page. Brilliant! This does address exactly the problem I raised, and makes perfect sense. I had to do one absolutely wacky thing, though. Because I

RE: Potential bug in HTML::Embperl 1.2.0

1999-12-09 Thread DeWitt Clinton
On Thu, 9 Dec 1999, Gerald Richter wrote: > If I had understand you right, the first call via execute to your template > works and the second not, right? > > That's not a bug! Embperl cleans up all your global variables inside your > page after every request. $vars in your template is such a glo

RE: Potential bug in HTML::Embperl 1.2.0

1999-12-09 Thread DeWitt Clinton
On Thu, 9 Dec 1999, Gerald Richter wrote: > Rereading your first mail, seems to me that there is an additional problem > with Embperl's cleanup. This has nothing todo with Safe namespaces. Embperl > will per default tidyup your namespace and therefor execute something like > $vars = undef at the

RE: Potential bug in HTML::Embperl 1.2.0

1999-12-09 Thread DeWitt Clinton
On Thu, 9 Dec 1999, Gerald Richter wrote: > The problem is, that Embperl must know, that you want to run in a Safe > compartement. Just add > > 'options' => HTML::Embperl::optSafeNamespace > > to the Excute parameters and it should work. Right. That makes sense, and it is definitely a good id

Compiling mod_perl with different versions of Perl

1999-12-01 Thread Clinton Gormley
matter at compile time, or is it sufficient that the default Perl binary is the correct one at run time? Does the binary you use to run Makefile.pl have any influence? Any help greatly appreciated Thanks Clinton Gormley

RE: Memory problems

1999-11-09 Thread Clinton Gormley
> Why is it that my memory usage is going up and up, and > shutting down the two > major consumers of memory (Apache/mod_perl and MySQL) don't > reclaim that > memory? > > I am running RedHat 6, with Apache 1.3.9, mod_perl 1.21, and > MySQL 3.23a. As an aswer to my question to anybody in a si

Memory problems

1999-11-06 Thread clinton
Why is it that my memory usage is going up and up, and shutting down the two major consumers of memory (Apache/mod_perl and MySQL) don't reclaim that memory? I am running RedHat 6, with Apache 1.3.9, mod_perl 1.21, and MySQL 3.23a. I restarted my web server a week ago, at which stage the running

RE: Memory problems

1999-11-02 Thread clinton
Thanks Greg > I strongly suggest you move the images to a separate hostname > altogether. The > proxy is a good idea but there are other useful effects of > having a separate > server altogether that I plan to write about in a separate > message sometime. > This does mean rewriting all your img t

Memory problems

1999-11-02 Thread Clinton Gormley
Hi I had huge problems yesterday. Our web site made it in to the Sunday Times and has had to serve 1/2 million request in the last 2 days. Had I set it up to have proxy servers and a separate mod_perl server? No. DOH! So what happened to my 1Gig baby? It died. A sad and unhappy death. I am i

RE: -HUP makes httpd grow

1999-10-16 Thread clinton
> -Original Message- > From: Miguel A.L. Paraz [mailto:[EMAIL PROTECTED]] > Sent: 16 October 1999 11:27 > To: [EMAIL PROTECTED] > Subject: -HUP makes httpd grow > > > I'm sorry if this is a FAQ... > > Every time I give httpd a -HUP to make .conf changes take effect, the > memory consumpti

RE: More on web application performance with DBI

1999-10-15 Thread clinton
When you refer to bound parameters, do you refer only to the use of $sth->bind_param, or would calling $sth->execute($foo,$bar) also qualify. Is there any difference between using these methods other than clarity of code? Thanks Clint > -Original Message- > From: Jeffrey W. Baker [mai

RE: Logging Session IDs from environment variables

1999-10-15 Thread clinton
Many thanks Geoff I feel rather embarassed to admit my stupidity here. Most pages didn't include the ID from notes because (DOH!) they were images and the browser was not required to prove its identity. When I scanned up the page a bit... indeed there they were My apologies, and again thanks

Logging Session IDs from environment variables

1999-10-12 Thread clinton
Hi all I have asked this before, but I still haven't managed to shed any light on it, so I was hoping that somebody might be able to shed some more light. (While you're about it, have a look at the site we have just launched : http://www.orgasmicwines.com - mod_perl & mysql based site.) If I st

Logging Session IDs from environment variables

1999-10-11 Thread Clinton Gormley
Hi all I have asked this before, but I still haven't managed to shed any light on it, so I was hoping that somebody might be able to shed some more light. (While you're about it, have a look at the site we have just launched : http://www.orgasmicwines.com - mod_perl & mysql based site.) If I st

RE: Apache and too many children

1999-01-17 Thread Clinton Gormley
You need to set MaxClients to the maximum number of children you want. Clint > -Original Message- > From: Anthony Gardner [mailto:[EMAIL PROTECTED]] > Sent: Friday, November 19, 1999 2:46 PM > To: [EMAIL PROTECTED] > Subject: Apache and too many children > > > All, > > Apache is spaw