• 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.

...which has, on closer inspection, its reason in lib/TWiki/Client.pm, lines 253-254:

        if( $time >= $D->{_SESSION_ATIME} + $TWiki::cfg{SessionExpiresAfter} ||
              $D->{_SESSION_ETIME} && $time >= $D->{_SESSION_ETIME} ) {
            unlink( $file ) || die "Failed $!";

It tries to delete expired sessions there. But somehow, at some time, some of the cgisess*-files in my system have been owned not by the webserver, but by my own login user id (maybe I had ran httpd manually for some tests? To be honest, I don't recall). The next day, Apache could not delete these files and TWiki died on every request.

In my opinion TWiki must not die here. It hits some users, at some arbitrary time, and after then "nothing works" until someone finds out what the problem is. A warning is ok, of course, but unfortunately _expireDeadSessions doesn't take parameters and therefore has no easy access to TWikis writeWarning routine.

r6994 | CrawfordCurrie | 2005-10-12 10:15:59 +0200 (Wed, 12 Oct 2005) | 1 line

Item0: over-agressive die removed to prevent unnecessary die

Summary All of a sudden, all TWiki requests die with "permission denied"
ReportedBy TWiki:Main.HaraldJoerg
AppliesTo Engine
Priority Low
CurrentState Closed

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