Obscure behaviour

Hi,

our RT 3.0.11 system runs fine mostly. But I have a special case with a
single browser on a single computer which is OmniWeb 5.1b4 (same
behaviour with 5.1b3) on Mac OS X Server. When I connect to the RT, I
get the error stated below. When I use Firefox on the same machine,
there is no error.

When I use the same version of OmniWeb on my laptop with Mac OS X there
is no problem. Also all other browsers work fine.

Any idea where this might point to?

Greetings
Tim

System error

error:
RT Couldn’t write to session directory
’/usr/local/rt3/var/session_data’: Out of memory during “large” request
for 1073745920 bytes, total sbrk() is 22687744 bytes at
…/…/lib/Storable.pm (autosplit into …/…/lib/auto/Storable/thaw.al)
line 363.

Stack:
[…/…/lib/Storable.pm (autosplit into
…/…/lib/auto/Storable/thaw.al):363]
[/usr/local/lib/perl5/site_perl/5.8.5/Apache/Session/Serialize/
Storable.pm:27]
[/usr/local/lib/perl5/site_perl/5.8.5/Apache/Session.pm:497]
[/usr/local/lib/perl5/site_perl/5.8.5/Apache/Session.pm:407]
[/usr/local/rt3/share/html/Elements/SetupSessionCookie:42]
[/usr/local/rt3/share/html/autohandler:57], at
/usr/local/lib/perl5/site_perl/5.8.5/Apache/Session/Serialize/
Storable.pm line 27

Stack:
[/usr/local/lib/perl5/5.8.5/Carp.pm:201]
[…/…/lib/Storable.pm (autosplit into
…/…/lib/auto/Storable/logcroak.al):71]
[…/…/lib/Storable.pm (autosplit into
…/…/lib/auto/Storable/thaw.al):364]
[/usr/local/lib/perl5/site_perl/5.8.5/Apache/Session/Serialize/
Storable.pm:27]
[/usr/local/lib/perl5/site_perl/5.8.5/Apache/Session.pm:497]
[/usr/local/lib/perl5/site_perl/5.8.5/Apache/Session.pm:407]
[/usr/local/rt3/share/html/Elements/SetupSessionCookie:42]
[/usr/local/rt3/share/html/autohandler:57]
. Check that this dir ectory’s permissions are correct. at
/usr/local/rt3/share/html/Elements/SetupSessionCookie line 67.

context:

63:
};

64:
undef $cookies{$cookiename};

65:
}

66:
else {

67:
die “RT Couldn’t write to session directory ‘$RT::MasonSessionDir’: $@.
Check that this dir ectory’s permissions are correct.”;

68:
}

69:
}

70:

71:
if ( !$cookies{$cookiename} ) {

code stack:
/usr/local/rt3/share/html/Elements/SetupSessionCookie:67
/usr/local/rt3/share/html/autohandler:57

raw error

RT Couldn’t write to session directory
’/usr/local/rt3/var/session_data’: Out of memory during “large” request
for 1073745920 bytes, total sbrk() is 22687744 bytes at
…/…/lib/Storable.pm (autosplit into …/…/lib/auto/Storable/thaw.al)
line 363.

Stack:
[…/…/lib/Storable.pm (autosplit into
…/…/lib/auto/Storable/thaw.al):363]

[/usr/local/lib/perl5/site_perl/5.8.5/Apache/Session/Serialize/
Storable.pm:27]
[/usr/local/lib/perl5/site_perl/5.8.5/Apache/Session.pm:497]
[/usr/local/lib/perl5/site_perl/5.8.5/Apache/Session.pm:407]
[/usr/local/rt3/share/html/Elements/SetupSessionCookie:42]
[/usr/local/rt3/share/html/autohandler:57], at
/usr/local/lib/perl5/site_perl/5.8.5/Apache/Session/Serialize/
Storable.pm line 27

Stack:
[/usr/local/lib/perl5/5.8.5/Carp.pm:201]
[…/…/lib/Storable.pm (autosplit into
…/…/lib/auto/Storable/logcroak.al):71]
[…/…/lib/Storable.pm (autosplit into
…/…/lib/auto/Storable/thaw.al):364]

[/usr/local/lib/perl5/site_perl/5.8.5/Apache/Session/Serialize/
Storable.pm:27]
[/usr/local/lib/perl5/site_perl/5.8.5/Apache/Session.pm:497]
[/usr/local/lib/perl5/site_perl/5.8.5/Apache/Session.pm:407]
[/usr/local/rt3/share/html/Elements/SetupSessionCookie:42]
[/usr/local/rt3/share/html/autohandler:57]
. Check that this dir ectory’s permissions are correct. at
/usr/local/rt3/share/html/Elements/SetupSessionCookie line 67.

Trace begun at
/usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Exceptions.pm line 131
HTML::Mason::Exceptions::rethrow_exception(‘RT Couldn’t write to
session directory ‘/usr/local/rt3/var/session_data’: Out of memory
during “large” request for 1073745920 bytes, total sbrk() is 22687744
bytes at …/…/lib/Storable.pm (autosplit into
…/…/lib/auto/Storable/thaw.al) line 363.^J^JStack:^J
[…/…/lib/Storable.pm (autosplit into
…/…/lib/auto/Storable/thaw.al):363]^J
[/usr/local/lib/perl5/site_perl/5.8.5/Apache/Session/Serialize/
Storable.pm:27]^J
[/usr/local/lib/perl5/site_perl/5.8.5/Apache/Session.pm:497]^J
[/usr/local/lib/perl5/site_perl/5.8.5/Apache/Session.pm:407]^J
[/usr/local/rt3/share/html/Elements/SetupSessionCookie:42]^J
[/usr/local/rt3/share/html/autohandler:57], at
/usr/local/lib/perl5/site_perl/5.8.5/Apache/Session/Serialize/
Storable.pm line 27^J^JStack:^J
[/usr/local/lib/perl5/5.8.5/Carp.pm:201]^J […/…/lib/Storable.pm
(autosplit into …/…/lib/auto/Storable/logcroak.al):71]^J
[…/…/lib/Storable.pm (autosplit into
…/…/lib/auto/Storable/thaw.al):364]^J
[/usr/local/lib/perl5/site_perl/5.8.5/Apache/Session/Serialize/
Storable.pm:27]^J
[/usr/local/lib/perl5/site_perl/5.8.5/Apache/Session.pm:497]^J
[/usr/local/lib/perl5/site_perl/5.8.5/Apache/Session.pm:407]^J
[/usr/local/rt3/share/html/Elements/SetupSessionCookie:42]^J
[/usr/local/rt3/share/html/autohandler:57]^J. Check that this dir
ectory’s permissions are correct. at
/usr/local/rt3/share/html/Elements/SetupSessionCookie line 67.^J’)
called at /usr/local/rt3/share/html/Elements/SetupSessionCookie line 67
HTML::Mason::Commands::ANON at
/usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run(‘HTML::Mason::Component::
FileBased=HASH(0xc707f40)’) called at
/usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1074
eval {…} at
/usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef) called at
/usr/local/rt3/share/html/autohandler line 57
HTML::Mason::Commands::ANON at
/usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run(‘HTML::Mason::Component::
FileBased=HASH(0xc705044)’) called at
/usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1069
eval {…} at
/usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef, undef) called at
/usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 338
eval {…} at
/usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 338
eval {…} at
/usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 297
HTML::Mason::Request::exec(‘HTML::Mason::Request::
ApacheHandler=HASH(0xcc41850)’) called at
/usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/ApacheHandler.pm line
134
eval {…} at
/usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/ApacheHandler.pm line
134
HTML::Mason::Request::ApacheHandler::exec(‘HTML::Mason::Request::
ApacheHandler=HASH(0xcc41850)’) called at
/usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/ApacheHandler.pm line
792
HTML::Mason::ApacheHandler::handle_request(‘HTML::Mason::
ApacheHandler=HASH(0xc562d9c)’, ‘Apache::RequestRec=SCALAR(0xcd741a0)’)
called at /usr/local/rt3/bin/webmux.pl line 138
eval {…} at /usr/local/rt3/bin/webmux.pl line 138
RT::Mason::handler(‘Apache::RequestRec=SCALAR(0xcd741a0)’) called at -e
line 0
eval {…} at -e line 0

Tim Pritlove, Discordian Evangelist, tim@ccc.de

[snip] Any idea where this might point to?

Based on the fact that it only happens for once instance of a browser,
and the following snippets:

Out of memory during “large” request
[…]
code stack: vvvvvv
/usr/local/rt3/share/html/Elements/SetupSessionCookie:67
^^^^^^

…I’d guess that the browser is sending some funky cookies. Try
clearing the cookies on the browser in question, or watching the
browser’s traffic to see what cookies it’s actually sending to the
server.

  • Alex

Networking – only one letter away from not working