[rt-users] RT4 slowness

Chris Hall hiro24 at gmail.com
Tue May 31 13:24:07 EDT 2011


Could you point me in the direction of where to file the bug report?

I've just replicated this on another box I have set up as a test server.. so
one was Debian, the other Ubuntu.  In both cases, I downloaded jsmin from

http://www.crockford.com/javascript/jsmin.c

ran:

gcc -o jsmin jsmin.c

and copied the binary over to /usr/bin, and chmod +x /usr/bin/jsmin

I then added the following line to RT_SiteConfig.pm

Set( $JSMinPath, "/usr/bin/jsmin");

which resulted in no errors generated, BUT breaks the interface in the
following way: (note the absence of menu at the top, and the always open
dropdowns)

http://i44.photobucket.com/albums/f45/nodaitsu25/jsmin.png

On firefox you get the bonus of getting Links and Basics stacked together as
well

http://i44.photobucket.com/albums/f45/nodaitsu25/jsmin2.png



On Tue, May 31, 2011 at 12:59 PM, Kevin Falcone
<falcone at bestpractical.com>wrote:

> On Tue, May 31, 2011 at 12:56:46PM -0400, Chris Hall wrote:
> >    Just for the record I'm having the same issues as L.B. I attempted
> loading jsmin, and for a
> >    time it appeared that this was going to be a bigtime home run. In
> fact, it did fix the issues
> >    I was having with speed! However, jsmin seemed to also break several
> aspects of the RT
> >    interface. Immediately I noticed the javascript dropdowns were gone..
> no big deal, switched to
> >    the ballard interface as the default. However, opening a new ticket..
> everything was jumbled
> >    around... dropdowns were permanently opened, the minimize links for
> the different zones
> >    wouldn't work anymore.. it was generally a bad day. :( So I've turned
> it back off. This does
> >    however shed some light on what may be the cause of.. at least.. my
> speed issues.
> >    The search continues...
>
> RT only builds the squished css/js once per child process.  If you're
> actually seeing it built on each request, something is horribly wrong
> and isn't something we've seen or been able to replicate.
>
> Also, if jsmin is breaking the UI, that's the first report I've seen
> of it.  Can you file a bug report with more details?
>
> -kevin
>
> >    On Tue, May 31, 2011 at 10:34 AM, Kevin Falcone <[1]
> falcone at bestpractical.com> wrote:
> >
> >      On Tue, May 31, 2011 at 03:21:17PM +0200, L B wrote:
> >      > What I mean by slowness is that after sending the GET / request,
> it
> >      > takes 7 seconds before seeing the second request
> >      > /NoAuth/css/aileron-squished-30dddb4c81e92207bd3fe516099c0477.css.
> I
> >      > don't have any network traffic during this 7secs on RT server
> network
> >      > interface, so I guess something is processed. Httpd process is
> running
> >      > at 100% at this time.
> >
> >      You should only see this for the first request while things are
> squished.
> >      If you're seeing it for subsequent requests on a standalone server,
> >      then something is quite wrong. If you would like to use something
> >      faster than JavaScript::Minifier, you can check out JSMinPath in
> >      RT_Config.pm
> >      -kevin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20110531/a9ef32e8/attachment.htm>


More information about the rt-users mailing list