|Anonymous | Login | Signup for a new account||2019-02-15 18:18 PST|
|Main | My View | View Issues | Change Log | Roadmap | Summary | My Account|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0006570||opensim||[REGION] Specific OpenSim Module||public||2013-03-09 09:02||2014-07-29 13:42|
|Product Version||master (dev code)|
|Target Version||Fixed in Version|
|Summary||0006570: [RemoteAdmin] responce is delayed in every 2nd call|
|Description||There is some delay in the Remote Admin module. Every 2nd time one send a command, Remote Admin receives the request after a very long delay. Webaplications can run out of time while waiting for the responce.|
I am however not sure if this is a problem caused by Opensim or by php. I am using the php Example 1 found here: http://opensimulator.org/wiki/RemoteAdmin:RemoteAdmin_Examples#Example_1 [^]
|Tags||No tags attached.|
|Git Revision or version number||all current|
|Run Mode||Grid (1 Region per Sim) , Grid (Multiple Regions per Sim)|
|Environment||Mono / Linux32|
If you specify "debug http in 3" on the console then all incoming http requests will be logged (see "help debug http" for more details.
Does this show that that the second request is received immediately but is somehow not processed for a minute?
Michelle Argus (reporter)
Ok, I have narrowed the problem down...
The RemoteAdmin PHP Class which I am using from the Wiki uses fsockopen to communicate with the sim. It successfully send the command to OS and RemoteAdmin also executes the command succesfully. The problem is somewere in the responce were while(!feof($fp)) does not exit the loop. The responce from Remote Admin is being send, which i tested by forcing an exit from while.
I also tryed the alternative php example2 which uses curl instead of fsockopen. Using curl always works fine.
|Turned out the default was to have reuse contexts on, but if the application code didn't specify, it would flip between reuse contexts on and reuse contexts off. This is why the first connection worked as desired, the second one failed.|
|2013-03-09 09:02||Michelle Argus||New Issue|
|2013-03-10 14:07||Snoopy||Relationship added||related to 0006548|
|2013-03-12 16:44||justincc||Note Added: 0023658|
|2013-03-13 12:44||Michelle Argus||Note Added: 0023664|
|2013-04-04 16:14||Teravus||Note Added: 0023754|
|2013-04-04 16:14||Teravus||Status||new => resolved|
|2013-04-04 16:14||Teravus||Resolution||open => fixed|
|2013-04-04 16:14||Teravus||Assigned To||=> Teravus|
|2014-07-29 13:42||chi11ken||Status||resolved => closed|
|Copyright © 2000 - 2012 MantisBT Group|