[rt-users] (really loooong) Internal Server Error 500's?
Ruslan Zakirov
ruslan.zakirov at gmail.com
Fri Mar 10 08:28:32 EST 2006
Hello, you see 500 error because of fast_cgi timeout, you can increase
that value. I'll fix that in new shredder release. you can use
shredder command line interface.
On 3/10/06, Glenn Sieb <ges at wingfoot.org> wrote:
> If RT (v3.5.7 on Apache 2.0.55 w/ssl on FreeBSD 4.11-RELEASE) hasn't
> been loaded up, in a browser, for a while (and thus the fcgi processes
> die off), I'll get an error 500. If I hit "reload" it comes up fine.
>
> If I try to update a bunch of tickets (say, more than 10), or try to
> Shred more than 10 tickets or users at a time, I also get a 500, with
> part of the job finished.
>
> I get:
> [Thu Mar 09 23:32:19 2006] [warn] FastCGI: (dynamic) server
> "/sw/rt/bin/mason_handler.fcgi" (pid 89130) termination signaled
> [Thu Mar 09 23:32:19 2006] [warn] FastCGI: (dynamic) server
> "/sw/rt/bin/mason_handler.fcgi" (pid 89130) terminated due to uncaught
> signal '15' (Terminated)
>
> and
> [Thu Mar 09 23:11:24 2006] [error] [client 68.196.127.120] FastCGI: comm
> with (dynamic) server "/sw/rt/bin/mason_handler.fcgi" aborted: (first
> read) idle timeout (30 sec), referer:
> http://rt.wingfoot.org/Admin/Tools/Shredder?Plugin=Users&Ob
> jects%3Alimit=&Objects%3AACE=&Objects%3AAttachment=&Objects%3ACachedGroupMember=
> &Objects%3ACustomField=&Objects%3ACustomFieldValue=&Objects%3AGroupMember=&Objec
> ts%3AGroup=&Objects%3ALink=&Objects%3APrincipal=&Objects%3AQueue=&Objects%3AScri
> p=&Objects%3AScripAction=&Objects%3AScripCondition=&Objects%3ATemplate=&Objects%
> 3AObjectCustomFieldValue=&Objects%3ATicket=&Objects%3ATransaction=&Objects%3AUse
> r=&Users%3Alimit=30&Users%3Astatus=any&Users%3Aname=&Users%3Aemail=&Users%3Arepl
> ace_relations=&Attachments%3Alimit=&Attachments%3Afiles_only=&Attachments%3Afile
> =&Attachments%3Alonger=&Tickets%3Alimit=&Tickets%3Aqueue=&Tickets%3Astatus=&Tick
> ets%3Aupdated_before=&WipeoutObject=RT%3A%3AUser-1684&WipeoutObject=RT%3A%3AUser
> -1312&WipeoutObject=RT%3A%3AUser-1098&WipeoutObject=RT%3A%3AUser-1306&WipeoutObj
> ect=RT%3A%3AUser-1172&WipeoutObject=RT%3A%3AUser-1808&WipeoutObject=RT%3A%3AUser
> -1702&Wipeout=Wipeout
> [Thu Mar 09 23:11:24 2006] [error] [client 68.196.127.120] FastCGI:
> incomplete headers (0 bytes) received from server
> "/sw/rt/bin/mason_handler.fcgi", referer:
> http://rt.wingfoot.org/Admin/Tools/Shredder?Plugin=Users&Objects%3Alimit=&Object
> s%3AACE=&Objects%3AAttachment=&Objects%3ACachedGroupMember=&Objects%3ACustomFiel
> d=&Objects%3ACustomFieldValue=&Objects%3AGroupMember=&Objects%3AGroup=&Objects%3
> ALink=&Objects%3APrincipal=&Objects%3AQueue=&Objects%3AScrip=&Objects%3AScripAct
> ion=&Objects%3AScripCondition=&Objects%3ATemplate=&Objects%3AObjectCustomFieldVa
> lue=&Objects%3ATicket=&Objects%3ATransaction=&Objects%3AUser=&Users%3Alimit=30&U
> sers%3Astatus=any&Users%3Aname=&Users%3Aemail=&Users%3Areplace_relations=&Attach
> ments%3Alimit=&Attachments%3Afiles_only=&Attachments%3Afile=&Attachments%3Alonge
> r=&Tickets%3Alimit=&Tickets%3Aqueue=&Tickets%3Astatus=&Tickets%3Aupdated_before=
> &WipeoutObject=RT%3A%3AUser-1684&WipeoutObject=RT%3A%3AUser-1312&WipeoutObject=R
> T%3A%3AUser-1098&WipeoutObject=RT%3A%3AUser-1306&WipeoutObject=RT%3A%3AUser-1172
> &WipeoutObject=RT%3A%3AUser-1808&WipeoutObject=RT%3A%3AUser-1702&Wipeout=Wipeout
> (END)
>
> But nothing more interesting (or helpful) than that.
>
> I *think* my config is pretty standard.. and the box is pretty spiffy at
> 2GHz with 1G of RAM.
>
> Thanks in advance, as always!
>
> Best,
> --Glenn
>
> (RT Tools/Configuration output here, with relevant Apache lines
> following (keep in mind that /sw/rt is a symlink to /sw/rt-3.5.7):)
>
> Loaded perl modules
>
> Perl v5.8.8 under freebsd
> Apache::Session v1.6;
> Apache::Session::Generate::MD5 v2.1;
> Apache::Session::Lock::MySQL v1.00;
> Apache::Session::MySQL v1.01;
> Apache::Session::Serialize::Storable v1.00;
> Apache::Session::Store::DBI v1.02;
> Apache::Session::Store::MySQL v1.04;
> AutoLoader v5.60;
> base v2.03;
> Benchmark v1.07;
> bytes v1.02;
> Cache::Simple::TimedExpiry v0.23;
> capitalization v0.03;
> Carp v1.04;
> CGI v3.16;
> CGI::Cookie v1.26;
> CGI::Fast v1.06;
> CGI::Util v1.5;
> Class::Container v0.12;
> Class::Data::Inheritable v0.04;
> Class::ReturnValue v0.53;
> Clone v0.18;
> constant v1.05;
> Cwd v3.16;
> Data::Dumper v2.121;
> Date::Format v2.22;
> Date::Parse v2.27;
> DBD::mysql v3.0002;
> DBI v1.50;
> DBIx::SearchBuilder v1.39;
> DBIx::SearchBuilder::Union v0;
> DBIx::SearchBuilder::Unique v0.01;
> Devel::StackTrace v1.12;
> Devel::StackTraceFrame v0.6;
> Devel::Symdump v2.06;
> Digest::base v1.00;
> Digest::MD5 v2.36;
> DynaLoader v1.05;
> Encode v2.14;
> Encode::Alias v2.04;
> Encode::Config v2.01;
> Encode::Encoding v2.02;
> Errno v1.0901;
> Exception::Class v1.23;
> Exception::Class::Base v1.2;
> Exporter v5.58;
> Exporter::Heavy v5.58;
> FCGI v0.67;
> Fcntl v1.05;
> File::Basename v2.74;
> File::Glob v1.05;
> File::Path v1.08;
> File::Spec v3.16;
> File::Spec::Unix v1.5;
> File::Temp v0.16;
> FileHandle v2.01;
> HTML::Entities v1.32;
> HTML::Mason v1.32;
> HTML::Mason::CGIHandler v1.00;
> 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;
> HTML::Mason::Exception::TopLevelNotFound v1.1;
> HTML::Mason::Exception::VirtualMethod v1.1;
> HTML::Mason::Exceptions v1.43;
> HTML::Parser v3.50;
> HTML::Scrubber v0.08;
> I18N::LangTags v0.35;
> integer v1.00;
> IO v1.22;
> IO::File v1.13;
> IO::Handle v1.25;
> IO::InnerFile v2.110;
> IO::Lines v2.110;
> IO::Scalar v2.110;
> IO::ScalarArray v2.110;
> IO::Seekable v1.1;
> IO::Wrap v2.110;
> IO::WrapTie v2.110;
> IPC::Open2 v1.02;
> IPC::Open3 v1.02;
> lib v0.5565;
> List::Util v1.18;
> Locale::Maketext v1.09;
> Locale::Maketext::Fuzzy v0.02;
> Locale::Maketext::Lexicon v0.49;
> Locale::Maketext::Lexicon::Gettext v0.14;
> Log::Dispatch v2.11;
> Log::Dispatch::Base v1.09;
> Log::Dispatch::File v1.22;
> Log::Dispatch::Output v1.26;
> Log::Dispatch::Screen v1.17;
> Log::Dispatch::Syslog v1.18;
> Mail::Address v1.73;
> Mail::Field v1.73;
> Mail::Field::AddrList v1.73;
> Mail::Field::Date v1.73;
> Mail::Header v1.73;
> Mail::Internet v1.73;
> MIME::Base64 v3.07;
> MIME::Body v5.419;
> MIME::Decoder v5.419;
> MIME::Entity v5.419;
> MIME::Field::ContDisp v5.419;
> MIME::Field::ConTraEnc v5.419;
> MIME::Field::ContType v5.419;
> MIME::Field::ParamVal v5.419;
> MIME::Head v5.419;
> MIME::Parser v5.419;
> MIME::QuotedPrint v3.07;
> MIME::Tools v5.419;
> MIME::Words v5.419;
> Module::Versions::Report v1.02;
> overload v1.04;
> Params::Validate v0.78;
> POSIX v1.09;
> re v0.05;
> Regexp::Common v2.120;
> Regexp::Common::delimited v2.104;
> RT v3.5.7;
> RT::FM v2.2.0RC1;
> RT::Interface::Email v1.02;
> RTx::Shredder v0.03;
> Scalar::Util v1.18;
> SelectSaver v1.01;
> Socket v1.78;
> Storable v2.15;
> strict v1.03;
> Symbol v1.06;
> Sys::Syslog v0.13;
> Text::Autoformat v1.13;
> Text::Quoted v1.8;
> Text::Reform v1.11;
> Text::Tabs v98.112801;
> Text::Template v1.44;
> Text::Wrapper v1.000;
> Time::HiRes v1.87;
> Time::JulianDay v2003.1125;
> Time::Local v1.11;
> Time::ParseDate v2003.1126;
> Time::Timezone v2003.0211;
> Time::Zone v2.22;
> URI v1.35;
> URI::Escape v3.28;
> URI::URL v5.03;
> URI::WithBase v2.19;
> utf8 v1.06;
> vars v1.01;
> warnings v1.05;
> warnings::register v1.01;
> XSLoader v0.06;
> YAML v0.58;
>
>
>
> RT Variables
> RT::AmbiguousDayInPast 1
> RT::BasePath /sw/rt-3.5.7
> RT::BinPath /sw/rt-3.5.7/bin
> RT::CORE_CONFIG_FILE /sw/rt-3.5.7/etc/RT_Config.pm
> RT::CommentAddress help-comment at wingfoot.org
> RT::CompanySpecific Wingfoot.org
> RT::CorrespondAddress help at wingfoot.org
> RT::DatabaseHost localhost
> RT::DatabaseName DB Name not printed
> RT::DatabasePassword Password not printed
> RT::DatabaseRTHost localhost
> RT::DatabaseType mysql
> RT::DatabaseUser Username not printed
> RT::DateDayBeforeMonth 1
> RT::DefaultSearchResultFormat '<B><A
> HREF="/Ticket/Display.html?id=__id__">__id__</a></B>/TITLE:#', '<B><A
> HREF="/Ticket/Display.html?id=__id__">__Subject__</a></B>/TITLE:Subject',
> Status, QueueName, OwnerName, Priority, '__NEWLINE__', '',
> '<small>__Requestors__</small>', '<small>__CreatedRelative__</small>',
> '<small>__ToldRelative__</small>',
> '<small>__LastUpdatedRelative__</small>', '<small>__TimeLeft__</small>'
> RT::DefaultSummaryRows 10
> RT::EmailOutputEncoding utf-8
> RT::EtcPath /sw/rt-3.5.7/etc
> RT::FriendlyFromLineFormat "%s via RT" <%s>
> RT::FriendlyToLineFormat "%s of wingfoot.org Ticket #%s":;
> RT::LinkTransactionsRun1Scrip 1
> RT::LocalEtcPath /sw/rt-3.5.7/local/etc
> RT::LocalLexiconPath /sw/rt-3.5.7/local/po
> RT::LocalPath /sw/rt-3.5.7/local
> RT::LogDir /var/log
> RT::LogToFile debug
> RT::LogToFileNamed rt.log
> RT::LogToScreen error
> RT::LogToSyslog debug
> RT::LogoURL /NoAuth/images/bplogo.gif
> RT::LoopsToRTOwner 1
> RT::MailCommand sendmailpipe
> RT::MasonComponentRoot /sw/rt-3.5.7/share/html
> RT::MasonDataDir /sw/rt-3.5.7/var/mason_data
> RT::MasonLocalComponentRoot /sw/rt-3.5.7/local/html
> RT::MasonSessionDir /sw/rt-3.5.7/var/session_data
> RT::MaxAttachmentSize 10000000
> RT::MaxInlineBody 13456
> RT::MessageBoxWidth 72
> RT::MessageBoxWrap HARD
> RT::MinimumPasswordLength 5
> RT::Organization wingfoot.org
> RT::OwnerEmail root
> RT::ParseNewMessageForTicketCcs 1
> RT::RTAddressRegexp
> ^(help|mailman|postmaster|spamfilter|tposana-bugs)(-comment)?\@wingfoot\.org$
> RT::RecordOutgoingEmail 1
> RT::RedistributeAutoGeneratedMessages privileged
> RT::SITE_CONFIG_FILE /sw/rt-3.5.7/etc/RT_SiteConfig.pm
> RT::SendmailArguments -oi -t
> RT::SendmailBounceArguments -f "<>"
> RT::SendmailPath /usr/local/sbin/sendmail
> RT::Timezone America/New_York
> RT::UseFriendlyFromLine 1
> RT::UseTransactionBatch 1
> RT::VERSION 3.5.7
> RT::VarPath /sw/rt-3.5.7/var
> RT::WebBaseURL http://rt.wingfoot.org
> RT::WebDefaultStylesheet 3.5-default
> RT::WebFlushDbCacheEveryRequest 1
> RT::WebImagesURL /NoAuth/images/
> RT::WebPort 80
> RT::WebURL http://rt.wingfoot.org/
> RT::rtname wingfoot.org
> Perl configuration
>
> Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
> Platform:
> osname=freebsd, osvers=4.11-release-p11, archname=-freebsd-64int
> uname='freebsd caduceus.wingfoot.org 4.11-release-p11 freebsd
> 4.11-release-p11 #23: sun aug 28 18:36:36 edt 2005
> root at caduceus.wingfoot.org:usrobjusrsrcsyswingfoot i386 '
> config_args='-sde -Dprefix=/usr/local
> -Darchlib=/usr/local/lib/perl5/5.8.8/mach
> -Dprivlib=/usr/local/lib/perl5/5.8.8
> -Dman3dir=/usr/local/lib/perl5/5.8.8/perl/man/man3
> -Dman1dir=/usr/local/man/man1
> -Dsitearch=/usr/local/lib/perl5/site_perl/5.8.8/mach
> -Dsitelib=/usr/local/lib/perl5/site_perl/5.8.8
> -Dscriptdir=/usr/local/bin
> -Dsiteman3dir=/usr/local/lib/perl5/5.8.8/man/man3
> -Dsiteman1dir=/usr/local/man/man1 -Ui_malloc -Ui_iconv
> -Uinstallusrbinperl -Dcc=cc -Duseshrplib
> -Dccflags=-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.8/BSDPAN"
> -Doptimize=-O -pipe -Ud_dosuid -Ui_gdbm -Dusethreads=n -Dusemymalloc=y
> -Duse64bitint'
> hint=recommended, useposix=true, d_sigaction=define
> usethreads=undef use5005threads=undef useithreads=undef
> usemultiplicity=undef
> useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
> use64bitint=define use64bitall=undef uselongdouble=undef
> usemymalloc=y, bincompat5005=undef
> Compiler:
> cc='cc', ccflags ='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.8/BSDPAN"
> -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe
> -I/usr/local/include',
> optimize='-O -pipe ',
> cppflags='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.8/BSDPAN"
> -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe
> -I/usr/local/include'
> ccversion='', gccversion='2.95.4 20020320 [FreeBSD]', gccosandvers=''
> intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
> d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
> ivtype='long long', ivsize=8, nvtype='double', nvsize=8,
> Off_t='off_t', lseeksize=8
> alignbytes=4, prototype=define
> Linker and Libraries:
> ld='cc', ldflags =' -Wl,-E -L/usr/local/lib'
> libpth=/usr/lib /usr/local/lib
> libs=-lgdbm -lm -lcrypt -lutil
> perllibs=-lm -lcrypt -lutil
> libc=, so=so, useshrplib=true, libperl=libperl.so
> gnulibc_version=''
> Dynamic Linking:
> dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='
> -Wl,-R/usr/local/lib/perl5/5.8.8/mach/CORE'
> cccdlflags='-DPIC -fPIC', lddlflags='-shared -L/usr/local/lib'
>
> Apache httpd.conf lines:
>
> <IfModule mod_fastcgi.c>
> FastCgiIpcDir /tmp
> FastCgiWrapper /usr/lib/apache/suexec
> FastCgiServer /sw/rt/bin/mason_handler.fcgi -idle-timeout 120 -user rt
> -group rt -processes 10
> </IfModule>
>
> <VirtualHost *:80>
>
> UseCanonicalName off
> ServerName rt.wingfoot.org
> Alias /NoAuth/images/ /sw/rt/share/html/NoAuth/images/
>
> DocumentRoot /sw/rt/share/html
>
> CustomLog /var/log/vhosts/rt.wingfoot.org/access.log combined
> ErrorLog /var/log/vhosts/rt.wingfoot.org/error.log
>
> AddHandler fastcgi-script fcgi
> ScriptAlias / /sw/rt/bin/mason_handler.fcgi/
>
> </VirtualHost>
>
>
>
>
> --
> "They that can give up essential liberty to obtain a little temporary
> safety deserve neither liberty nor safety."
> ~Benjamin Franklin, Historical Review of Pennsylvania, 1759
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>
>
> We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html
>
--
Best regards, Ruslan.
More information about the rt-users
mailing list