ECGrid Forums  

Go Back   ECGrid Forums > Electronic Commerce > ECGridOS > ECGridOS Developer

ECGridOS Developer Development related posts.

Reply
 
Thread Tools Display Modes
  #1  
Old 10-06-2010, 03:43 PM
elDub elDub is offline
New Member
 
Join Date: Mar 2010
Posts: 16
Default Concurrent sessions getting timed out

While running tests of concurrent retrieval of a large set of parcel IDs, ECGridOS seems to occasionally abort some of the retrieval requests with a "Session Timeout" error. Does the network support concurrent logins?
Reply With Quote
  #2  
Old 10-06-2010, 04:39 PM
Todd Gould's Avatar
Todd Gould Todd Gould is offline
Loren Data Corp.
 
Join Date: May 2005
Location: Loren Data Corp.
Posts: 303
Send a message via Skype™ to Todd Gould
Thumbs up

Multiple sessions should not be a problem.

The problem seems that the Session Timeout was being incremented at the start of the call, not the end of the call. If the call ran longer than the default Timeout (180 seconds), then the session was expired by the time the call returned.

I have updated the system to advance the Timeout at the END of the call which should fix this problem.

Thanks for finding and reporting this bug!

-=tg=-

Last edited by Todd Gould; 10-06-2010 at 04:58 PM. Reason: not solved
Reply With Quote
  #3  
Old 10-06-2010, 04:55 PM
elDub elDub is offline
New Member
 
Join Date: Mar 2010
Posts: 16
Default

I don't think that did it. In some of our tests, one of the sessions would get the "Session Timeout" fairly early in the process, and I would probably say it was still within the first 180 seconds. In any case, we just ran another test and the same thing happened.
Reply With Quote
  #4  
Old 10-06-2010, 05:44 PM
Todd Gould's Avatar
Todd Gould Todd Gould is offline
Loren Data Corp.
 
Join Date: May 2005
Location: Loren Data Corp.
Posts: 303
Send a message via Skype™ to Todd Gould
Default

I see something else going on. It seems that there is some "unknown" error that is being thrown and the system is reporting a "timeout."

I am researching both the root problem and the false error code and will report back here when I have a solution.

-=tg=-
Reply With Quote
  #5  
Old 10-06-2010, 07:19 PM
Todd Gould's Avatar
Todd Gould Todd Gould is offline
Loren Data Corp.
 
Join Date: May 2005
Location: Loren Data Corp.
Posts: 303
Send a message via Skype™ to Todd Gould
Default

I may have found the culprit. In each case it seems you were attempting to download the same file at the same time with two sessions.

There is nothing specifically wrong with that, but the code had not anticipated that and had implemented a read-lock on the file. When the second session tried to read the same file, it was passed an Access Denied message from the OS.

Then it gets worse, we were not properly tracking the error and it ended up being wrongly reported as a Timeout error (in a strange way, that wasn't entirely untrue).

I will have a patch for this implemented and on-line tonight.

Note that this update will only be for the v2.2 version of ECGridOS.

-=tg=-
Reply With Quote
  #6  
Old 10-06-2010, 08:16 PM
Todd Gould's Avatar
Todd Gould Todd Gould is offline
Loren Data Corp.
 
Join Date: May 2005
Location: Loren Data Corp.
Posts: 303
Send a message via Skype™ to Todd Gould
Default

There may be another bug in there. I'm still looking and will flush them all out.

-=tg=-
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:48 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
ECGrid® is a registered service mark of Loren Data Corp.