Re: [rt-users] RT 3.8.4 Apache2 Segmentation Fault

2009-07-28 Thread raymond

Hi,

don't know if it makes a difference or not, it happens on both a physcal 
box and also on a vmware esx4 box.



raymond






On Mon, 27 Jul 2009, raym...@shell2.pilotsupplies.com wrote:


Hi,

ubuntu 9.04
Xeon Processor
4GB memory
LDAP AD authentication windows 2003 upgrade from 3.2.2 to 3.8.4 everthing 
appears to be ok.

server is running RT3 and nothing else.

Problem:

When there is a period of inactivity, particular for a few hours, and when a 
user logs back in, the apache error logs indicates
Mon Jul 27 10:48:21 2009] [notice] child pid 2894 exit signal Segmentation 
fault (11


the webpage became white and multiple refresh of the page bring rt website 
back to the logon page.


When a user logs back in and apply the Refresh this page every X minutes, 
than there is no segmentation fault on the apache log and all appears to be 
well.



There is no indication what the problem is on the logs /var/log/messages, 
/var/log/syslog, /var/log/rt.log /opt/rt3/var/log/apache2.error before or 
after segemntation fault for me to properly diagnoise this.


I have played with the numbers on the apache2 and mysql links below  and 
still can't resolve this.


http: //wiki.bestpractical.com/view/PerformanceTuning
http: //wiki.bestpractical.com/view/FAQ




below are my httpd.conf file and RT system configuration (santized) - hope 
someone can shed some light on this.

Appreciate your assistance!



Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
MinSpareServers 5
MaxSpareServers 10
StartServers 5
MaxClients 150
MaxRequestsPerChild 100

VirtualHost *:80
DocumentRoot /opt/rt3/share/html
ServerName ticket.helpdesk.abc.com
ServerAlias ticket.*
AddDefaultCharset UTF-8
ServerAdmin hel...@abc.com

#optional apache logs for RT
ErrorLog /opt/rt3/var/log/apache2.error
TransferLog /opt/rt3/var/log/apache2.access
Alias /rt/ /opt/rt3/share/html/


Directory /opt/rt3/share/html/
Order allow,deny
Allow from all
/Directory

#PerlModule Apache::DBI
PerlRequire /opt/rt3/bin/webmux.pl
PerlSetVar MasonStaticSource true
PerlSetVar MasonBufferPreallocateSize 1073741824
#PerlSetVar MasonBufferPreallocateSize 4096000
PerlSetVar MasonDataCacheDefaults cache_class= MemoryCache, cache_depth = 
4

PerlSetVar MasonPreloads '/Elements/*'
PerlSetVar MasonCompRoot /opt/rt3


Location /NoAuth/images
SetHandler default
/Location

Location /
#AddDefaultCharset UTF-8
SetHandler perl-script
PerlHandler RT::Mason
#PerlResponseHandler RT::Mason
/Location

/VirtualHost








#RT system configuration


System Configuration

* System Configuration
* · Shredder

Loaded perl modules

Perl v5.10.0 under linux
 Apache2:: Const v2.04;
 Apache2:: Log v2.04;
 Apache2:: RequestIO v2.04;
 Apache2:: RequestRec v2.04;
 Apache2:: RequestUtil v2.04;
 Apache2:: Response v2.04;
 Apache2:: ServerUtil v2.04;
 Apache2:: Status v4.00;
 Apache:: Session v1.88;
 Apache::Session:: Generate::MD5 v2.12;
 Apache::Session:: Lock::MySQL v1.01;
 Apache::Session:: MySQL v1.01;
 Apache::Session:: Serialize::Storable v1.01;
 Apache::Session::Store:: DBI v1.02;
 Apache::Session::Store:: MySQL v1.04;
  APR v0.009000;
 APR:: Pool v0.009000;
 APR:: Table v0.009000;
  AutoLoader v5.63;
  base v2.13;
  bytes v1.03;
  Cache::Simple::TimedExpiry v0.27;
  Carp v1.08;
  CGI v3.43;
 CGI:: Cookie v1.29;
 CGI:: Util v1.5_01;
 Class:: Accessor v0.31;
 Class:: Accessor::Fast v0.31;
 Class:: Container v0.12;
 Class:: Data::Inheritable v0.08;
 Class:: Inspector v1.24;
 Class:: ISA v0.33;
 Class:: ReturnValue v0.55;
  Clone v0.31;
  constant v1.13;
  Convert::ASN1 v0.22;
  CSS::Squish v0.08;
  Cwd v3.2501;
  Data::Dumper v2.121_14;
 Date:: Format v2.22;
 Date:: Parse v2.27;
  DateTime v0.50;
 DateTime:: Locale v0.43;
 DateTime:: TimeZone v0.91;
 DateTime::TimeZone:: Floating v0.01;
 DateTime::TimeZone:: Local v0.01;
 DateTime::TimeZone:: OffsetOnly v0.02;
 DateTime::TimeZone:: UTC v0.01;
  DBD::mysql v4.008;
  DBI v1.607;
 DBIx:: SearchBuilder v1.55;
 DBIx::SearchBuilder:: Union v0;
 DBIx::SearchBuilder:: Unique v0.01;
 Devel:: StackTrace v1.21;
 Devel:: StackTraceFrame v1.21;
 Digest:: base v1.00;
 Digest:: MD5 v2.39;
  DynaLoader v1.08;
  Email::Address v1.889;
  Encode v2.23;
 Encode:: Alias v2.07;
 Encode:: Config v2.04;
 Encode:: Encoding v2.05;
  Errno v1.1;
 Exception:: Class v1.29;
 Exception:: Class::Base v1.20;
  Exporter v5.62;
  Exporter::Heavy v5.62;
  Fcntl v1.06;
 File:: Basename v2.76;
 File:: Glob v1.06;
 File:: Path v2.04;
 File:: ShareDir v1.00;
 File:: Spec v3.2501;
 File:: Spec::Unix v3.2501;
 File:: Temp v0.18;
  FileHandle v2.01;
  GD v2.44;
  GD::Image v2.38;
  GraphViz v2.04;
 HTML:: Element v3.23;
 HTML:: Entities v3.60;
 HTML:: Formatter v2.04;
 HTML:: FormatText v2.04;
 HTML:: Mason v1.42;
 HTML::Mason:: ApacheHandler v1.69;
 HTML::Mason:: Exception v1.1;
 HTML::Mason::Exception:: Abort v1.1;
 HTML::Mason::Exception:: Compilation v1.1;
HTML::Mason::Exception::Compilation::IncompatibleCompiler v1.1;
 

[rt-users] RT 3.8.4 Apache2 Segmentation Fault

2009-07-27 Thread raymond

Hi,

ubuntu 9.04
Xeon Processor
4GB memory
LDAP AD authentication windows 2003 
upgrade from 3.2.2 to 3.8.4 everthing appears to be ok.

server is running RT3 and nothing else.

Problem:

When there is a period of inactivity, particular for a few hours, and when 
a user logs back in, the apache error logs indicates
Mon Jul 27 10:48:21 2009] [notice] child pid 2894 exit signal 
Segmentation fault (11


the webpage became white and multiple refresh of the page bring rt website 
back to the logon page.


When a user logs back in and apply the Refresh this page every X minutes, 
than there is no segmentation fault on the apache log and all appears to 
be well.



There is no indication what the problem is on the logs /var/log/messages, 
/var/log/syslog, /var/log/rt.log /opt/rt3/var/log/apache2.error before or 
after segemntation fault for me to properly diagnoise this.


I have played with the numbers on the apache2 and mysql links below  and 
still can't resolve this.


http://wiki.bestpractical.com/view/PerformanceTuning
http://wiki.bestpractical.com/view/FAQ




below are my httpd.conf file and RT system configuration (santized) - 
hope someone can shed some light on this.

Appreciate your assistance!



Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
MinSpareServers 5
MaxSpareServers 10
StartServers 5
MaxClients 150
MaxRequestsPerChild 100

VirtualHost *:80
DocumentRoot /opt/rt3/share/html
ServerName ticket.helpdesk.abc.com
ServerAlias ticket.*
AddDefaultCharset UTF-8
ServerAdmin hel...@abc.com

#optional apache logs for RT
ErrorLog /opt/rt3/var/log/apache2.error
TransferLog /opt/rt3/var/log/apache2.access
Alias /rt/ /opt/rt3/share/html/


Directory /opt/rt3/share/html/
Order allow,deny
Allow from all
/Directory

#PerlModule Apache::DBI
PerlRequire /opt/rt3/bin/webmux.pl
PerlSetVar MasonStaticSource true
PerlSetVar MasonBufferPreallocateSize 1073741824
#PerlSetVar MasonBufferPreallocateSize 4096000
PerlSetVar MasonDataCacheDefaults cache_class= MemoryCache, cache_depth = 4
PerlSetVar MasonPreloads '/Elements/*'
PerlSetVar MasonCompRoot /opt/rt3


Location /NoAuth/images
SetHandler default
/Location

Location /
#AddDefaultCharset UTF-8
SetHandler perl-script
PerlHandler RT::Mason
#PerlResponseHandler RT::Mason
/Location

/VirtualHost








#RT system configuration


System Configuration

* System Configuration
* · Shredder

Loaded perl modules

Perl v5.10.0 under linux
  Apache2::Const v2.04;
  Apache2::Log v2.04;
  Apache2::RequestIO v2.04;
  Apache2::RequestRec v2.04;
  Apache2::RequestUtil v2.04;
  Apache2::Response v2.04;
  Apache2::ServerUtil v2.04;
  Apache2::Status v4.00;
  Apache::Session v1.88;
  Apache::Session::Generate::MD5 v2.12;
  Apache::Session::Lock::MySQL v1.01;
  Apache::Session::MySQL v1.01;
  Apache::Session::Serialize::Storable v1.01;
  Apache::Session::Store::DBI v1.02;
  Apache::Session::Store::MySQL v1.04;
  APR v0.009000;
  APR::Pool v0.009000;
  APR::Table v0.009000;
  AutoLoader v5.63;
  base v2.13;
  bytes v1.03;
  Cache::Simple::TimedExpiry v0.27;
  Carp v1.08;
  CGI v3.43;
  CGI::Cookie v1.29;
  CGI::Util v1.5_01;
  Class::Accessor v0.31;
  Class::Accessor::Fast v0.31;
  Class::Container v0.12;
  Class::Data::Inheritable v0.08;
  Class::Inspector v1.24;
  Class::ISA v0.33;
  Class::ReturnValue v0.55;
  Clone v0.31;
  constant v1.13;
  Convert::ASN1 v0.22;
  CSS::Squish v0.08;
  Cwd v3.2501;
  Data::Dumper v2.121_14;
  Date::Format v2.22;
  Date::Parse v2.27;
  DateTime v0.50;
  DateTime::Locale v0.43;
  DateTime::TimeZone v0.91;
  DateTime::TimeZone::Floating v0.01;
  DateTime::TimeZone::Local v0.01;
  DateTime::TimeZone::OffsetOnly v0.02;
  DateTime::TimeZone::UTC v0.01;
  DBD::mysql v4.008;
  DBI v1.607;
  DBIx::SearchBuilder v1.55;
  DBIx::SearchBuilder::Union v0;
  DBIx::SearchBuilder::Unique v0.01;
  Devel::StackTrace v1.21;
  Devel::StackTraceFrame v1.21;
  Digest::base v1.00;
  Digest::MD5 v2.39;
  DynaLoader v1.08;
  Email::Address v1.889;
  Encode v2.23;
  Encode::Alias v2.07;
  Encode::Config v2.04;
  Encode::Encoding v2.05;
  Errno v1.1;
  Exception::Class v1.29;
  Exception::Class::Base v1.20;
  Exporter v5.62;
  Exporter::Heavy v5.62;
  Fcntl v1.06;
  File::Basename v2.76;
  File::Glob v1.06;
  File::Path v2.04;
  File::ShareDir v1.00;
  File::Spec v3.2501;
  File::Spec::Unix v3.2501;
  File::Temp v0.18;
  FileHandle v2.01;
  GD v2.44;
  GD::Image v2.38;
  GraphViz v2.04;
  HTML::Element v3.23;
  HTML::Entities v3.60;
  HTML::Formatter v2.04;
  HTML::FormatText v2.04;
  HTML::Mason v1.42;
  HTML::Mason::ApacheHandler v1.69;
  HTML::Mason::Exception v1.1;
  HTML::Mason::Exception::Abort v1.1;
  HTML::Mason::Exception::Compilation v1.1;
HTML::Mason::Exception::Compilation::IncompatibleCompiler v1.1;
  HTML::Mason::Exception::Compiler v1.1;
  HTML::Mason::Exception::Decline v1.1;
  HTML::Mason::Exception::Params v1.1;
  HTML::Mason::Exception::Syntax v1.1;
  HTML::Mason::Exception::System v1.1;