Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Sugar Slowdown

  1. #1
    etabs is offline Sugar Community Member
    Join Date
    Aug 2006
    Posts
    19

    Default Sugar Slowdown

    We have been wrestling with a very slow response time since we installed Sugar. The response times that we are getting (reported at the bottom of each page) are between 7 and 15 seconds.

    Sugar is installed on a box running Windows 2003 Server (SP1). The hardware is a twin processor 1.8Ghz + 1.8GHz machine with 3GB of RAM. There are very few or no extraneous software processes running on this machine. The only exception is our Server-Side installed Trend Micro anti-virus software that we have configured not to live-scan the SugarCRM
    directories. we have rebooted the Sugar server machine several times with no effect.

    This is Sugar version Version 4.5.1b (Build 1246) Apache 2.0 and php version 4.4.3

    Any ideas as to why we would be seeing these types of slow down?

    Thanks in advance,
    Aaron

  2. #2
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Sugar Slowdown

    As a test, try disabling Trend Micro all together and see if that helps.

    I ran into a situation some time back where McAfee, especially the script scanning engine, was consistently causing this problem. Once disabled, I went from 7 - 10 seconds down to 2 and less. Significantly faster.
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  3. #3
    clint's Avatar
    clint is offline Sugar Team Member | Forums Lead Moderator
    Join Date
    Aug 2004
    Location
    Silicon Valley
    Posts
    2,120

    Default Re: Sugar Slowdown

    I suggest checking your Apache and PHP configuration against the recommended configuration in the Sugar Wiki. The settings listed here are intended to provide the best performance on your system.

    On a lightly loaded system, you should routinely see sub-second server side performance with the hardware you've listed. It sounds like a potential Apache/MySQL config issue.

    Also, a virus scanner could certainly cause the problem you described. Be sure it is configured to NOT scan the MySQL database and Apache log directories as well.
    Sugar Developer Zone - developer resources | Sugar University - user and admin training
    Sugar Docs - user and admin documentation |
    Sugar Bug Tracker - Enter or view bugs
    SugarForge- open source modules, themes, lang packs | SugarExchange - commercial extensions

    Clint Oram
    Chief Technology Officer and Co-founder
    SugarCRM

  4. #4
    etabs is offline Sugar Community Member
    Join Date
    Aug 2006
    Posts
    19

    Default Re: Sugar Slowdown

    Quote Originally Posted by clint
    I suggest checking your Apache and PHP configuration against the recommended configuration in the Sugar Wiki. The settings listed here are intended to provide the best performance on your system.

    On a lightly loaded system, you should routinely see sub-second server side performance with the hardware you've listed. It sounds like a potential Apache/MySQL config issue.

    Also, a virus scanner could certainly cause the problem you described. Be sure it is configured to NOT scan the MySQL database and Apache log directories as well.
    Angel and Clint,

    Thanks for your thoughts on this issue. We'll look into it and see if we gain any performance boost.

    Aaron

  5. #5
    c24
    c24 is offline Member
    Join Date
    May 2007
    Posts
    7

    Default Re: Sugar Slowdown

    Hello all,

    I'm facing this same issue with my 1.8GHz, 512MB Debian 3.0 machine. Real response times are 4-5 seconds. Strangely though the "Server response time" shown at the bottom of the page is some 1/2 sec, which I guess would be acceptable, only the real speed I see is much slower.

    I've got a PHP and a Perl app on this machine and both of them are performing perfectly normally.

    Also applied the Apache2 config recommended at http://www.sugarcrm.com/wiki/index.p...Configurations, but see no improvement.

    Appreciate any more tips!

    Thanks / c24

  6. #6
    clint's Avatar
    clint is offline Sugar Team Member | Forums Lead Moderator
    Join Date
    Aug 2004
    Location
    Silicon Valley
    Posts
    2,120

    Default Re: Sugar Slowdown

    The response time you see on the screen is the server render time. It doesn't account for delivery over the network and then client-side render.

    There are a variety of conditions that can affect slow client-side rendering: low bandwidth network connection, high latency between client and server, default FireFox configuration for SSL connections to name the most common.

    If you are using FireFox, I suggest reading this Wiki article.
    Sugar Developer Zone - developer resources | Sugar University - user and admin training
    Sugar Docs - user and admin documentation |
    Sugar Bug Tracker - Enter or view bugs
    SugarForge- open source modules, themes, lang packs | SugarExchange - commercial extensions

    Clint Oram
    Chief Technology Officer and Co-founder
    SugarCRM

  7. #7
    c24
    c24 is offline Member
    Join Date
    May 2007
    Posts
    7

    Default Re: Sugar Slowdown

    Also ran the "Diagnostics" from Admin, and noted that my sugarcrm.log file was missing. Created this w. 777 permissions, but this didn't change the performance as such.

    I could email the diagnostics report if someone is interested in taking a look.

    TIA / c24

  8. #8
    clint's Avatar
    clint is offline Sugar Team Member | Forums Lead Moderator
    Join Date
    Aug 2004
    Location
    Silicon Valley
    Posts
    2,120

    Default Re: Sugar Slowdown

    So are you running over SSL? Do you see the same performance in both IE and Firefox? How many network hops between your server and client? Have you turned on HTTP compression?
    Sugar Developer Zone - developer resources | Sugar University - user and admin training
    Sugar Docs - user and admin documentation |
    Sugar Bug Tracker - Enter or view bugs
    SugarForge- open source modules, themes, lang packs | SugarExchange - commercial extensions

    Clint Oram
    Chief Technology Officer and Co-founder
    SugarCRM

  9. #9
    c24
    c24 is offline Member
    Join Date
    May 2007
    Posts
    7

    Default Re: Sugar Slowdown

    We have this setup accessible both over http as well as https. Being company data, the encryption is definitely preferred.

    I tested a bit with http, and the performance is a bit better. Pages take ~4-5 secs to load instead of ~7.

    Interesting though that IE 6.0 seems to run faster. The difference is noticable compared to FF.

    Not sure what to conclude though, because FF is the browser of choice here I'm gonna have a hard time getting users switch to FF just for accessing the CRM.

    Thanks
    c24

  10. #10
    Deland01 is offline Sugar Community Member
    Join Date
    Sep 2006
    Posts
    66

    Default Re: Sugar Slowdown

    I'm having major problems with the stability of sugar. User's screens keep freezing constantly, 30 seconds plus responce times & Apache keeps crashing 3 - 4 crashes per day. I only have about 10 people using sugar on a server with the following spec:

    Win 2003 Std Edn
    3.00mhz Xeon CPU
    3.50 GB RAM


    Just looking through the Sugar optimisation guide & had a question:


    Under Apache Setup I cant find StartServers, MinSpareServers, MaxSpareServers or any other of the variables it advises to increase. I've been looking in the Apache Config file located at C:\Program Files\Apache Group\Apache2\conf

    Do I need to add these varables into the httpd.conf file or should they already be in there?
    Sugar Version - 4.5.0h
    Sugar Edition - SugarSuite
    OS - Win 2003 Server Std
    PHP Version - 5.2.0
    Database - MySQL Server 5
    Web Server - Apache 2.0.59

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Sugar is slow - some ideas to improve the speed
    By mycrmspacegunnar in forum General Discussion
    Replies: 22
    Last Post: 2012-04-04, 01:44 PM
  2. Big Security worries with Sugar!
    By mycrmspacegunnar in forum General Discussion
    Replies: 28
    Last Post: 2007-07-29, 05:27 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •