Re: PerlFreshRestart, mod_perl DSO, and Apache::StatINC

2002-03-07 Thread Perrin Harkins
customers were on the site. - Perrin

Re: PerlFreshRestart, mod_perl DSO, and Apache::StatINC

2002-03-07 Thread Perrin Harkins
databases and synchronization, but it's just not worth it. - Perrin

Re: PerlFreshRestart, mod_perl DSO, and Apache::StatINC

2002-03-07 Thread Perrin Harkins
. - Perrin

Re: Response-Debug and IIS

2002-03-08 Thread Perrin Harkins
Mike Martinet wrote: Can anyone tell me if $Response-Debug from Apache::ASP is implemented in ActiveState Perl under IIS? Since your questions is about Microsoft ASP, you might want to ask it on a Microsoft ASP list. You already know that Apache::ASP supports it. - Perrin

Re: apache for windows/linux

2002-03-11 Thread Perrin Harkins
about this on the main mod_perl page. - Perrin

Re: [OT?] What exactly is forwarding?

2002-03-12 Thread Perrin Harkins
it. Doing a forward is essentially a GOTO statement for JSP. When I write mod_perl apps, I never feel the need for that sort of thing, with so many better ways to accomplish things (OO, method calls, dispatch tables, template includes). - Perrin

Re: loss of shared memory in parent httpd

2002-03-12 Thread Perrin Harkins
code on separate pages from variable storage. - Perrin

Re: Debugging mod_perl

2002-03-12 Thread Perrin Harkins
through for the problem. Take stuff out until it stops segfaulting. If you want some help figuring out why that part segfaults when you find it, post it here. - Perrin

Re: loss of shared memory in parent httpd

2002-03-12 Thread Perrin Harkins
. - Perrin

Re: Apache::TicketAccess

2002-03-12 Thread Perrin Harkins
. - Perrin

Re: trouble with GTop and

2002-03-12 Thread Perrin Harkins
Bill Marrs wrote: When I install the recent Redhat 7.2 updates for glibc: glibc-2.2.4-19.3.i386.rpm glibc-common-2.2.4-19.3.i386.rpm glibc-devel-2.2.4-19.3.i386.rpm It breaks my Apache GTop-based Perl modules, in a way that I don't understand. [...] Anyone have a clue about what I'd

Re: Apache::TicketAccess

2002-03-12 Thread Perrin Harkins
Apache::TicketAccess, but it looks fine. Anyway, you aren't having problems with Apache::TicketAccess, you're having problems with MD5. Any auth scheme is likely to want a working MD5. - Perrin

Re: Cache::SharedMemoryCache locking up on Solaris

2002-03-12 Thread Perrin Harkins
benchmarks posted here a while back which might interest you. The thread starts here: http://marc.theaimsgroup.com/?l=apache-modperlm=10081212375w=2 - Perrin

Re: Apache::TicketAccess

2002-03-12 Thread Perrin Harkins
. - Perrin

Re: query

2002-03-13 Thread Perrin Harkins
of the perl books we referered to. Yes, it is new in 5.6. The most recent version of the camel book describes it, and so do the man pages. - Perrin

Re: Memory query

2002-03-13 Thread Perrin Harkins
::Sync takes care of all of that for you. - Perrin

Re: performance testing - emulating real world use

2002-03-13 Thread Perrin Harkins
been discussed on this list before. - Perrin

Re: Serious bug, mixing mod-perl content

2002-03-13 Thread Perrin Harkins
Could you describe the actual nature of the error? How can you tell that the response you're getting is from the wrong virtual host and what is different about the virtual hosts' setup that causes the difference in responses? - Perrin

Re: Apache-print Timeout

2002-03-13 Thread Perrin Harkins
Geoffrey Young wrote: I don't have a copy of the Eagle book in front of me The API chapter is online and it talks about print() and timeouts: http://modperl.com:9000/book/chapters/ch9.html - Perrin

Re: Serious bug, mixing mod-perl content

2002-03-14 Thread Perrin Harkins
sure you aren't just having namespace problems? If this code is in a module which has the same name for both versions, you can only have one version loaded in each perl interpreter. - Perrin

[OT] underscores vs. init caps

2002-03-15 Thread Perrin Harkins
changing. - Perrin

Re: 2 httpd processes looping in SQL statement

2002-03-18 Thread Perrin Harkins
. You should try to figure out what sort of request triggers it. Maybe you can add some logging to your application or use the MOD_PERL_TRACE feature to figure it out. - Perrin

Re: Global configuration

2002-03-19 Thread Perrin Harkins
and then override certain settings with a local file on each machine. - Perrin

Re: Security of a modperl enabled site

2002-03-19 Thread Perrin Harkins
.html - Perrin

Re: Subroutines taking time to return..

2002-03-21 Thread Perrin Harkins
other modules. Otherwise, the debugging symbols don't get put into your code. - Perrin

Re: Off topic question a little worried

2002-03-21 Thread Perrin Harkins
. Take it off-line now, before you find out it sent millions of porn spam messages. You can study it later to try and find the problem. - Perrin

Re: modperl and SQL db select

2002-03-21 Thread Perrin Harkins
Please, please, please KILL THIS THREAD!

Re: Berkeley DB 4.0.14 not releasing lockers under mod_perl

2002-03-21 Thread Perrin Harkins
College alumn, I remember it well.) - Perrin

Re: Berkeley DB 4.0.14 not releasing lockers under mod_perl

2002-03-21 Thread Perrin Harkins
, but are you running it under Apache::Registry? Maybe the nested subroutines that creates are causing problems. - Perrin

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

2002-03-22 Thread Perrin Harkins
(giving better performance for the people who are on at that time), but I never thought of a good way to do it. - Perrin

Re: PerlModule hell - questions and comments

2002-03-22 Thread Perrin Harkins
would be using Embperl or custom conf directives. - Perrin

Re: PerlModule hell - questions and comments

2002-03-22 Thread Perrin Harkins
unloaded the perl stuff will too. In your case, PerlFreshRestart might help with what you're trying to do since it will clear %INC, but you may still have the problem with needing to call Init. - Perrin

Re: Performace...

2002-03-23 Thread Perrin Harkins
, which you will also find in the archives. - Perrin

Re: the Guide

2002-03-24 Thread Perrin Harkins
for the manual also. There is plenty of documentation on building and working with mod_perl included in the standard mod_perl package. The guide is in addition to that documentation. - Perrin

Re: Apache::DBI or What ?

2002-03-25 Thread Perrin Harkins
systems to have slow connection times. There are databases that allow you to change the current user without reconnecting. In fact someone posted a module to do this a while back, but I can't remember which database it was for. Seems like it was Sybase or Informix. - Perrin

Re: How to get two perl namespaces in apache

2002-03-26 Thread Perrin Harkins
Ernest Lergon wrote: just throwing a glance I found: http://thingy.kcilink.com/modperlguide/modules/Apache_PerlVINC_Allows_Module.html Not a good idea for production use. It will slow things down. Handy for development with multiple projects using separate virtual hosts though. - Perrin

Re: AddModule mod_perl.c

2002-03-27 Thread Perrin Harkins
it your best bet is to let the mod_perl build script do the LoadModule/AddModule stuff for you, which it will do if you tell it to with the USE_DSO=1 flag. - Perrin

Re: AddModule mod_perl.c

2002-03-27 Thread Perrin Harkins
Sorry you're having so much trouble with the install. It goes pretty smoothly for most people, but you are complicating things a bit by putting PHP and SSL in the mix on your first try. Perrin, I have no idea if DSO is still involved Apache will not build DSO unless you tell it to. Your

Re: Segmentation fault 11 (php/mod_perl)

2002-03-28 Thread Perrin Harkins
compile. And then what happened? Did you start with a clean conf file? There should be no LoadModule/AddModule stuff in it for a static server. - Perrin

Re: startup vs. child initialization question

2002-04-01 Thread Perrin Harkins
it too, for anything that might vary by virtual host. - Perrin

Re: Global Config Module

2002-04-01 Thread Perrin Harkins
, but the where's and whens of mod_perl still leave me a bit unclear. It's mostly a question of understanding the lifecycle of the Apache server. You'll get it. - Perrin

Re: Global Config Module

2002-04-01 Thread Perrin Harkins
of global application state, use MLDBM::Sync or Cache::Cache. For user sessions, look at Apache::Session. - Perrin

Re: general timeout for mod_perl scripts?

2002-04-01 Thread Perrin Harkins
. But if you're just trying to prevent runaway servers, I'd suggest Apache::Resource. - Perrin

Re: Proxy authentication against a mod_perl backend - how?

2002-04-01 Thread Perrin Harkins
do the slow work of dribbling the bytes out to clients. - Perrin

Re: Astronomical Information

2002-04-01 Thread Perrin Harkins
Maybe i have been searching for the wrong keywords or been looking in the wrong places You have. Try this: http://search.cpan.org/search?mode=distquery=astro - Perrin

Re: Apache::DBI or What ?

2002-04-02 Thread Perrin Harkins
it will probably not work with MySQL. Of course MySQL connects really quickly, so you can probably get perfectly good performance without using Apache::DBI at all. - Perrin

Re: PDF generation

2002-04-04 Thread Perrin Harkins
Mike808 wrote: Don't know if you can run a JServ+mod_perl or JPerl hybrid, though. You can, but it would be the biggest memory hog every created, since it would be running a JVM in addition to the Perl interpreters. - Perrin

Re: Problem with DBM concurrent access

2002-04-04 Thread Perrin Harkins
to tie and untie on each request. There's some discussion of this in the Guide. As an alternative, you could look at using BerkeleyDB, or MLDBM::Sync (which does the tie/untie for you). - Perrin

Re: Problem with DBM concurrent access

2002-04-04 Thread Perrin Harkins
and will not pick up changed data unless you untie and re-tie. I remember a good discussion about this on the list a year or two back. - Perrin

Re: Thanks and GoodBye

2002-04-05 Thread Perrin Harkins
suggest you look at SpeedyCGI (http://daemoninc.com/speedycgi/), which offers similar speedups for CGI scripts but does not require you to recompile Apache. It doesn't have the same feature set as mod_perl, but all you wanted to do was speed up your existing CGI scripts anyway. - Perrin

Re: mod_perl Cook Book

2002-04-05 Thread Perrin Harkins
Rasoul Hajikhani wrote: Has anyone purchased the mod_perl cook book from this list? If so, what do you think of it? Is it a good buy? Yes. Go get it. - Perrin

Re: Pipelinning Output APP Framework

2002-04-05 Thread Perrin Harkins
summarized the best ones at http://perl.apache.org/features/tmpl-cmp.html. - Perrin

Re: tt2 using mason tags

2002-04-08 Thread Perrin Harkins
to port some code before it will run. - Perrin

Re: Ordering in %INC for PerlRestart

2002-04-08 Thread Perrin Harkins
for this ? I always stop (with SIGTERM) and start my servers rather than using restart (SIGUSR1) as I find that there are fewer surprises. I think that Perrin will agree. There are very few systems that can't cope with a few seconds of downtime. It's certainly a lot safer, and it won't trash

Re: mod_perl and open files limit

2002-04-08 Thread Perrin Harkins
Ged Haywood wrote: I'd suggest setting MaxRequestsPerChild to a low value (I generally use something in the range of 50-100 but Perrin will tell you that's *very* low... :) to avoid leak problems. A setting of 0 is fine, as long as you are using Apache::SizeLimit or Apache::GTopLimit

Re: tt2 using mason tags

2002-04-08 Thread Perrin Harkins
. If you post an example of the troublesome templates on the TT list, someone will probably be able to help you. - Perrin

Re: Unsubscribe me please [KILL THIS THREAD]

2002-04-09 Thread Perrin Harkins
Please kill this thread. Some people are not good at dealing with mailing lists. At least this guy was polite. - Perrin

Re: Ordering in %INC for PerlRestart

2002-04-10 Thread Perrin Harkins
a lot in mod_perl to get Restart fully working. You can send your patches to the dev list. However, most effort is focused on getting mod_perl 2 out right now. - Perrin

Re: alarms

2002-04-10 Thread Perrin Harkins
) ? No, only when you call exit or child_terminate(). - Perrin

Re: [Fwd: Re: How to reload PERL module in all Apache children]

2002-04-11 Thread Perrin Harkins
? even if that would work, it would kill performance due to required mutex locking. and that locking would need to happen in the perl core, unlike simple scalars, arrays and hashes. Does it look you'll be able to get the solar variables idea to work for those data types? - Perrin

Re: Enforcing user logged in from only 1 browser?

2002-04-15 Thread Perrin Harkins
the same user), and if the user authenticates, you put his user ID into the session data. You would have to do the auth part yourself, as well as the actual cookie handling, or else hack AuthCookie to cooperate with Apache::Session. - Perrin

Re: Kind-of PerlSections, and location question

2002-04-15 Thread Perrin Harkins
to be able to update it without restarting apache. - Perrin

Re: [OT] [ANNOUNCE] mod_log_sqlite

2002-04-15 Thread Perrin Harkins
. The SQLite FAQ seems to suggest that SQLite isn't very good at parallel read/write situations: http://www.hwaci.com/sw/sqlite/faq.html#q6 Have you seen any problems so far? - Perrin

Re: PerlRequire

2002-04-16 Thread Perrin Harkins
#How_can_I_tell_whether_mod_perl_ - Perrin

Re: PerlRequire -mod_perl-2 - Apache 2.0.35

2002-04-16 Thread Perrin Harkins
need to use Apache 2 and mod_perl 2? Why not use the proven 1.x series? It's still pretty early to be using the new stuff. - Perrin

Re: Apache::DProf seg faulting

2002-04-16 Thread Perrin Harkins
to call Apache::DB-init or else the debugging symbols would not get put in for modules that I used in my startup.pl, and they would not get profiled. - Perrin

Re: Sharing Variable Across Apache Children

2002-04-17 Thread Perrin Harkins
getting it to work. Note that this is not shared acorss all the machine in the cluster unless you used a shared filesystem like NFS. - Perrin

Re: Sharing Variable Across Apache Children

2002-04-17 Thread Perrin Harkins
, others use semaphores, and still others use tricks like atomic file renames. The ones I mentioned in this thead (MLDBM::Sync and Cache::Cache) are both written to provide safe multi-process access. - Perrin

Re: [OT] Encrypting Embedded URLs

2002-04-18 Thread Perrin Harkins
Nigel Hamilton wrote: I'm looking for a two-way cipher to obfuscate URL parameters safely and succinctly (not too many extra characters). Try Crypt::CBC. - Perrin

Re: Apache::DProf seg faulting

2002-04-19 Thread Perrin Harkins
.. And well, it just kinda stuck. I used to do it because if I didn't DProf would not know anything about modules I pull in from startup.pl (since the debugger was not initialized until after they were loaded). This may not be necessary anymore. - Perrin

Re: [OT] Doubt on directories for development

2002-04-22 Thread Perrin Harkins
standard login (a security hole, but it's just my personal machine and not visible on the Internet), and keep a root shell open for restarting the server. That works fine unless you have mutiple users developing on the same box. - Perrin

Re: Q A: $r-custom_response

2002-04-23 Thread Perrin Harkins
will have real constants, but I'm perfectly happy with package variables in the meantime. - Perrin

Re: Q A: $r-custom_response

2002-04-23 Thread Perrin Harkins
? - Perrin

Re: Q A: $r-custom_response

2002-04-23 Thread Perrin Harkins
is difficult to replace, so everyone will just have to keep an eye out for this sort of problem. - Perrin

Re: [Q maybe OT] forward

2002-04-24 Thread Perrin Harkins
. - Perrin

Re: Apache2/mod_perl2 an order of magnitude more powerful?

2002-04-24 Thread Perrin Harkins
savings from sharing the opcode tree, but each Expect it to be better, but you don't get something (unlimited parallelism) for nothing (limited RAM). - Perrin

Re: full-featured online database apps

2002-04-24 Thread Perrin Harkins
separating presentation out into templates helping with code reusability is a good one, so let's just leave it at that. - Perrin

Re: Apache::OK error

2002-04-25 Thread Perrin Harkins
Lihn, Steve wrote: [Thu Apr 25 15:32:15 2002] [error] Bareword Apache::OK not allowed while strict subs in use at C:\Apache2/blib/lib/Apache2/Apache/Echo.pm line 25. Compilation failed in require at (eval 2) line 3. What do I miss? Try Apache::OK() instead. Damn these faux constants!

Re: Apache::OK error

2002-04-25 Thread Perrin Harkins
Oops, that's right, it's in the Apache::Constants package. Changing your code to say Apache::Constants::OK should do it. No need to import all of that stuff unless you want to. Jon Robison wrote: maybe a use Apache::Constants qw/ :common /; --Jon Robison Lihn, Steve wrote: Hi,

Re: Memory explodes loading CSV into hash

2002-04-28 Thread Perrin Harkins
with 4 entries each. There is some discussion of this in the Advanced Perl Programming book, and probably some CPAN modules that can help. - Perrin

Re: Memory explodes loading CSV into hash

2002-04-29 Thread Perrin Harkins
of shared memory, as long as it stays shared. If that doesn't work for you, your only choice will be to trade some speed for reduced memory useage, by using a disk-based structure. At any rate, mod_perl doesn't seem to be at fault here. It's just a general perl issue. - Perrin

Re: schedule server possible?

2002-04-29 Thread Perrin Harkins
exist on Win32. It's called Scheduled Tasks. I use it all the time to kick off perl scripts. - Perrin

Re: Cheap and unique

2002-04-30 Thread Perrin Harkins
? Yes, mod_unique_id will do that, as will Sys::UniqueID and Data::UUID on CPAN. Of course that random function is probably very lightweight, but it's not actually unique. - Perrin

Re: Cheap and unique

2002-04-30 Thread Perrin Harkins
OCNS Consulting wrote: Check your Programming in PERL book. Specifically, the srand function. 'random' ne 'unique' A random function could return the same number 10 times in a row. It's very unlikely, but it could happen. That's the definition of random. - Perrin

Re: SOAP and web services

2002-05-02 Thread Perrin Harkins
you use mod_proxy in your web server and a backend system with mod_perl on it. - Perrin

Re: Using a 404 ErrorDocument to serve content

2002-05-06 Thread Perrin Harkins
. That might be more correct, but trapping 404 is the best possible performance, since there is no additional code in the response chain if the static file is there. - Perrin

Re: Cheap and unique

2002-05-06 Thread Perrin Harkins
this is to use a MAC like MD5 or SHA1, as described in the Eagle book and O'Reilly's CGI book. This makes it very difficult for an attacker to generate a valid ID, even if the sequence of IDs is predictable. - Perrin

Re: Cheap and unique

2002-05-06 Thread Perrin Harkins
/ch08.html - Perrin

Re: convention on logging?

2002-05-07 Thread Perrin Harkins
modules on CPAN. - Perrin

Re: Apache::Session

2002-05-09 Thread Perrin Harkins
that the file locks would probably make the system hang if the session wasn't getting cleaned up. I don't know what else could be causing your problem, but I would still suggest trying Apache::Session::File as a potential fix. - Perrin

Re: Load Balancing, mod_proxy, rewrite problem

2002-05-14 Thread Perrin Harkins
, it seems like perl script is waiting indeffinetly for input. Sorry, this is not a mod_perl problem. You should try the general Apache user mailing lists, or see if there's a list or newsgroup for mod_rewrite. - Perrin

Re: mod_perl and mod_cgi

2002-05-16 Thread Perrin Harkins
this using the instructions in the guide. One quick way is to check the value of $ENV{'MOD_PERL'}. Also, which platform are you on and what are your settings for MaxClients and MaxRequestsPerChild form httpd.conf? - Perrin

Re: '' in regex

2002-05-18 Thread Perrin Harkins
question on http://perlmonks.org/. - Perrin

Re: mod_perl and mod_cgi

2002-05-18 Thread Perrin Harkins
::GTopLimit. There's a lot of information about these settings in the guide at http://perl.apache.org/guide/. - Perrin

Re: Apache::DBI

2002-05-18 Thread Perrin Harkins
will have his/her own unique file/table within this database which requires a unique username/password to access. So that security is handled by your program, not by the database? No problem for Apache::DBI logins then. - Perrin

Re: Apache::DBI

2002-05-18 Thread Perrin Harkins
Gregory Matthews wrote: Yes, my prog checks for valid username/password requests and issues the proper response. So it sounds like Apache::DBI is a good solution then since all users will be working under the same handle? Yes, that's correct.

Re: Memory Leaks

2002-05-19 Thread Perrin Harkins
. If you slurp a large file into a global, your process will grow, but the same is true for a lexical. - Perrin

Re: Memory Leaks

2002-05-19 Thread Perrin Harkins
will be avoided? Using strict is an absolute must for many reasons. It won't prevent you from using up tons of memory though. You have to become tuned in to the things that use up memory so that you can avoid them. Start with the Guide. - Perrin

Re: sending CGI ouput through a handler

2002-05-19 Thread Perrin Harkins
or Registry and add your handler code to it. - Perrin

Re: Memory Leaks

2002-05-20 Thread Perrin Harkins
this in the past. The ideal situation is to have a cluster that you can do a rolling restart on without making the service totally unavailable. - Perrin

<    3   4   5   6   7   8   9   10   11   12   >