Re: Apache::Session::File hangs

2003-01-19 Thread Perrin Harkins
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

Apache::Session::File hangs

2003-01-19 Thread Axel Huizinga
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

Re: Anyone ever have Apache::Session::File files getting corrupted?

2003-01-09 Thread Larry Leszczynski
> 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

Re: Anyone ever have Apache::Session::File files getting corrupted?

2003-01-09 Thread Perrin Harkins
[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

Anyone ever have Apache::Session::File files getting corrupted?

2003-01-09 Thread FFabrizio
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

locking bug in Apache::Session::File

2002-01-18 Thread William White
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

Re: Apache::Session::File and free memory weirdness

2001-08-31 Thread Larry Leszczynski
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

Re: Apache::Session::File and free memory weirdness

2001-08-30 Thread Adi Fairbank
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

Re: Apache::Session::File and free memory weirdness

2001-08-30 Thread Perrin Harkins
> 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

Apache::Session::File and free memory weirdness

2001-08-30 Thread Larry Leszczynski
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

Apache::Session::File->delete doesn't delete .lock files

2001-07-18 Thread jan
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

Re: Apache::Session::File

2001-02-06 Thread harilaos
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;

Re: Apache::Session::File

2001-02-05 Thread Gunther Birznieks
, 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

Apache::Session::File

2001-02-05 Thread harilaos
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

Problem with Apache::Session::File

2000-08-01 Thread Ken Miller
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:

RE: Apache::Session::File

2000-06-02 Thread Jerrad Pierce
. | _| | \|| _.-~-._.-~-._.-~-._@" _|\_|___|___| > -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 >

Apache::Session::File

2000-06-02 Thread Jerrad Pierce
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 . | _| | \|| _.-~-._.-~-._.-~-.

Re: Modifying of Apache::Session File

2000-05-31 Thread Differentiated Software Solutions Pvt. Ltd.
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,

Re: Modifying of Apache::Session File

2000-05-31 Thread Jeffrey W. Baker
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

Modifying of Apache::Session File

2000-05-31 Thread Differentiated Software Solutions Pvt. Ltd.
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

Re: problem with Embperl and Apache::Session::File

1999-10-10 Thread Jeffrey W. Baker
"David R. Saunders" wrote: > > > "David R. Saunders" wrote: > > > > > > Folks, > > > I'm running: > > > > > > Solaris 2.6 > > > Perl 5.005_03 > > > Apache-Session-1.04 > > >

RE: problem with Embperl and Apache::Session::File

1999-10-10 Thread David R. Saunders
> "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

Re: problem with Embperl and Apache::Session::File

1999-10-10 Thread Jeffrey W. Baker
"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

problem with Embperl and Apache::Session::File

1999-10-10 Thread David R. Saunders
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