[GH-ISSUE #103] Getting "RangeError: Maximum call stack size exceeded" when the log file is heavy #74

Closed
opened 2026-03-03 16:04:12 +03:00 by kerem · 4 comments
Owner

Originally created by @Taymindis on GitHub (Dec 12, 2017).
Original GitHub issue: https://github.com/mthenw/frontail/issues/103

/usr/lib/node_modules/frontail/node_modules/socket.io/node_modules/engine.io/lib/socket.js:413
this.sentCallbackFn.push.apply(this.sentCallbackFn, this.packetsFn);
^

RangeError: Maximum call stack size exceeded
at Socket.flush (/usr/lib/node_modules/frontail/node_modules/socket.io/node_modules/engine.io/lib/socket.js:413:32)
at emitNone (events.js:72:20)
at WebSocket.emit (events.js:166:7)
at /usr/lib/node_modules/frontail/node_modules/socket.io/node_modules/engine.io/lib/transports/websocket.js:109:14
at CorkedRequest.finish (_stream_writable.js:514:7)
at afterWrite (_stream_writable.js:355:3)
at onwrite (_stream_writable.js:346:7)
at Socket.WritableState.onwrite (_stream_writable.js:90:5)
at WriteWrap.afterWrite (net.js:802:12)

Originally created by @Taymindis on GitHub (Dec 12, 2017). Original GitHub issue: https://github.com/mthenw/frontail/issues/103 /usr/lib/node_modules/frontail/node_modules/socket.io/node_modules/engine.io/lib/socket.js:413 this.sentCallbackFn.push.apply(this.sentCallbackFn, this.packetsFn); ^ RangeError: Maximum call stack size exceeded at Socket.flush (/usr/lib/node_modules/frontail/node_modules/socket.io/node_modules/engine.io/lib/socket.js:413:32) at emitNone (events.js:72:20) at WebSocket.emit (events.js:166:7) at /usr/lib/node_modules/frontail/node_modules/socket.io/node_modules/engine.io/lib/transports/websocket.js:109:14 at CorkedRequest.finish (_stream_writable.js:514:7) at afterWrite (_stream_writable.js:355:3) at onwrite (_stream_writable.js:346:7) at Socket.WritableState.onwrite (_stream_writable.js:90:5) at WriteWrap.afterWrite (net.js:802:12)
kerem 2026-03-03 16:04:12 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@mthenw commented on GitHub (Dec 12, 2017):

@Taymindis thanks for reporting. what do you mean by heavy? What size is it? How many lines?

<!-- gh-comment-id:350992288 --> @mthenw commented on GitHub (Dec 12, 2017): @Taymindis thanks for reporting. what do you mean by heavy? What size is it? How many lines?
Author
Owner

@Taymindis commented on GitHub (Dec 12, 2017):

@mthenw it is debugging the data, it logs around 100k lines per 100 secs

<!-- gh-comment-id:351221505 --> @Taymindis commented on GitHub (Dec 12, 2017): @mthenw it is debugging the data, it logs around 100k lines per 100 secs
Author
Owner

@mthenw commented on GitHub (Jan 3, 2018):

Looks like it's an issue with socket.io https://github.com/socketio/socket.io/issues/1665#issuecomment-237536358

<!-- gh-comment-id:355003866 --> @mthenw commented on GitHub (Jan 3, 2018): Looks like it's an issue with socket.io https://github.com/socketio/socket.io/issues/1665#issuecomment-237536358
Author
Owner

@mthenw commented on GitHub (Jan 3, 2018):

@Taymindis I will release a new version in few minutes. Please let me know if it works.

<!-- gh-comment-id:355005887 --> @mthenw commented on GitHub (Jan 3, 2018): @Taymindis I will release a new version in few minutes. Please let me know if it works.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/frontail#74
No description provided.