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
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.
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
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
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
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
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,
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
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
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
* 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
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
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
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
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
[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
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
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.
Has anyone run mod_perl apps on websphere yet?
--Jon R.
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
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
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
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,
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
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)
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
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
27 matches
Mail list logo