• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.
We're having problems here with scripts running very long and consuming large amounts of memory after they have (from the viewpoint of the web user) finished processing -- this quickly makes the web server unusable, as each process may grow to half a gigabyte or more.

On investigation, the CGI session files in /tmp were extremely large; all were 50 megabytes or more, and many were into the gigabytes. Brief inspection of the files seemed to indicate that this was related to the large number of users at this site (we have around 5000 users), but I'd expect that this problem would show up on twiki.org as well if that were the only thing that was causing problems.

Sadly, I can't upload the files themselves, because of confidentiality requirements :-(. If someone can contact me via email, though (andrew.moise@gmailNOSPAM.com), I may be able to share the session files privately so that a developer can track this down.

Thanks very much.

-- TWiki:Main.AndrewMoise

Strange error. I have checked and all my cookies are max 224 bytes.


$D = {'_SESSION_ID' => 'bd250711aa3d97ae5f618c361c63ce4f','_SESSION_ATIME' => 1169988467,'_SESSION_REMOTE_ADDR' => '','_SESSION_EXPIRE_LIST' => {},'AUTHUSER' => 'KennethLavrsen','_SESSION_CTIME' => 1169988412};;$D

I wonder if you have a broken CGI::Session CPAN lib.

I also see you run 4.0.4. I run 4.1.0 but also under 4.0.5 I never saw any large files.

-- KennethLavrsen - 28 Jan 2007

Okay, I have a bit more of an idea what this is about now. My files are huge because their AUTHUSER fields are stored as blessed objects of type TWiki::User. I can't see how that could happen, really; the only place I can see where I can imagine AUTHUSER being set to a blessed object is on line 254: $authUser = $twiki->{remoteUser}; . That line is different in version 4.1.0, though, so maybe this problem is solved in more recent twiki versions.

-- AndrewMoise - 30 Jan 2007

$twiki_>{remoteUser} is not an object, it's a username string. It's set in the login manager. What login manager are you using? Were you able to confirm that $twiki->{remoteUser} is actually an object? (you can try print STDERR "REMOTE USER is a ".ref($this->{remoteUser}."\n" ).

-- TWiki:Main.CrawfordCurrie - 31 Jan 2007

No feedback, so discarding under the 30 day rule.


Summary CGI sessions may be long
ReportedBy TWiki:Main.AndrewMoise
Codebase 4.0.4
SVN Range

AppliesTo Engine
Component Client
Priority Normal
CurrentState No Action Required
WaitingFor TWiki:Main.AndrewMoise

TargetRelease n/a

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2007-04-07 - CrawfordCurrie
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback