Axel Huizinga wrote:
The following code hangs after reloading and the try to tie again the
previously created session! WHY?
...
use vars qw(
$id $sID
$lockDir
%session $sessionDir
);
The session variable has to go out of scope for the lock to be released.
I know i
Hi!
The following code hangs after reloading and the try to tie again the
previously created session! WHY?
package Loop;
use strict;
use Apache;
use Apache::Session::File;
use CGI qw(:cgi);
use Devel::Symdump;
use Data::Dumper;
use vars qw(
$id $sID
$lockDir
%session
> I think most people don't use Apache::Session::File in production. It's
> more of a testing thing. In your situation, you would probably get
> great performance from MLDBM::Sync with SDBM_File. I'd suggest trying
> that if you can't determine the cause of
[EMAIL PROTECTED] wrote:
Anyway, my question for now is whether anyone has seen corruption like this
with Apache::Session::File in your typical multi-user mod_perl web app
environment?
I think most people don't use Apache::Session::File in production. It's
more of a testing thing
This is going to be a somewhat preliminary "feeler" post because we are not
yet able to fully describe or recreate the bug we're seeing, but I'm hoping
some of you have seen something similar.
We use Apache::Session::File as the storage module for our Apache::Session
sessions
I've been told this is the place to send questions related to apache perl
modules.
I believe I have discovered a locking bug in Apache::Session::File.
The following code should retrieve an existing session from the file system
and place an exclusive lock on the session file:
my $locking
Hi Perrin -
> > Odd thing #2: (This part seems most bizarre to me.) At 5:15 AM, we run a
> > Perl script that finds and deletes Apache::Session::File session and lock
> > files that are older than 28 days. Usually there are about 50,000 old
> > files that get delete
Perrin Harkins wrote:
>
> > Odd thing #1: As it gets into evening time, load on the machine drops off
> > and there are fewer httpd children running, but I am not seeing free
> > memory return to that 1.3GB level. At most it comes back up to 400MB or
> > so. I don't think the httpd children ar
> Perl script that finds and deletes Apache::Session::File session and lock
> files that are older than 28 days. Usually there are about 50,000 old
> files that get deleted out of about 2,300,000 total. Almost immediately,
> free memory on the machine jumps back up to 1.3GB. What
Hi All -
I'm running Apache, mod_perl and HTML::Mason on Solaris 2.6, and using
Apache::Session::File for session management. I've been monitoring free
memory as reported by top, and I'm seeing some behavior that is totally
baffling me. (If you're interested, ther
Hi All,
I'm not sure if this is bug or feature ... but it causes problems to me ;-)
I'm using Apache::Session::File for storing some data about user's session
between http requests, after user get loged out I delete this session form
the disk by command 'tied(%{$self->{SE
o store persident data on file
> >on win32 environment.
> >I use the code:
> >
> >use Apache;
> >use Apache::Session::File;
> >use CGI qw/:standard/;
> >use CGI::Carp qw(fatalsToBrowser);
> >
> >print header();
> >print start_html;
, harilaos wrote:
>Hello,
>I ma trying to use this module to store persident data on file
>on win32 environment.
>I use the code:
>
>use Apache;
>use Apache::Session::File;
>use CGI qw/:standard/;
>use CGI::Carp qw(fatalsToBrowser);
>
>print header();
>print start_h
Hello,
I ma trying to use this module to store persident data on file
on win32 environment.
I use the code:
use Apache;
use Apache::Session::File;
use CGI qw/:standard/;
use CGI::Carp qw(fatalsToBrowser);
print header();
print start_html;
my %global_data;
eval {
tie %global_data
I get this message in my error_log with using Apache::Session::File:
Can't locate object method "close" via package "Apache::Session::File" at
/usr/lib/perl5/site_perl/5.005/Apache/Session/File.pm line 40, chunk 13
Sure enough, there is no close method in Apache:
. | _| |
\|| _.-~-._.-~-._.-~-._@" _|\_|___|___|
> -Original Message-
> From: Jerrad Pierce [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 02, 2000 12:43
> To: '[EMAIL PROTECTED]'
> Subject: Apache::Session::File
>
>
> Anybody know why Apcahe::Session::Lock::File.pm uses lock
>
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 . | _| |
\|| _.-~-._.-~-._.-~-.
June 2000 09:12
Subject: Re: Modifying of Apache::Session File
>On Wed, 31 May 2000, Differentiated Software Solutions Pvt. Ltd. wrote:
>
>> Hi,
>>
>> We've got an application where on initial login we're creating the
session
>> file.
>> Subsequently,
On Wed, 31 May 2000, Differentiated Software Solutions Pvt. Ltd. wrote:
> Hi,
>
> We've got an application where on initial login we're creating the session
> file.
> Subsequently, we want to add more hash values into this session file.
>
> Immediately after creation if we add values to the ses
Hi,
We've got an application where on initial login we're creating the session
file.
Subsequently, we want to add more hash values into this session file.
Immediately after creation if we add values to the session file, these
values get stored.
After a few pages we tried to modify the existing s
"David R. Saunders" wrote:
>
> > "David R. Saunders" wrote:
> > >
> > > Folks,
> > > I'm running:
> > >
> > > Solaris 2.6
> > > Perl 5.005_03
> > > Apache-Session-1.04
> > >
> "David R. Saunders" wrote:
> >
> > Folks,
> > I'm running:
> >
> > Solaris 2.6
> > Perl 5.005_03
> > Apache-Session-1.04
> > HTML_Embperl-1.2b10
> >
> > and I'm trying to use Apache::Session::File ... I hav
"David R. Saunders" wrote:
>
> Folks,
> I'm running:
>
> Solaris 2.6
> Perl 5.005_03
> Apache-Session-1.04
> HTML_Embperl-1.2b10
>
> and I'm trying to use Apache::Session::File ... I have this test program:
>
> #!/usr/local/perl5.005
Folks,
I'm running:
Solaris 2.6
Perl 5.005_03
Apache-Session-1.04
HTML_Embperl-1.2b10
and I'm trying to use Apache::Session::File ... I have this test program:
#!/usr/local/perl5.005_03/perl
use Apache;
use Apache::Session::File;
my $id = 1;
my $opts = { Directory => '/t
24 matches
Mail list logo