orc-lang / orc

Orc programming language implementation
https://orc.csres.utexas.edu/
BSD 3-Clause "New" or "Revised" License
40 stars 3 forks source link

Frequent Orchard hangs #83

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Procedure to Repeat:
In TryOrc:
1. Run the KenKen helper multiple time

Expected / Actual Results:
Hang -- no results in the browser

Version and Platform:
Orchard "Try Orc"

Original issue reported on code.google.com by jthywissen on 17 Aug 2011 at 2:23

GoogleCodeExporter commented 9 years ago
From Jayadev Misra November 24, 2011 13:25:48 CST:

input sequence that leads to failure:

Restart Orchard. Then run KenKen using

include "http://www.cs.utexas.edu/users/misra/temporaryFiles.dir/KenKen.orc"

main()

I used the test sequence:

Board Size: 7
outline * : 483
===========================================
board size: 8

outline * : 1924 
outline + : 213 
outline * : 483
===========================================
board size: 9

inline + : 213 
inline * : 2404 
inline + : 233 
inline * : 963 
===========================================
board size: 6

outline * : 123 
===========================================
board size: 8

outline * : 1443 
outline * : 483 
===========================================
board size: 7

Original comment by jthywissen on 27 Nov 2011 at 5:22

GoogleCodeExporter commented 9 years ago
This repeatably causes the failure with the currently deployed rev, r2888

Original comment by jthywissen on 27 Nov 2011 at 5:23

GoogleCodeExporter commented 9 years ago
One part of the cause:

orc.run.extensions.SupportForSynchronousExecution.runSynchronous does not 
return when Orc.stop() is invoked.

Original comment by jthywissen on 27 Nov 2011 at 5:26

GoogleCodeExporter commented 9 years ago
runSynchronous hang fixed in r2913

Original comment by jthywissen on 27 Nov 2011 at 6:11

GoogleCodeExporter commented 9 years ago
The other part of this bug is a limit somewhere in Jetty that is limiting Jetty 
to 8 outstanding requests.  Since the stopped executions were hanging, there 
still were outstanding requests for them.

Original comment by jthywissen on 27 Nov 2011 at 8:15

GoogleCodeExporter commented 9 years ago
The Jetty request limitation has existed in Orchard for years.  I'll consider 
this issue closed, but open issue 94 to increase that limit.

Fixes in r2914 deployed orc.csres Orchard WAR for testing.

Original comment by jthywissen on 28 Nov 2011 at 1:10

GoogleCodeExporter commented 9 years ago

Original comment by jthywissen on 2 Sep 2014 at 7:37