Apache Jena
  1. Apache Jena
  2. JENA-181

Fuseki starts producing 500 errors if rapidly sent a sequence of queries


    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Not a Problem
    • Affects Version/s: Fuseki 0.2.1
    • Fix Version/s: None
    • Component/s: Fuseki
    • Labels:
    • Environment:

      Mac OS X Lion


      It is fairly trivial to cause Fuseki to start generating a 500 : Direct buffer memory error code in response to queries simply by sending a sequence of queries to it with no delays between them, even with a short delay e.g. 0.5 seconds Fuseki will typically get into this state at a similar point.

      Attached is a simple test case which fires SELECT * WHERE { } queries at a local Fuseki instance, for me this reliably fails on the 25th iteration, turning on --debug and --verbose for Fuseki and modifying the log4j.properties file to set DEBUG level for everything didn't show anything particularly useful on the command line so I have no idea what the cause of this may be beyond something related to java.nio.HeapByteBuffer


        Rob Vesse created issue -
        Rob Vesse made changes -
        Field Original Value New Value
        Attachment FusekiDOSAttack.java [ 12507929 ]
        Andy Seaborne made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Andy Seaborne [ andy.seaborne ]
        Resolution Not A Problem [ 8 ]
        Andy Seaborne made changes -
        Status Resolved [ 5 ] Closed [ 6 ]


          • Assignee:
            Andy Seaborne
            Rob Vesse
          • Votes:
            0 Vote for this issue
            0 Start watching this issue


            • Created: