Segmentation Fault - RT3.8.4 - Apache2

Hi,

ubuntu 9.04 dual Xeon process, 2GB memory.
New install RT 3.8.4 with imported RT 3.2.2 database and followed the
README.txt and Upgrading.mysql docs.

For what ever reasons, when RT has been idled for a period of some hours,
more like 10 hours, when people are not accessing via website, than when I
logs in and hit http://helpdesk.mydomain.com I get
a blank white page and sometimes the default generic RT page. However,
when I refresh it a couple time, the regular webpage loads correctly and
checking at /etc/apache2/error.log indicates
the following:

[Thu Aug 06 07:21:43 2009] [notice] child pid 2784 exit signal
Segmentation fault (11)
[Thu Aug 06 07:21:43 2009] [notice] child pid 2785 exit signal
Segmentation fault (11)
[Thu Aug 06 07:21:43 2009] [notice] child pid 2981 exit signal
Segmentation fault (11)
[Thu Aug 06 07:21:43 2009] [notice] child pid 3147 exit signal
Segmentation fault (11)
[Thu Aug 06 07:21:43 2009] [notice] child pid 3149 exit signal
Segmentation fault (11)
[Thu Aug 06 07:22:20 2009] [notice] child pid 2783 exit signal
Segmentation fault (11)
[Thu Aug 06 07:22:21 2009] [notice] child pid 2786 exit signal
Segmentation fault (11)
[Thu Aug 06 07:22:24 2009] [notice] child pid 3341 exit signal
Segmentation fault (11)
[Thu Aug 06 07:22:24 2009] [notice] child pid 3342 exit signal
Segmentation fault (11)

It appears to me that RT needs a constant connection or something to keep
it alive. When someone is logged into the website and have the site
refresh every 2 minutes segmentation fault does not occurs.

I have research and played with different settings on httpd.conf, removed
ufw (ubuntu firewall), removed PHP5, removed apparmor (ubuntu selinux)
and no resolution. RT 3.8.4 is the only website this box is hosting and it
has a single static IP and DNS setup correctly.
http://helpdesk.mydomain.com

Does anyone know what could be causing this? or seen this occurance ?
ideas? Any suggestions would be appreciated!

my latest httpd.conf :

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

<VirtualHost :80>
DocumentRoot /opt/rt3/share/html
ServerName helpdesk.mydomain.com
#ServerAlias requestss.

AddDefaultCharset UTF-8
ServerAdmin ithelpdesk@mydoamin.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

#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

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

Regards,

Raymond Wong

Personal motto: P.E.A.C.E
Enjoy the present
Assert your goals
Champion peace
Entrust others

This has been known to occur with some versions of DBD:mysql. I believe
the latest versions fix this; I’m currently using 3.0008.

raymond@pilotsupplies.com wrote:

Hi Curtisb,

I’ll give that a shot and see what happens. I’ll up it to the latest and
see what happens

raymond

This has been known to occur with some versions of DBD:mysql. I believe
the latest versions fix this;
I’m currently using 3.0008.

raymond@pilotsupplies.com wrote:

Hi,

ubuntu 9.04 dual Xeon process, 2GB memory.
New install RT 3.8.4 with imported RT 3.2.2 database and followed the
README.txt and Upgrading.mysql
docs.

For what ever reasons, when RT has been idled for a period of some
hours, more like 10 hours, when
people are not accessing via website, than when I
logs in and hit http://helpdesk.mydomain.com I get a blank white page
and sometimes the default
generic RT page. However, when I refresh it a couple time, the regular
webpage loads correctly and
checking at /etc/apache2/error.log indicates
the following:

[Thu Aug 06 07:21:43 2009] [notice] child pid 2784 exit signal
Segmentation fault (11)
[Thu Aug 06 07:21:43 2009] [notice] child pid 2785 exit signal
Segmentation fault (11)
[Thu Aug 06 07:21:43 2009] [notice] child pid 2981 exit signal
Segmentation fault (11)
[Thu Aug 06 07:21:43 2009] [notice] child pid 3147 exit signal
Segmentation fault (11)On Thu, 6 Aug 2009, raymond@pilotsupplies.com wrote:

Hi,

ubuntu 9.04 dual Xeon process, 2GB memory.
New install RT 3.8.4 with imported RT 3.2.2 database and followed the
README.txt and Upgrading.mysql docs.

For what ever reasons, when RT has been idled for a period of some hours,
more like 10 hours, when people are not accessing via website, than when I
logs in and hit http://helpdesk.mydomain.com I get
a blank white page and sometimes the default generic RT page. However,
when I refresh it a couple time, the regular webpage loads correctly and
checking at /etc/apache2/error.log indicates
the following:

[Thu Aug 06 07:21:43 2009] [notice] child pid 2784 exit signal
Segmentation fault (11)
[Thu Aug 06 07:21:43 2009] [notice] child pid 2785 exit signal
Segmentation fault (11)
[Thu Aug 06 07:21:43 2009] [notice] child pid 2981 exit signal
Segmentation fault (11)
[Thu Aug 06 07:21:43 2009] [notice] child pid 3147 exit signal
Segmentation fault (11)
[Thu Aug 06 07:21:43 2009] [notice] child pid 3149 exit signal
Segmentation fault (11)
[Thu Aug 06 07:22:20 2009] [notice] child pid 2783 exit signal
Segmentation fault (11)
[Thu Aug 06 07:22:21 2009] [notice] child pid 2786 exit signal
Segmentation fault (11)
[Thu Aug 06 07:22:24 2009] [notice] child pid 3341 exit signal
Segmentation fault (11)
[Thu Aug 06 07:22:24 2009] [notice] child pid 3342 exit signal
Segmentation fault (11)

It appears to me that RT needs a constant connection or something to keep
it alive. When someone is logged into the website and have the site
refresh every 2 minutes segmentation fault does not occurs.

I have research and played with different settings on httpd.conf, removed
ufw (ubuntu firewall), removed PHP5, removed apparmor (ubuntu selinux)
and no resolution. RT 3.8.4 is the only website this box is hosting and it
has a single static IP and DNS setup correctly.
http://helpdesk.mydomain.com

Does anyone know what could be causing this? or seen this occurance ?
ideas? Any suggestions would be appreciated!

my latest httpd.conf :

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

<VirtualHost :80>
DocumentRoot /opt/rt3/share/html
ServerName helpdesk.mydomain.com
#ServerAlias requestss.

AddDefaultCharset UTF-8
ServerAdmin ithelpdesk@mydoamin.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

#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

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

Regards,

Raymond Wong

Personal motto: P.E.A.C.E
Enjoy the present
Assert your goals
Champion peace
Entrust others