Mountebank Logs file Piled up

29 views
Skip to first unread message

Ruban CV

unread,
May 6, 2024, 7:40:43 AM5/6/24
to mountebank-discuss
Hi Im hosting stubs on Mountebank Server, and the teams are running a performance run hitting our stubs and they are seeing issues with stubs. but im not able to showcase what is the log from the stub since it got piled up. 

Posting the error
RangeError [ERR_FS_FILE_TOO_LARGE]: File size (2211660674) is greater than 2 GiB at tryCreateBuffer (node:fs:415:13)
at Object.readFileSync (node:fs: 468:14)
at get (/svServer/node_modules/mountebank/src/controllers/logsController.js:22:29)
at Layer.handle [as handle_request] (/svServer/node_modules/express/lib/router/layer.js:95:5) at next (/svServer/node_modules/express/lib/router/route.js:137:13)
at Route.dispatch (/svServer/node_modules/express/lib/router/route.js:112:3)
at at Layer.handle [as handle_request] (/svServer/node_modules/express/lib/router/layer.js:95:5) /svServer/node_modules/express/lib/router/index.js:281:22 at Function.process_params (/svServer/node_modules/express/lib/router/index.js:335:12) at next (/svServer/node_modules/express/lib/router/index.js:275:10

pls provide any insights on how to get this issue fixed with.
happy for any leads

--Ruban
Reply all
Reply to author
Forward
0 new messages