[Wed May 24 19:58:28 2000] [error] PerlRun: `Bizarre copy of HASH in aassign
at /usr5/perl/lib/5.6.0/Carp/Heavy.pm line 79.
...
Do the following:
In Carp::Heavy, change 'DB' to 'DB_tmp':
Line 39: while (do { { package DB_tmp; @a = caller($i++) } } ) {
Line 79: @a =
Well, that turned out to be a challenging request!
Here's a module that always segfaults, if you run with
httpd -X -Dperldb -Dperlsi
Sorry, I forgot to mention... the segfault only occurs if you _don't_
have Net::DNS installed.
--
Jeremy Howard
[EMAIL PROTECTED]
John Armstrong wrote:
I have had this problem to varying degrees in all of my high traffic
mod perl installations. The thing that saves me is Apache::Resource.
In my httpd.conf I put :
PerlModule Apache::Resource
PerlSetEnv PERL_RLIMIT_DATA 32
PerlSetEnv PERL_RLIMIT_CPU 640
Steve Reppucci wrote:
This is *exactly* the symptoms we see, and we're just about always up to
date with Apache/Perl/modperl releases.
We've spent a fair amount of time trying to isolate the cause of these,
but haven't been able to point the finger at any one cause. Some of the
things
[Thu May 25 19:34:31 2000] [error] mod_ssl: Init: Failed to generate
temporary 5
12 bit RSA private key
Sorry, I missed the earlier discussion on this (so I may have got
the wrong end of the stick), but I got this too when trying to build
apache 1.3.12 with perl-5.6.0 and mod_ssl 2.6.4, and
Running under httpd -X, first time through my subrequest goes fine, second
time through it segfaults. Here's the non-debugging bt:
Program received signal SIGSEGV, Segmentation fault.
0x8080757 in ap_copy_table ()
(gdb) bt
#0 0x8080757 in ap_copy_table ()
#1 0x80937ef in
Replying to my own post... I found the problem - I was caching a
subrequest in the child's memory and trying to call lookup_* again with
that cached request. Doesn't work for fairly obvious reasons.
On Fri, 2 Jun 2000, Matt Sergeant wrote:
Running under httpd -X, first time through my
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
list-help: mailto:[EMAIL PROTECTED]
list-unsubscribe: mailto:[EMAIL PROTECTED]
list-post: mailto:[EMAIL PROTECTED]
Delivered-To: mailing list [EMAIL PROTECTED]
X-Authentication-Warning: mojo.covalent.net: dougm owned process doing -bs
Date:
I don't know why, but it seems a lot of the messages I send to this
list are getting through, but also being tossed back at me with a
nastygram from [EMAIL PROTECTED] accusing me of spamming.
Easy enough for me to just block this address, but I thought I'd post
one more notice in case someone
Tobias,
What do you exactly mean by line 'Internally the session will expire
after 30 minutes.'???
Is it something internal to Apache::Session or you have it programmed on
custom basis or what???
Niral
Tobias Hoellrich wrote:
At 09:26 AM 6/2/00 +1000, Adam Cassar wrote:
I was wondering
I think he means that the session is removed from the server, but the sesion
ID (cookie) was not set to expire...
o _
/|/ | Jerrad Pierce \ | __|_ _|
/||/ http://pthbb.org . | _| |
\|| _.-~-._.-~-._.-~-._@" _|\_|___|___|
Hello,
trying to develop with Embperl I encounter the following
problems:
1. Using a sequence of statements like
[-
open LOG, "/tmp/logfile.txt";
print LOG "some debug info: $var\n";
close LOG;
-]
ever gets me the following error:
error in Perl code: Can't locate object
Now if only I had known this two years ago... Awsome tidbit though. Thanks!
you can find out which line of Perl code is triggering a spin, by
attaching to the process with gdb;
% gdb httpd $pid_of_spinning_process
% source modperl_x.xx/.gdbinit
% curinfo
should show you the
hi all...
this simple script:
#!/usr/bin/perl
my $r = shift;
$r-err_headers_out-add('Set-Cookie' = "name=error");
warn "pre headers_out: " . $r-headers_out-get('Set-Cookie');
$r-send_http_header('text/plain');
warn "post headers_out: " . $r-headers_out-get('Set-Cookie');
print "done";
On Fri, 2 Jun 2000, Paul wrote:
I don't know why, but it seems a lot of the messages I send to this
list are getting through, but also being tossed back at me with a
nastygram from [EMAIL PROTECTED] accusing me of spamming.
Easy enough for me to just block this address, but I thought I'd
We are not using cookies to send the session id to the server, but instead
rewrite URLs to contain the session-id (switch off Cookies and go to
http://www.amazon.com for a similar experience). When a user hits us with a
request we lookup the session-data in the session-table and jump to a
"sorry
Hey all! I'm having a really weird problem with mod_perl where is
dies loading modules from a certain dir in startup.pl
I'm running Red Hat Linux 6.2 with: Embedded Perl version 5.00503 for
Apache/1.3.12 (Unix) (Red Hat/Linux) mod_perl/1.21
I set up a startup.pl file to pre-load the usual
Hello!
I've come upon a strange problem with my Apache/mod_perl configuration.
(Apache v 1.3.9 mod_perl 1.21)
When I attempt to preload Perl modules like FileHandle, Apache::DBI, DBI,
etc., the httpd process gets a segmentation fault and core dumps at startup.
I've tried using the PerlModule
Ralph,
This isn't any help, but this describes the exact same problem I'm
having. Using your experience I was able to get the module to load
with a HUP.
I wonder is the dir DBI is in doesn't get put into @INC until
sometime after startup.pl tries to run? I'll have to experiment with
that.
Anybody know why Apcahe::Session::Lock::File.pm uses lock FILES instead of
flocking the file? It seems to be causing problems with rapdifre access...
o _
/|/ | Jerrad Pierce \ | __|_ _|
/||/ http://pthbb.org . | _| |
\||
My bad, it does seem to be using flock, but it still seems to be
the consistent point of failure.. and I am untieing immediately after use
o _
/|/ | Jerrad Pierce \ | __|_ _|
/||/ http://pthbb.org . | _| |
\|| _.-~-._.-~-._.-~-._@"
Someone just pointed out that this should probably go into the guide or
FAQ somewhere. Just a thought...
On Thu, 1 Jun 2000, Doug MacEachern wrote:
% gdb httpd $pid_of_spinning_process
% source modperl_x.xx/.gdbinit
% curinfo
oops, that should be:
% gdb httpd
On Fri, 2 Jun 2000, Ian Struble wrote:
Someone just pointed out that this should probably go into the guide or
FAQ somewhere. Just a thought...
On Thu, 1 Jun 2000, Doug MacEachern wrote:
% gdb httpd $pid_of_spinning_process
% source modperl_x.xx/.gdbinit
% curinfo
oops,
are you both using the default RPM from redhat? IIRC, if you check the
archives, you'll find similar reports for users of the RPM. Generally,
RedHat RPMs use mod_perl as a DSO, and it seems mod_perl's DSO received lots
of DSO upgrading/tuning after 1.21.
I'd suggest rolling your own mod_perl
Nope!
I didn't trust the RPM configuration so I built Apache, and mod_perl from
source. After you do it half a dozen times or so, it's almost as fast as
the RPM install :-)
-Original Message-
From: Geoffrey Young [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 02, 2000 12:11 PM
To:
hmmm, did you try upgrading your installation then?
you are using a static mod_perl?
PerlFreshRestart Off?
I'm no good at reading backtraces, but posting that is probably the next
step (see SUPPORT doc section on core dumps in the distribution)
sorry I can't be of more help...
--Geoff
I'm not too good on back traces myself. `
I'm using a dynamic build of mod_perl, so I may try building the 1.24
version next week sometime.
I hadn't thought of changing the PerFreshStart parameter, it might make a
difference...
-Original Message-
From: Geoffrey Young [mailto:[EMAIL
COOL!
I couldn't wait...
I built and installed mod_perl 1.24 and it fixed the problem! Now if I can
just get the CGI module
to recognize my domainname .. :-)
-Original Message-
From: Hughes, Ralph
Sent: Friday, June 02, 2000 2:02 PM
To: Geoffrey Young; 'Michael Todd Glazier';
"Hughes, Ralph" wrote:
COOL!
I couldn't wait...
I built and installed mod_perl 1.24 and it fixed the problem! Now if I can
just get the CGI module
to recognize my domainname .. :-)
-Original Message-
From: Hughes, Ralph
Sent: Friday, June 02, 2000 2:02 PM
To: Geoffrey
Level 3 is broken.
They know and are working on it. hmmm
Ed
Replying to myself. It is back up, obviously. sorry for the noise
Ed Phillips wrote:
Level 3 is broken.
They know and are working on it. hmmm
Ed
Hi,
This may be one of the strangest programming things I've ever tried to
do. Because I've recently been introduced (somewhat embarrassingly)
to the joys of Java Beans, I thought "hey, wouldn't this be great to
have in Perl, too?"
Well, since I'm masochistic like that, I've written a very
On Thu, 1 Jun 2000 [EMAIL PROTECTED] wrote:
So my questions are: how to save session info from page 1 and allow a
web server that services age 3 to access it.
Have a look at Apache::Session. Use a database or files over NFS if you
have a cluster. I've had better luck with databases than NFS.
On Mon, 29 May 2000, Vivek Khera wrote:
"SB" == Stas Bekman [EMAIL PROTECTED] writes:
SB A while ago, a few people have mentioned that it's possible to improve the
SB way Perl data structures get mapped in memory pages, by exercising the
SB code before the child processes have been
On Sat, 3 Jun 2000, Stas Bekman wrote:
* install_driver (2):
DBI-install_driver("mysql");
I've never seen that before, and it isn't in the DBI perldoc. Is it safer
than "use DBD::mysql;"?
- Perrin
On Fri, 2 Jun 2000, Perrin Harkins wrote:
On Sat, 3 Jun 2000, Stas Bekman wrote:
* install_driver (2):
DBI-install_driver("mysql");
I've never seen that before,
There is always a first time :)
and it isn't in the DBI perldoc.
Where do you think I've found it :) It is mentioned
but actualy it's the DBD:: method. No matter what, you get more shared
memory with it, see the updated table:
Version Size SharedDiff Test type
1 3469312 2609152 860160 install_driver
On Sat, 3 Jun 2000, Stas Bekman wrote:
correction for the 3rd version (had the wrong startup), but it's almost
the same.
Version Size SharedDiff Test type
1 3469312 2609152 860160
Yes, very cool Stas!
Perrin Harkins wrote:
On Sat, 3 Jun 2000, Stas Bekman wrote:
correction for the 3rd version (had the wrong startup), but it's almost
the same.
Version Size SharedDiff Test type
Here is a complete version. comments are very welcome before it enters the
guide:
The first example is the CDBI module. As you know CDBI works with
many database drivers falling into the CDBD:: category,
e.g. CDBD::mysql. It's not enough to preload CDBI, you should
initialize CDBI with driver(s)
Here is another one. You should use Apache::Request instead, but just in
case you still use CGI.pm (me too :)
as usuals comments are welcome:
CCGI.pm is a big module that by default postpones the compilation of
its methods until they are actually needed, thus making it possible to
use it under
Here is another one:
You can use the CPerlRequire and CPerlModule directives to load
commonly used modules such as CCGI.pm, CDBI and etc., when the
server is started. On most systems, server children will be able to
share the code space used by these modules. Just add the following
directives
The LOG filehandle is predefined by Embperl. Anything written to it is put
into Embperl's log file (usually /tmp/embperl.log). If you use a different
name, you will probably be OK. On the other hand, you can just delete the
call to "open" (and "close) and use the log file Embperl already
Sorry if this is a duplicate. I sent the message yesterday, but I haven't
seen it posted back to me via the list. We have recently been having
problems with our email services...
---
I am using IBM's C complier (cc) under AIX 4.3.3
I'm stuck with an old RedHat 5.2 box for a few months and am having troubles
with mod_perl, not with the RedHat RPM version.
I've loaded and built apache 1.3.12 with success
But when mod_perl 1.24 is added starting apache (httpd) core dumps.
Mod_perl was added this way:
perl Makefile.PL \
Based on the examples in "Writing Apache Modules with Perl and C" I'm
trying out the use of constants in a CGI program for
Apache::Registry. At the moment the program is only running under
Apache::PerlRun
The problem is its filling up my log file with non-fatal, but space
consuming message.
cholet 00/06/02 10:06:39
Modified:.SUPPORT
Log:
add Doug's snippet about spinning processes
Revision ChangesPath
1.15 +11 -0 modperl/SUPPORT
Index: SUPPORT
===
RCS file:
47 matches
Mail list logo