Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008765opensim[REGION] Script Functionspublic2020-09-07 08:332020-09-07 09:01
ReporterJeffKelley 
Assigned ToJeffKelley 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0008765: Please, provide a mechanism to disable llHTTPRequest throttle by configuration
DescriptionPer LSL documentation, llHTTPRequest is throttled to 25 requests in 20 seconds for each object, and 1000 in 20 seconds for each owner. This limit did not exist prior to release 0.9.1.1.

It may be useful to make requests unthrottled, for example : loading a large file by pieces, or querying a number of hosts for status. Throttling makes the script more complex and less reliable.
TagsNo tags attached.
Git Revision or version number649e447
Run Mode Grid (1 Region per Sim)
Physics EngineBulletSim
Script EngineXEngine
EnvironmentUnknown
Mono VersionNone
Viewer
Attached Files

- Relationships

-  Notes
(0036795)
BillBlight (developer)
2020-09-07 08:49
edited on: 2020-09-07 08:51

Already has config options ..


[ScriptsHttpRequestModule]
    ; options for llHttpRequest
    
    ; max number of concurrent connections per instance (all scenes), default 8
    ; MaxPoolThreads = 8
    
    ; max requests per second for all scripts on a prim, default 1
    ;PrimRequestsPerSec = 1.0
    ; initial unthrottled burst for all scripts on a prim, default 3
    ;PrimRequestsBurst = 3.0

    ; max requests per second for the objects owner (per instance), default 25
    ;PrimOwnerRequestsPerSec = 25.0
    ; initial unthrottled burst for the objects owner (per instance), default 5
    ;PrimOwnerRequestsBurst = 5.0
    
    ; requests timeout in miliseconds, range 200 to 60000, default 30000
    ;RequestsTimeOut = 30000


That is in OpenSimDefaults.ini

(0036796)
JeffKelley (reporter)
2020-09-07 09:01

This little-known section of OpenSimDefaults.ini solves the issue.
To be used with care not to overload the region server.

Thanks a lot.

- Issue History
Date Modified Username Field Change
2020-09-07 08:33 JeffKelley New Issue
2020-09-07 08:49 BillBlight Note Added: 0036795
2020-09-07 08:50 BillBlight Note Edited: 0036795 View Revisions
2020-09-07 08:51 BillBlight Note Edited: 0036795 View Revisions
2020-09-07 09:01 JeffKelley Note Added: 0036796
2020-09-07 09:01 JeffKelley Status new => resolved
2020-09-07 09:01 JeffKelley Resolution open => fixed
2020-09-07 09:01 JeffKelley Assigned To => JeffKelley


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker