[Mono-bugs] [Bug 319498] XSP gives exception when too many requests are made

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jul 1 17:36:59 EDT 2009


User rhowell at novell.com added comment

--- Comment #4 from Rusty Howell <rhowell at novell.com>  2009-07-01 15:36:57 MDT ---
I can reproduce this reliably on OSX 10.5. We run a suite of selenium tests
against xsp in our QA cycle. After about 50 tests, something happens and the
rest of the tests all fail. If I restart xsp, and run all of the failed tests

Steps to reproduce problem:
 - svn co svn://anonsvn.mono-project.com/source/trunk/qa
 - Setup selenium (read qa/selenium/README)
 - start selenuim server
 - start xsp1 --port 8081 on machine to be tested (ie OSX 10.5)
 - cd qa/selenium/xsp1
 - run ./alltests.py --base_url=<url of osx server>

 - Running the tests takes a few minutes
 - All tests should pass

Expected results:
 - 70 tests should execute and they all should pass

Actual results:
 - 70 tests execute. At first they all pass. But then close to the end (around
test 50), the rest of them fail. 
 - If you restart xsp1, and rerun the tests that failed, they will pass.
 - When I try to point a browser to the xsp url, I get the error "Too many open

How often does this happen? Always.

Stack trace:
System.IO.IOException: Too many open files
  at System.IO.Directory.GetFileSystemEntries (System.String path,
System.String searchPattern, FileAttributes mask, FileAttributes attrs)
  at System.IO.Directory.GetFiles (System.String path, System.String
searchPattern) [0x00000] 
  at System.Web.HttpApplication.get_BinDirectoryAssemblies () [0x00000] 
  at System.Web.UI.TemplateParser.AddAssembliesInBin () [0x00000] 
  at System.Web.UI.TemplateParser..ctor () [0x00000] 
  at System.Web.UI.TemplateControlParser..ctor () [0x00000] 
  at System.Web.UI.PageParser..ctor (System.String virtualPath, System.String
inputFile, System.Web.HttpContext context) [0x00000] 
  at System.Web.UI.PageParser.GetCompiledPageInstance (System.String
virtualPath, System.String inputFile, System.Web.HttpContext context) [0x00000] 
  at System.Web.UI.PageHandlerFactory.GetHandler (System.Web.HttpContext
context, System.String requestType, System.String url, System.String path)
  at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context,
System.String url, Boolean ignoreContextHandler) [0x00000] 
  at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context,
System.String url) [0x00000] 
  at System.Web.HttpApplication+<Pipeline>c__Iterator1.MoveNext () [0x00000]

Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list