Results 1 to 5 of 5

Thread: default limit in config.php

  1. #1
    kurt.maderal is offline Senior Member
    Join Date
    Jun 2009
    Posts
    66

    Question default limit in config.php

    Hi,

    I have an error logged in sugarcrm.log

    [29581][cd36d1a7-e2b9-7aa7-cfdc-4a1bdfe8f0ad][FATAL] Error: Query limit of 1500 reached for Calls module.

    The said error was fixed by setting default_limit twice or greater than 1500 in config.php

    My question is:

    What does default_limit used for ??

    SugarCE520e
    PHP 5.2.6
    MySQL 5.0.58

    Thanks,
    -Kurt

  2. #2
    salesagility's Avatar
    salesagility is offline Sugar Community Member
    Join Date
    Aug 2006
    Location
    UK
    Posts
    2,379

    Default Re: default limit in config.php

    Query limits are set in config.php and config_override.php.

    Look for 'default_limit' => 2000, and change as required. Make sure that the max_execution_time in your php.ini doesn't come and bite you on the backside though :-)

  3. #3
    SugarDev.net is offline Sugar Community Member
    Join Date
    Feb 2008
    Posts
    1,401

    Default Re: default limit in config.php

    This directive is meant to provide some shielding from scripts who take up too much resources and thus slow down the system.
    Developers go here
    Businesses go there (Dutch)

    Modules:
    SugarDev.net Developer Tools | Config | Dutch Language Pack
    "Nothing gets fixed unless there is a bug"

  4. #4
    salesagility's Avatar
    salesagility is offline Sugar Community Member
    Join Date
    Aug 2006
    Location
    UK
    Posts
    2,379

    Default Re: default limit in config.php

    This directive is meant to provide some shielding from scripts who take up too much resources and thus slow down the system.

    Sugardev - Is that not what the resource limit parameters in php.ini do?

  5. #5
    kurt.maderal is offline Senior Member
    Join Date
    Jun 2009
    Posts
    66

    Thumbs up Re: default limit in config.php

    Thank you very much...

    It's now clear to me...

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: 2009-07-13, 08:16 AM
  2. overwrite config default limit for 1 module
    By mikesolomon in forum Developer Help
    Replies: 2
    Last Post: 2008-10-06, 12:46 PM
  3. Replies: 5
    Last Post: 2008-09-22, 12:11 PM
  4. Limit assignees
    By jrobgood in forum Help
    Replies: 1
    Last Post: 2008-02-29, 11:42 PM
  5. Replies: 2
    Last Post: 2004-10-16, 06:12 PM

Tags for this Thread

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
  •