Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006021opensim[REGION] Specific OpenSim Modulepublic2012-05-13 21:292012-05-15 23:22
Reporterfred huffhines 
Assigned Tojustincc 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
Platformx86_64OSUbuntu LinuxOS Version11.10
Product Versionmaster (dev code) 
Target VersionFixed in Version 
Summary0006021: [PATCH] smtp fixes: email size limit mismatches documentation and is not configurable, email pause time incorrectly implemented.
Description(borrowing from commit log...)
This patch has modifications for SMTP in OpenSimulator.
Email size limit was fixed (was out of step with documentation at 1024, so boosted to 4096).
Added configuration item for maximum email size.
Redundant sleep inside email module was fixed (LSL Api was already sleeping).
Added sleep time configuration item for snooze between email sending for LSL Api.
Added two new configuration items (email_max_size and email_pause_time) into the example OpenSim.ini, plus fixed a spelling error (llimits) and odd tabbing.
Steps To ReproducePrevious behavior cuts off email size at 1024 total bytes, including subject+body. Patch sets it to 4096 bytes by default (as documented on LSL pages), but also makes the size limit configurable.
Further, many odd problems were occurring due to sleep time. There turned out to be a redundant 10 second sleep in EmailModule; the LSLApi was already sleeping 20 seconds. (Note that in my tests, even sleeping 20 seconds seems to cause problems when multiple emails are being sent by same script, but I left this as the default since that's what's documented.)
So, earlier behavior actually implemented a 30 second sleep.
(Odd problems with multiple emails in a row plus large sleep times may possibly point to other issues for scripts that sleep a long time. With a 1 second sleep duration between emails, they cranked along just fine and never froze. With the documentation-specified 20 second sleep duration, one or two emails would be sent fine, but then script never regained control; a call to llSendEmail would just never return to the calling script.)
Additional InformationConfiguration items were added for the size limit and email snooze time, and examples were added to the OpenSim.ini.example.
TagsNo tags attached.
Git Revision or version numberr/18996 i believe
Run Mode Grid (Multiple Regions per Sim)
Physics EngineODE
EnvironmentMono / Linux64
Mono Version2.10
Viewerimprudence
Attached Filespatch file icon 0001-Modifications-for-SMTP-in-OpenSimulator.patch [^] (8,918 bytes) 2012-05-13 21:29 [Show Content]

- Relationships

-  Notes
(0021452)
BlueWall (administrator)
2012-05-13 21:45

Applied the patch - Thanks!

Will leave it open a couple of days for comments.
(0021462)
justincc (administrator)
2012-05-15 23:22

Moving to resolved for clarity (one can still comment and change status if necessary). Thanks fred.

- Issue History
Date Modified Username Field Change
2012-05-13 21:29 fred huffhines New Issue
2012-05-13 21:29 fred huffhines File Added: 0001-Modifications-for-SMTP-in-OpenSimulator.patch
2012-05-13 21:45 BlueWall Note Added: 0021452
2012-05-15 23:22 justincc Note Added: 0021462
2012-05-15 23:22 justincc Status new => resolved
2012-05-15 23:22 justincc Resolution open => fixed
2012-05-15 23:22 justincc Assigned To => justincc


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker