SkyGra opened a new issue, #58:
URL: https://github.com/apache/doris-mcp-server/issues/58

   Hi, when I use jmeter make perfomance test for doris mcp server 0.6.0, I 
found two issues.
   
   1. When use 2 thread or more thread and 1 worker make test in the same 
session, the test can't end normally, but have no any error. For example, when 
I test for 5 minutes, it will hang on  a little over 4 minutes. But in the old 
version 0.2.0, it have no the probelem, and in version 0.5.1, it also have the 
problem. When  I use multi-workes and multi-thread in 0.6.0, it also ok. I 
doubt it maybe caused by the session,the same session will share the 
connection, wheather it caused by some lock. In multi-workers mode, they are 
stateless architecture, so have no effect.
   2. When use multi-worker mode for test, it seems run normally, but evrytime 
the call of exec_query tool will raise error, as follows:
   ```
   2025-09-05 16:25:19.563 [INFO] mcp.server.lowlevel.server:624 - Processing 
request of type Cal1ToolRequest
   2025-09-05 16:25:19.567[INFO] doris_mcp_server.multiworker_app:350 - 
Handling tool call request in worker: exec_query
   2025-09-05 16:25:19.567[INFO] doris_mcp_server.utils.schema_extractor:1468 - 
Executing SQL query: select count(*) from ssb2.dates 1imit 10;, DB: None, 
Catalog: None, MaxRows: 100, Timeout: 37
   2025-09-05 16:25:19.567[INFO] doris_mcp_server.utils.security:475 - All 
authentication methods are disabled - anonymous access allowed
   2025-09-05 16:25:19.574[INFO]doris_mcp_server.utils.query_executor:176 - 
Cleaned up all cache, total 0 items
   2025-09-05 16:25:19.575[INFO] doris_mcp_server.utils.query_executor:787 - 
Query executor closed
   2025-09-05 16:25:19.575[INFO]  mcp.server.streamable_http:630 - Terminating 
session: None
   2025-09-05 16:25:19.575 [ERROR] mcp.server.streamable_http:880 - Error in 
message router
   Traceback (most recent call last):
   File 
"/data/doris-mcp-server-0.6.0/.venv/lib/python3.12/site-packages/mcp/server/streamable_http.py",
 line 831, in message_router
   async for session_message in write_stream_reader:
   File 
"/data/doris-mcp-server-0.6.0/.venv/lib/python3.12/s1te-packages/anyio/abc/_streams.py",
 line 41, in __anext__.
        return await self.receive()
                   ^^^^^^^^^^^^^^^^^^^^
   File 
"/data/doris-mcp-server-0.6.0/.venv/lib/python3.12/site-packages/any1o/streams/memory.py",
 line 111, in receive
        return self.receive_nowait()
                   ^^^^^^^^^^^^^^^^^^^^
   File 
"/data/doris-mcp-server-0.6.0/.venv/lib/python3.12/site-packages/anyio/streams/memory.py",
 line 93, in receive_nowait
   raise ClosedResourceError
   anyio.ClosedResourceError
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to