Pages hanging

Hi,

I’m very new to administering an apache/RT server and need some help.

My machine is running Ubuntu6.06 and I installed request-tracker (RT)
as described here: Request Tracker Wiki
As part of the installation for RT, I installed apache2 and users get
to my machine using ssl (https). My machine is connected to the
internet via Verizon dsl.

Local access to RT on the machine via https works perfectly. There are never
any hung pages.

Remote access to RT on the machine very often causes pages to hang. For
example, I will click on a link to a ticket and the progress bar goes about a
third of the way at the bottom of a web browser with some of the page’s content
showing up. I have further tried to debug the problem by copying the html
of one of the pages and accessing it directly (i.e. not going to RT for
the page) and the page always loads without ever hanging. So, I assume
the problem has to be in the machinery of RT and some configuration
mistake I have made.

I cannot figure out any pattern to this since it is intermittent (though often) and I’m very confused. I’ve looked in
/var/logs/apache2/*.log and all appears to be correct.

Where should I start? What should I look at next?

RT uses postgres to store data. How can I determine if its an apache2 problem
or a postgres problem or an RT problem? For the moment, I’m assuming its not a
postgres problem because local access is working perfectly well.

Thanks for any help,
John

/var/logs/apache2/*.log and all appears to be correct.

Where should I start? What should I look at next?

RT uses postgres to store data. How can I determine if its an apache2
problem
or a postgres problem or an RT problem? For the moment, I’m assuming its
not a
postgres problem because local access is working perfectly well.

Thanks for any help,
John

if local access is fine, then its not an rt problem either,

can you post http.conf please

Below is my apache2.conf file (I believe this is httpd.conf in Ubuntu).
Note that I removed the following directives from the .conf file for
your viewing pleasure: BrowserMatch, LogFormat, AddIcon*, AddLanguage,
LanguagePriority, AddCharset, BrowserMatch, ErrorDocument

Also, I’m using RT 3.4.4, which I neglected to mention in my
original post.

Thanks much for any help,
John

ServerName localhost
ServerRoot “/etc/apache2”
LockFile /var/lock/apache2/accept.lock
PidFile /var/run/apache2.pid
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15

StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxClients 20
MaxRequestsPerChild 0


StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0


NumServers 5
StartThreads 5
MinSpareThreads 5
MaxSpareThreads 10
MaxThreadsPerChild 20
MaxRequestsPerChild 0
AcceptMutex fcntl

User www-data
Group www-data
ErrorLog /var/log/apache2/error.log
Include /etc/apache2/mods-enabled/.load
Include /etc/apache2/mods-enabled/
.conf
Include /etc/apache2/httpd.conf
Include /etc/apache2/ports.conf
Include /etc/apache2/conf.d/[^.#]*
Alias /icons/ “/usr/share/apache2/icons/”
<Directory “/usr/share/apache2/icons”>
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all



Alias /error/ “/usr/share/apache2/error/”
<Directory “/usr/share/apache2/error”>
AllowOverride None
Options IncludesNoExec
AddOutputFilter Includes html
AddHandler type-map var
Order allow,deny
Allow from all
LanguagePriority en es de fr
ForceLanguagePriority Prefer Fallback



DirectoryIndex index.html index.cgi index.pl index.php index.xhtml
AccessFileName .htaccess
<Files ~ “^.ht”>
Order allow,deny
Deny from all

UseCanonicalName Off
TypesConfig /etc/mime.types
DefaultType text/plain
HostnameLookups Off
IndexOptions FancyIndexing VersionSort
DefaultIcon /icons/unknown.gif
ReadmeName README.html
HeaderName HEADER.html
IndexIgnore .??* *~ # HEADER RCS CVS ,t
AddEncoding x-compress Z
AddEncoding x-gzip gz tgz
LanguagePriority en da nl et fr de el it ja ko no pl pt pt-br ltz ca es sv tw
AddType application/x-tar .tgz
<FilesMatch “.shtml(..+)?$”>
SetOutputFilter INCLUDES

Include /etc/apache2/sites-enabled/[^.#]

Ubuntu also puts some of the httpd.conf file into a
"sites-available" directory and file named “ssl”.
Here’s that file in case it helps.

NameVirtualHost *:443
<VirtualHost *:443>
ServerAdmin webmaster@localhost
SSLEngine On
SSLCertificateFile /etc/apache2/ssl/apache.pem
DocumentRoot /var/www

Options FollowSymLinks
AllowOverride None

<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
# Uncomment this directive is you want to see apache2’s
# default start page (in /apache2-default) when you go to /
#RedirectMatch ^/$ /apache2-default/

ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory “/usr/lib/cgi-bin”>
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all

ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined
ServerSignature On
Alias /doc/ “/usr/share/doc/”
<Directory “/usr/share/doc/”>
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128

Include “/etc/request-tracker3.4/apache2-modperl2.conf”

Thanks,
John

Anyone have a chance to look at this one yet?

Thanks,
John