cvs commit: modperl-2.0/xs/APR/PerlIO apr_perlio.c

2002-08-21 Thread stas
stas2002/08/21 08:40:17 Modified:xs/APR/PerlIO apr_perlio.c Log: - try to go without the dup() in the non-perlio case, leave enough comments to easily reconstruct the dupping code correctly if that proves to be wrong. - add some debug tracing code Revision Changes

cvs commit: modperl-2.0/xs/APR/PerlIO apr_perlio.c

2002-08-21 Thread stas
stas2002/08/21 08:41:29 Modified:xs/APR/PerlIO apr_perlio.c Log: similar to the perlio case: - IoIFP(io) *must* be always set on the valid io sv, otherwise it'll be never closed and fh and memory leaked. as i saw from doio.c, the solution is to simply copy IoOFP.

Re: process priorities and performance

2002-08-21 Thread James G Smith
Jim Helm [EMAIL PROTECTED] wrote: Everything I've read as an SA (for Solaris at least - though I would expect the other *nices to be similar) was to never set a user space (non O/S) process to less than -15. Other than that, it's another of those YMMV, measure before and after, and if it helps

installing mod_perl on binar

2002-08-21 Thread Hytham Shehab
hi guys, how can i install mod_perl under a pre-installed Apache 2 binary installation? all what i found through docs is installing via source copies. thanks -- Hytham Shehab

Re: Apache::Session - What goes in session?

2002-08-21 Thread Ask Bjoern Hansen
On Tue, 20 Aug 2002 [EMAIL PROTECTED] wrote: We are investigating using IPC rather then a file based structure but its purely investigation at this point. What are the speed diffs between an IPC cache and a Berkely DB cache. My gut instinct always screams 'Stay Off The Disk' but my gut is

Re: installing mod_perl on binar

2002-08-21 Thread Stas Bekman
Hytham Shehab wrote: hi guys, how can i install mod_perl under a pre-installed Apache 2 binary installation? all what i found through docs is installing via source copies. You don't say what platform you are on. On Unix it's all the same, just skip the build/installation of the Apache

Re: installing mod_perl on binar

2002-08-21 Thread Randy Kobes
On Wed, 21 Aug 2002, Stas Bekman wrote: Hytham Shehab wrote: hi guys, how can i install mod_perl under a pre-installed Apache 2 binary installation? all what i found through docs is installing via source copies. You don't say what platform you are on. On Unix it's all the same,

$r-path_info() getting confused

2002-08-21 Thread Fran Fabrizio
In my conf file, I have the following directives: Location /rms AuthType Apache::AuthCookieRMSDBI AuthName RMS PerlAuthenHandler Apache::AuthCookieRMSDBI-authenticate PerlAuthzHandler Apache::AuthCookieRMSDBI-authorize require valid-user /Location Location /rms/module

Re: installing mod_perl on binar

2002-08-21 Thread Hytham Shehab
hi guys, while am using activeperl on XP, i have installed mod_perl v1.27_01-dev using ppm, but after getting the whole thing, some script runs and offer me to create apache/modules/, when i answere with yes, it bail out upnormally, telling me 'something' i didn't figure out about

Re: $r-path_info() getting confused

2002-08-21 Thread Geoffrey Young
Fran Fabrizio wrote: In my conf file, I have the following directives: Location /rms AuthType Apache::AuthCookieRMSDBI AuthName RMS PerlAuthenHandler Apache::AuthCookieRMSDBI-authenticate PerlAuthzHandler Apache::AuthCookieRMSDBI-authorize require valid-user

Re: $r-path_info() getting confused

2002-08-21 Thread darren chamberlain
* Fran Fabrizio [EMAIL PROTECTED] [2002-08-21 11:03]: Location /rms /Location Location /rms/module /Location When I call the URL /rms/module/foo, and in RMS::Control::Module-handler I examine $r-path_info, I get as a value '/module/foo' rather than the expected '/foo'. If apache

Re: Apache::Session - What goes in session?

2002-08-21 Thread Peter J. Schoenster
On 21 Aug 2002 at 2:09, Ask Bjoern Hansen wrote: Now using good old Fcntl to control access to simple flat files. (Data serialized with pack(N*, ...); I don't think anything beats pack and unpack for serializing data). The expiration went into the data and purging the cache was a simple

RE: Apache::Session - What goes in session?

2002-08-21 Thread Jesse Erlbaum
Hi Peter -- The morale of the story: Flat files rock! ;-) If I'm using Apache::DBI so I have a persistent connection to MySQL, would it not be faster to simply use a table in MySQL? Unlikely. Even with cached database connections you are probably not going to beat the performance of

Re: installing mod_perl on binar

2002-08-21 Thread Randy Kobes
On Wed, 21 Aug 2002, Hytham Shehab wrote: hi guys, while am using activeperl on XP, i have installed mod_perl v1.27_01-dev using ppm, but after getting the whole thing, some script runs and offer me to create apache/modules/, when i answere with yes, it bail out upnormally, telling me

Re: Apache::Session - What goes in session?

2002-08-21 Thread James G Smith
Jesse Erlbaum [EMAIL PROTECTED] wrote: Hi Peter -- The morale of the story: Flat files rock! ;-) If I'm using Apache::DBI so I have a persistent connection to MySQL, would it not be faster to simply use a table in MySQL? Unlikely. Even with cached database connections you are probably

[mp1.2x] Intermittent code execution errors

2002-08-21 Thread Colin Kuskie
[This is an update from my earlier posting which was entitled mod_perl has Alzheimers?. Since then I've read through the mod_perl guide, searched the mailing list archives, and done a more thorough job of analyzing the debug output.] I recently got a new server for our website, and installed

Re: [mp1.2x] Intermittent code execution errors

2002-08-21 Thread Colin Kuskie
On Wed, Aug 21, 2002 at 10:55:35AM -0700, Colin Kuskie wrote: [This is an update from my earlier posting which was entitled mod_perl has Alzheimers?. Since then I've read through the mod_perl guide, searched the mailing list archives, and done a more thorough job of analyzing the debug

RE: Apache::Session - What goes in session?

2002-08-21 Thread Jesse Erlbaum
Hey James -- One way to think about it is this: MySQL stores its data in files. There are many layers of code between DBI and those files, each of which add processing time. Going directly to files is far less code, and less code is most often faster code. MySQL also stores indices.

WebSphere and mod_perl

2002-08-21 Thread Jonathon M. Robison
Has anyone run mod_perl apps on websphere yet? --Jon R.

core on signal in multithread env

2002-08-21 Thread Randy Fox
I have inherited a solution made up of an HP w/apache 1.3.26 and modperl 1.3.?? config. The modperl makes some C calls. One of the C calls spawns 2 pthreads. Seems when the apache process gets a signal to terminate it cores upon exit. If I do not spawn the two threads things seem much more

ld warnings for Symbol already exported or Exported symbol not defined during make for server

2002-08-21 Thread ODELL, TODD E (SWBT)
I run into these warnings during the make on the apache-1.3.26: ld: 0711-415 WARNING: Symbol perl_alloc is already exported. ld: 0711-415 WARNING: Symbol Perl_amagic_call is already exported. .. ld: 0711-319 WARNING: Exported symbol not defined: perl_module ld: 0711-319 WARNING: Exported symbol

LWP::Simple::get gets slower and slower

2002-08-21 Thread Mathieu Longtin
I have noticed something extremely baffling. We use the get() function of LWP::Simple within mod_perl scripts, and it seems for long running servers, it gets slower and slower. I have two servers here that would consistently take 8 seconds to process a get() call, when getting the same URL

Re: Apache::Session - What goes in session?

2002-08-21 Thread Perrin Harkins
Ask Bjoern Hansen wrote: The performance? I don't remember the exact figure, but it was at least several times faster than the BerkeleyDB system. And *much* simpler. In my benchmarks, recent versions of BerkeleyDB, used with the BerkeleyDB module and allowed to manage their own locking,

Re: Apache::Session - What goes in session?

2002-08-21 Thread Perrin Harkins
Peter J. Schoenster wrote: If I'm using Apache::DBI so I have a persistent connection to MySQL, would it not be faster to simply use a table in MySQL? Probably not, if the MySQL server is on a separate machine. If it's on the same machine, it would be close. Remember, MySQL has more work

Re: installing mod_perl on binar

2002-08-21 Thread Hytham Shehab
hi, i have installed the mod_perl at last, and the mod_perl.so is there at apache/modules, *BUT*: apache -k restart -- Syntax error on line 136 of c:/program files/apache group/apache/conf/httpd.conf: Cannot load c:/program files/apache group/apache/modules/mod_actions.so into server: (126)

Re: NTLM module

2002-08-21 Thread Gerald Richter
All works fine for IE and Mozilla browsers but when I use Netscape, I am repeatedly promted for passwords. If I enter my password about 3 to 6 times I will eventually get the full page . If I enter password once, ( and cancel for any further password prompts ) I get only bit of the expected

Re: installing mod_perl on binar

2002-08-21 Thread Randy Kobes
On Thu, 22 Aug 2002, Hytham Shehab wrote: hi, i have installed the mod_perl at last, and the mod_perl.so is there at apache/modules, *BUT*: apache -k restart -- Syntax error on line 136 of c:/program files/apache group/apache/conf/httpd.conf: Cannot load c:/program files/apache