Forum crashing constantly and not able to relaunch. (at least once a day)


  • Hello, I have a weird problem since a week or two my forum keeps crashing when I'm at work and I keep relaunching it with my phone when I see it's down. It's a major issue cause I'm not able to restart it as soon as it crashes and some members sees a 503 when browsing.

    I've found the log that's related to the problem but I didn't figured out what the hell was happening.

    Thanks in advance for the kind help you could bring me.

    NodeBB v0.6.1 Copyright (C) 2013-2014 NodeBB Inc.
    This program comes with ABSOLUTELY NO WARRANTY.
    This is free software, and you are welcome to redistribute it under certain conditions.
    For the full license, please visit: http://www.gnu.org/copyleft/gpl.html
    
    Clustering enabled: Spinning up 1 process(es).
    
    7/4 07:28 [21152] - info: Time: Tue Apr 07 2015 07:28:34 GMT-0400 (EDT)
    7/4 07:28 [21152] - info: Initializing NodeBB v0.6.1
    7/4 07:28 [21152] - info: Enabling 'trust proxy'
    7/4 07:28 [21152] - error: Error: Cannot find module '../public/src/modules/translator'
        at Function.Module._resolveFilename (module.js:338:15)
        at Function.Module._load (module.js:280:25)
        at Module.require (module.js:364:17)
        at /home/esiao/forum/node_modules/nodebb-widget-essentials/library.js:14:30
        at Object.<anonymous> (/home/esiao/forum/node_modules/nodebb-widget-essentials/library.js:443:2)
        at Module._compile (module.js:456:26)
        at Object.Module._extensions..js (module.js:474:10)
        at Module.load (module.js:356:32)
        at Function.Module._load (module.js:312:12)
        at Module.require (module.js:364:17)
    7/4 07:28 [21152] - warn: [plugins.reload] Library not found for plugin: nodebb-widget-essentials
    7/4 07:28 [21152] - info: [plugins/spam-be-gone] Settings loaded
    7/4 07:28 [21152] - warn: [meta/templates] Partial not loaded: partials/fontawesome.tpl
    7/4 07:28 [21152] - warn: [meta/templates] Partial not loaded: partials/fontawesome.tpl
    7/4 07:28 [21152] - warn: [meta/templates] Partial not loaded: partials/variables/reset_code.tpl
    7/4 07:28 [21152] - warn: [meta/templates] Partial not loaded: partials/variables/tag.tpl
    7/4 07:28 [21152] - warn: [meta/templates] Partial not loaded: partials/variables/account.tpl
    7/4 07:28 [21152] - warn: [meta/templates] Partial not loaded: partials/fontawesome.tpl
    7/4 07:28 [21152] - warn: [meta/templates] Partial not loaded: partials/variables/groups/details.tpl
    7/4 07:28 [21152] - info: NodeBB is now listening on: 0.0.0.0:4567
    7/4 07:28 [21152] - info: NodeBB Ready
    7/4 10:27 [21152] - error: /category/10/cr%c3%a9ations
     Error: ERR value is not an integer or out of range
        at ReplyParser.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:305:31)
        at ReplyParser.EventEmitter.emit (events.js:95:17)
        at ReplyParser.send_error (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:296:10)
        at ReplyParser.execute (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:181:22)
        at RedisClient.on_data (/home/esiao/forum/node_modules/redis/index.js:534:27)
        at Socket.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:91:14)
        at Socket.EventEmitter.emit (events.js:95:17)
        at Socket.<anonymous> (_stream_readable.js:746:14)
        at Socket.EventEmitter.emit (events.js:92:17)
        at emitReadable_ (_stream_readable.js:408:10)
    7/4 12:20 [21152] - error: /api/category/10/cr%c3%a9ations
     Error: ERR value is not an integer or out of range
        at ReplyParser.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:305:31)
        at ReplyParser.EventEmitter.emit (events.js:95:17)
        at ReplyParser.send_error (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:296:10)
        at ReplyParser.execute (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:181:22)
        at RedisClient.on_data (/home/esiao/forum/node_modules/redis/index.js:534:27)
        at Socket.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:91:14)
        at Socket.EventEmitter.emit (events.js:95:17)
        at Socket.<anonymous> (_stream_readable.js:746:14)
        at Socket.EventEmitter.emit (events.js:92:17)
        at emitReadable_ (_stream_readable.js:408:10)
    7/4 12:22 [21152] - error: /register
     Error: invalid csrf token
        at verifytoken (/home/esiao/forum/node_modules/csurf/index.js:237:11)
        at csrf (/home/esiao/forum/node_modules/csurf/index.js:100:7)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at next (/home/esiao/forum/node_modules/express/lib/router/route.js:100:13)
        at Route.dispatch (/home/esiao/forum/node_modules/express/lib/router/route.js:81:3)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:235:24
        at Function.proto.process_params (/home/esiao/forum/node_modules/express/lib/router/index.js:313:12)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:229:12
        at Function.match_layer (/home/esiao/forum/node_modules/express/lib/router/index.js:296:3)
    7/4 14:03 [21152] - error: /api/category/14/sotw
     Error: ERR value is not an integer or out of range
        at ReplyParser.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:305:31)
        at ReplyParser.EventEmitter.emit (events.js:95:17)
        at ReplyParser.send_error (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:296:10)
        at ReplyParser.execute (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:181:22)
        at RedisClient.on_data (/home/esiao/forum/node_modules/redis/index.js:534:27)
        at Socket.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:91:14)
        at Socket.EventEmitter.emit (events.js:95:17)
        at Socket.<anonymous> (_stream_readable.js:746:14)
        at Socket.EventEmitter.emit (events.js:92:17)
        at emitReadable_ (_stream_readable.js:408:10)
    7/4 14:04 [21152] - error: /api/category/14/sotw
     Error: ERR value is not an integer or out of range
        at ReplyParser.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:305:31)
        at ReplyParser.EventEmitter.emit (events.js:95:17)
        at ReplyParser.send_error (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:296:10)
        at ReplyParser.execute (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:181:22)
        at RedisClient.on_data (/home/esiao/forum/node_modules/redis/index.js:534:27)
        at Socket.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:91:14)
        at Socket.EventEmitter.emit (events.js:95:17)
        at Socket.<anonymous> (_stream_readable.js:746:14)
        at Socket.EventEmitter.emit (events.js:92:17)
        at emitReadable_ (_stream_readable.js:408:10)
    7/4 17:52 [21152] - info: Saving file upload-affd3e2c-8207-4661-9edc-2034dc8db109.png to : /home/esiao/forum/public/uploads/files/upload-affd3e2c-8207-4661-9edc-2034dc8db109.png
    7/4 17:53 [21152] - info: Saving file upload-bff40021-2609-475b-be11-dec963e0b398.png to : /home/esiao/forum/public/uploads/files/upload-bff40021-2609-475b-be11-dec963e0b398.png
    7/4 17:54 [21152] - info: Saving file upload-fbcb9f84-b612-4777-a58c-7678b3fa27e3.png to : /home/esiao/forum/public/uploads/files/upload-fbcb9f84-b612-4777-a58c-7678b3fa27e3.png
    7/4 20:22 [21152] - error: /login
     Error: invalid csrf token
        at verifytoken (/home/esiao/forum/node_modules/csurf/index.js:237:11)
        at csrf (/home/esiao/forum/node_modules/csurf/index.js:100:7)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at next (/home/esiao/forum/node_modules/express/lib/router/route.js:100:13)
        at Route.dispatch (/home/esiao/forum/node_modules/express/lib/router/route.js:81:3)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:235:24
        at Function.proto.process_params (/home/esiao/forum/node_modules/express/lib/router/index.js:313:12)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:229:12
        at Function.match_layer (/home/esiao/forum/node_modules/express/lib/router/index.js:296:3)
    8/4 08:35 [21152] - error: /api/category/14/sotw
     Error: ERR value is not an integer or out of range
        at ReplyParser.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:305:31)
        at ReplyParser.EventEmitter.emit (events.js:95:17)
        at ReplyParser.send_error (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:296:10)
        at ReplyParser.execute (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:181:22)
        at RedisClient.on_data (/home/esiao/forum/node_modules/redis/index.js:534:27)
        at Socket.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:91:14)
        at Socket.EventEmitter.emit (events.js:95:17)
        at Socket.<anonymous> (_stream_readable.js:746:14)
        at Socket.EventEmitter.emit (events.js:92:17)
        at emitReadable_ (_stream_readable.js:408:10)
    8/4 14:46 [21152] - error: /login
     Error: invalid csrf token
        at verifytoken (/home/esiao/forum/node_modules/csurf/index.js:237:11)
        at csrf (/home/esiao/forum/node_modules/csurf/index.js:100:7)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at next (/home/esiao/forum/node_modules/express/lib/router/route.js:100:13)
        at Route.dispatch (/home/esiao/forum/node_modules/express/lib/router/route.js:81:3)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:235:24
        at Function.proto.process_params (/home/esiao/forum/node_modules/express/lib/router/index.js:313:12)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:229:12
        at Function.match_layer (/home/esiao/forum/node_modules/express/lib/router/index.js:296:3)
    8/4 16:20 [21152] - info: Saving file upload-834ffd66-d40a-46be-bc36-90032204fe97.png to : /home/esiao/forum/public/uploads/files/upload-834ffd66-d40a-46be-bc36-90032204fe97.png
    8/4 16:21 [21152] - info: Saving file 145-profileimg.png to : /home/esiao/forum/public/uploads/profile/145-profileimg.png
    8/4 16:59 [21152] - info: Saving file upload-1de70cc6-a0ff-4434-9631-38de4ff2d013.png to : /home/esiao/forum/public/uploads/files/upload-1de70cc6-a0ff-4434-9631-38de4ff2d013.png
    8/4 18:39 [21152] - error: /login
     Error: invalid csrf token
        at verifytoken (/home/esiao/forum/node_modules/csurf/index.js:237:11)
        at csrf (/home/esiao/forum/node_modules/csurf/index.js:100:7)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at next (/home/esiao/forum/node_modules/express/lib/router/route.js:100:13)
        at Route.dispatch (/home/esiao/forum/node_modules/express/lib/router/route.js:81:3)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:235:24
        at Function.proto.process_params (/home/esiao/forum/node_modules/express/lib/router/index.js:313:12)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:229:12
        at Function.match_layer (/home/esiao/forum/node_modules/express/lib/router/index.js:296:3)
    8/4 19:45 [21152] - error: /category/7/pr%c3%a9sentation
     Error: ERR value is not an integer or out of range
        at ReplyParser.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:305:31)
        at ReplyParser.EventEmitter.emit (events.js:95:17)
        at ReplyParser.send_error (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:296:10)
        at ReplyParser.execute (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:181:22)
        at RedisClient.on_data (/home/esiao/forum/node_modules/redis/index.js:534:27)
        at Socket.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:91:14)
        at Socket.EventEmitter.emit (events.js:95:17)
        at Socket.<anonymous> (_stream_readable.js:746:14)
        at Socket.EventEmitter.emit (events.js:92:17)
        at emitReadable_ (_stream_readable.js:408:10)
    8/4 23:37 [21152] - error: /login
     Error: invalid csrf token
        at verifytoken (/home/esiao/forum/node_modules/csurf/index.js:237:11)
        at csrf (/home/esiao/forum/node_modules/csurf/index.js:100:7)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at next (/home/esiao/forum/node_modules/express/lib/router/route.js:100:13)
        at Route.dispatch (/home/esiao/forum/node_modules/express/lib/router/route.js:81:3)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:235:24
        at Function.proto.process_params (/home/esiao/forum/node_modules/express/lib/router/index.js:313:12)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:229:12
        at Function.match_layer (/home/esiao/forum/node_modules/express/lib/router/index.js:296:3)
    9/4 05:53 [21152] - error: /login
     Error: invalid csrf token
        at verifytoken (/home/esiao/forum/node_modules/csurf/index.js:237:11)
        at csrf (/home/esiao/forum/node_modules/csurf/index.js:100:7)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at next (/home/esiao/forum/node_modules/express/lib/router/route.js:100:13)
        at Route.dispatch (/home/esiao/forum/node_modules/express/lib/router/route.js:81:3)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:235:24
        at Function.proto.process_params (/home/esiao/forum/node_modules/express/lib/router/index.js:313:12)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:229:12
        at Function.match_layer (/home/esiao/forum/node_modules/express/lib/router/index.js:296:3)
    9/4 08:27 [21152] - error: /api/category/15/king-queen-s-rules
     Error: ERR value is not an integer or out of range
        at ReplyParser.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:305:31)
        at ReplyParser.EventEmitter.emit (events.js:95:17)
        at ReplyParser.send_error (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:296:10)
        at ReplyParser.execute (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:181:22)
        at RedisClient.on_data (/home/esiao/forum/node_modules/redis/index.js:534:27)
        at Socket.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:91:14)
        at Socket.EventEmitter.emit (events.js:95:17)
        at Socket.<anonymous> (_stream_readable.js:746:14)
        at Socket.EventEmitter.emit (events.js:92:17)
        at emitReadable_ (_stream_readable.js:408:10)
    9/4 08:27 [21152] - error: /api/category/15/king-queen-s-rules
     Error: ERR value is not an integer or out of range
        at ReplyParser.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:305:31)
        at ReplyParser.EventEmitter.emit (events.js:95:17)
        at ReplyParser.send_error (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:296:10)
        at ReplyParser.execute (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:181:22)
        at RedisClient.on_data (/home/esiao/forum/node_modules/redis/index.js:534:27)
        at Socket.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:91:14)
        at Socket.EventEmitter.emit (events.js:95:17)
        at Socket.<anonymous> (_stream_readable.js:746:14)
        at Socket.EventEmitter.emit (events.js:92:17)
        at emitReadable_ (_stream_readable.js:408:10)
    9/4 08:27 [21152] - error: /api/category/15/king-queen-s-rules
     Error: ERR value is not an integer or out of range
        at ReplyParser.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:305:31)
        at ReplyParser.EventEmitter.emit (events.js:95:17)
        at ReplyParser.send_error (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:296:10)
        at ReplyParser.execute (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:181:22)
        at RedisClient.on_data (/home/esiao/forum/node_modules/redis/index.js:534:27)
        at Socket.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:91:14)
        at Socket.EventEmitter.emit (events.js:95:17)
        at Socket.<anonymous> (_stream_readable.js:746:14)
        at Socket.EventEmitter.emit (events.js:92:17)
        at emitReadable_ (_stream_readable.js:408:10)
    9/4 12:20 [21152] - error: /register
     Error: invalid csrf token
        at verifytoken (/home/esiao/forum/node_modules/csurf/index.js:237:11)
        at csrf (/home/esiao/forum/node_modules/csurf/index.js:100:7)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at next (/home/esiao/forum/node_modules/express/lib/router/route.js:100:13)
        at Route.dispatch (/home/esiao/forum/node_modules/express/lib/router/route.js:81:3)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:235:24
        at Function.proto.process_params (/home/esiao/forum/node_modules/express/lib/router/index.js:313:12)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:229:12
        at Function.match_layer (/home/esiao/forum/node_modules/express/lib/router/index.js:296:3)
    9/4 12:20 [21152] - error: /login
     Error: invalid csrf token
        at verifytoken (/home/esiao/forum/node_modules/csurf/index.js:237:11)
        at csrf (/home/esiao/forum/node_modules/csurf/index.js:100:7)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at next (/home/esiao/forum/node_modules/express/lib/router/route.js:100:13)
        at Route.dispatch (/home/esiao/forum/node_modules/express/lib/router/route.js:81:3)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:235:24
        at Function.proto.process_params (/home/esiao/forum/node_modules/express/lib/router/index.js:313:12)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:229:12
        at Function.match_layer (/home/esiao/forum/node_modules/express/lib/router/index.js:296:3)
    9/4 12:55 [21152] - info: Saving file 52-profileimg.png to : /home/esiao/forum/public/uploads/profile/52-profileimg.png
    9/4 13:00 [21152] - error: /login
     Error: invalid csrf token
        at verifytoken (/home/esiao/forum/node_modules/csurf/index.js:237:11)
        at csrf (/home/esiao/forum/node_modules/csurf/index.js:100:7)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at next (/home/esiao/forum/node_modules/express/lib/router/route.js:100:13)
        at Route.dispatch (/home/esiao/forum/node_modules/express/lib/router/route.js:81:3)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:235:24
        at Function.proto.process_params (/home/esiao/forum/node_modules/express/lib/router/index.js:313:12)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:229:12
        at Function.match_layer (/home/esiao/forum/node_modules/express/lib/router/index.js:296:3)
    9/4 20:22 [21152] - error: /register
     Error: invalid csrf token
        at verifytoken (/home/esiao/forum/node_modules/csurf/index.js:237:11)
        at csrf (/home/esiao/forum/node_modules/csurf/index.js:100:7)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at next (/home/esiao/forum/node_modules/express/lib/router/route.js:100:13)
        at Route.dispatch (/home/esiao/forum/node_modules/express/lib/router/route.js:81:3)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:235:24
        at Function.proto.process_params (/home/esiao/forum/node_modules/express/lib/router/index.js:313:12)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:229:12
        at Function.match_layer (/home/esiao/forum/node_modules/express/lib/router/index.js:296:3)
    9/4 20:22 [21152] - error: /login
     Error: invalid csrf token
        at verifytoken (/home/esiao/forum/node_modules/csurf/index.js:237:11)
        at csrf (/home/esiao/forum/node_modules/csurf/index.js:100:7)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at next (/home/esiao/forum/node_modules/express/lib/router/route.js:100:13)
        at Route.dispatch (/home/esiao/forum/node_modules/express/lib/router/route.js:81:3)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:235:24
        at Function.proto.process_params (/home/esiao/forum/node_modules/express/lib/router/index.js:313:12)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:229:12
        at Function.match_layer (/home/esiao/forum/node_modules/express/lib/router/index.js:296:3)
    10/4 00:16 [21152] - error: /login
     Error: invalid csrf token
        at verifytoken (/home/esiao/forum/node_modules/csurf/index.js:237:11)
        at csrf (/home/esiao/forum/node_modules/csurf/index.js:100:7)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at next (/home/esiao/forum/node_modules/express/lib/router/route.js:100:13)
        at Route.dispatch (/home/esiao/forum/node_modules/express/lib/router/route.js:81:3)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:235:24
        at Function.proto.process_params (/home/esiao/forum/node_modules/express/lib/router/index.js:313:12)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:229:12
        at Function.match_layer (/home/esiao/forum/node_modules/express/lib/router/index.js:296:3)
    [cluster] Child Process (21152) has exited (code: null, signal: SIGKILL)
    [cluster] Spinning up another process...
    10/4 06:54 [31067] - info: Time: Fri Apr 10 2015 06:54:29 GMT-0400 (EDT)
    10/4 06:54 [31067] - info: Initializing NodeBB v0.6.1
    10/4 06:54 [31067] - info: Enabling 'trust proxy'
    10/4 06:54 [31067] - error: Error: Cannot find module '../public/src/modules/translator'
        at Function.Module._resolveFilename (module.js:338:15)
        at Function.Module._load (module.js:280:25)
        at Module.require (module.js:364:17)
        at /home/esiao/forum/node_modules/nodebb-widget-essentials/library.js:14:30
        at Object.<anonymous> (/home/esiao/forum/node_modules/nodebb-widget-essentials/library.js:443:2)
        at Module._compile (module.js:456:26)
        at Object.Module._extensions..js (module.js:474:10)
        at Module.load (module.js:356:32)
        at Function.Module._load (module.js:312:12)
        at Module.require (module.js:364:17)
    10/4 06:54 [31067] - warn: [plugins.reload] Library not found for plugin: nodebb-widget-essentials
    10/4 06:54 [31067] - info: [plugins/spam-be-gone] Settings loaded
    10/4 06:54 [31067] - error: Error: spawn ENOMEM
        at errnoException (child_process.js:988:11)
        at ChildProcess.spawn (child_process.js:935:11)
        at exports.spawn (child_process.js:723:9)
        at exports.fork (child_process.js:533:10)
        at Meta.js.minify (/home/esiao/forum/src/meta/js.js:129:42)
        at /home/esiao/forum/node_modules/async/lib/async.js:656:23
        at /home/esiao/forum/node_modules/async/lib/async.js:570:21
        at /home/esiao/forum/node_modules/async/lib/async.js:249:17
        at /home/esiao/forum/node_modules/async/lib/async.js:125:13
        at Array.forEach (native)
    [cluster] Child Process (31067) has exited (code: 1, signal: null)
    [cluster] Spinning up another process...
    10/4 06:54 [31088] - info: Time: Fri Apr 10 2015 06:54:38 GMT-0400 (EDT)
    10/4 06:54 [31088] - info: Initializing NodeBB v0.6.1
    10/4 06:54 [31088] - error: Error: spawn ENOMEM
        at errnoException (child_process.js:988:11)
        at ChildProcess.spawn (child_process.js:935:11)
        at exports.spawn (child_process.js:723:9)
        at Object.exports.execFile (child_process.js:607:15)
        at Object.exports.exec (child_process.js:578:18)
        at Object.module.exports.init (/home/esiao/forum/src/webserver.js:60:29)
        at /home/esiao/forum/app.js:152:16
        at /home/esiao/forum/src/upgrade.js:36:4
        at try_callback (/home/esiao/forum/node_modules/redis/index.js:573:9)
        at RedisClient.return_reply (/home/esiao/forum/node_modules/redis/index.js:661:13)
    [cluster] Child Process (31088) has exited (code: 1, signal: null)
    [cluster] Spinning up another process...
    10/4 06:54 [31092] - info: Time: Fri Apr 10 2015 06:54:41 GMT-0400 (EDT)
    10/4 06:54 [31092] - info: Initializing NodeBB v0.6.1
    10/4 06:54 [31092] - error: Error: spawn ENOMEM
        at errnoException (child_process.js:988:11)
        at ChildProcess.spawn (child_process.js:935:11)
        at exports.spawn (child_process.js:723:9)
        at Object.exports.execFile (child_process.js:607:15)
        at Object.exports.exec (child_process.js:578:18)
        at Object.module.exports.init (/home/esiao/forum/src/webserver.js:60:29)
        at /home/esiao/forum/app.js:152:16
        at /home/esiao/forum/src/upgrade.js:36:4
        at try_callback (/home/esiao/forum/node_modules/redis/index.js:573:9)
        at RedisClient.return_reply (/home/esiao/forum/node_modules/redis/index.js:661:13)
    3 restarts in 10 seconds, most likely an error on startup. Halting.
    
    
  • NodeBB

    @esiao said:

    10/4 06:54 [31067] - error: Error: Cannot find module '../public/src/modules/translator'

    Looks like a version mismatch between your core and widget-essentials plugin.

    widget-essentials 1.0.0 is for nodebb 0.7.0-dev.


  • @baris So I just need to downgrade the plugin ? Thing is I don't even use it maybe I can deactivate it ?
    Thanks for the quick answer.

  • NodeBB

    If you are using nodebb 0.6.x you can downgrade it to 0.2.18.

  • Admin

    And yeah, if you're not using widgets feel free to deactivate. Just disable any widgets you have first, if any


  • I've deactivated the plugin making everything work but since 2 days or so It happened again here's the error log :

    NodeBB v0.6.1 Copyright (C) 2013-2014 NodeBB Inc.
    This program comes with ABSOLUTELY NO WARRANTY.
    This is free software, and you are welcome to redistribute it under certain conditions.
    For the full license, please visit: http://www.gnu.org/copyleft/gpl.html
    
    Clustering enabled: Spinning up 1 process(es).
    
    23/4 14:46 [7566] - info: Time: Thu Apr 23 2015 14:46:34 GMT-0400 (EDT)
    23/4 14:46 [7566] - info: Initializing NodeBB v0.6.1
    23/4 14:46 [7566] - info: Enabling 'trust proxy'
    23/4 14:46 [7566] - info: [plugins/spam-be-gone] Settings loaded
    23/4 14:46 [7566] - warn: [meta/templates] Partial not loaded: partials/fontawesome.tpl
    23/4 14:46 [7566] - warn: [meta/templates] Partial not loaded: partials/fontawesome.tpl
    23/4 14:46 [7566] - warn: [meta/templates] Partial not loaded: partials/variables/reset_code.tpl
    23/4 14:46 [7566] - warn: [meta/templates] Partial not loaded: partials/variables/tag.tpl
    23/4 14:46 [7566] - warn: [meta/templates] Partial not loaded: partials/variables/account.tpl
    23/4 14:46 [7566] - warn: [meta/templates] Partial not loaded: partials/fontawesome.tpl
    23/4 14:46 [7566] - warn: [meta/templates] Partial not loaded: partials/variables/groups/details.tpl
    23/4 14:46 [7566] - info: NodeBB is now listening on: 0.0.0.0:4567
    23/4 14:46 [7566] - info: NodeBB Ready
    23/4 16:37 [7566] - error: /api/category/15/king-queen-s-rules
     Error: ERR value is not an integer or out of range
        at ReplyParser.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:305:31)
        at ReplyParser.EventEmitter.emit (events.js:95:17)
        at ReplyParser.send_error (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:296:10)
        at ReplyParser.execute (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:181:22)
        at RedisClient.on_data (/home/esiao/forum/node_modules/redis/index.js:534:27)
        at Socket.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:91:14)
        at Socket.EventEmitter.emit (events.js:95:17)
        at Socket.<anonymous> (_stream_readable.js:746:14)
        at Socket.EventEmitter.emit (events.js:92:17)
        at emitReadable_ (_stream_readable.js:408:10)
    23/4 16:37 [7566] - error: /api/category/15/king-queen-s-rules
     Error: ERR value is not an integer or out of range
        at ReplyParser.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:305:31)
        at ReplyParser.EventEmitter.emit (events.js:95:17)
        at ReplyParser.send_error (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:296:10)
        at ReplyParser.execute (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:181:22)
        at RedisClient.on_data (/home/esiao/forum/node_modules/redis/index.js:534:27)
        at Socket.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:91:14)
        at Socket.EventEmitter.emit (events.js:95:17)
        at Socket.<anonymous> (_stream_readable.js:746:14)
        at Socket.EventEmitter.emit (events.js:92:17)
        at emitReadable_ (_stream_readable.js:408:10)
    23/4 16:37 [7566] - error: /api/category/15/king-queen-s-rules
     Error: ERR value is not an integer or out of range
        at ReplyParser.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:305:31)
        at ReplyParser.EventEmitter.emit (events.js:95:17)
        at ReplyParser.send_error (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:296:10)
        at ReplyParser.execute (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:181:22)
        at RedisClient.on_data (/home/esiao/forum/node_modules/redis/index.js:534:27)
        at Socket.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:91:14)
        at Socket.EventEmitter.emit (events.js:95:17)
        at Socket.<anonymous> (_stream_readable.js:746:14)
        at Socket.EventEmitter.emit (events.js:92:17)
        at emitReadable_ (_stream_readable.js:408:10)
    23/4 16:37 [7566] - error: /api/category/15/king-queen-s-rules
     Error: ERR value is not an integer or out of range
        at ReplyParser.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:305:31)
        at ReplyParser.EventEmitter.emit (events.js:95:17)
        at ReplyParser.send_error (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:296:10)
        at ReplyParser.execute (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:181:22)
        at RedisClient.on_data (/home/esiao/forum/node_modules/redis/index.js:534:27)
        at Socket.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:91:14)
        at Socket.EventEmitter.emit (events.js:95:17)
        at Socket.<anonymous> (_stream_readable.js:746:14)
        at Socket.EventEmitter.emit (events.js:92:17)
        at emitReadable_ (_stream_readable.js:408:10)
    23/4 16:37 [7566] - error: /api/category/15/king-queen-s-rules
     Error: ERR value is not an integer or out of range
        at ReplyParser.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:305:31)
        at ReplyParser.EventEmitter.emit (events.js:95:17)
        at ReplyParser.send_error (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:296:10)
        at ReplyParser.execute (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:181:22)
        at RedisClient.on_data (/home/esiao/forum/node_modules/redis/index.js:534:27)
        at Socket.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:91:14)
        at Socket.EventEmitter.emit (events.js:95:17)
        at Socket.<anonymous> (_stream_readable.js:746:14)
        at Socket.EventEmitter.emit (events.js:92:17)
        at emitReadable_ (_stream_readable.js:408:10)
    23/4 17:14 [7566] - error: /login
     Error: invalid csrf token
        at verifytoken (/home/esiao/forum/node_modules/csurf/index.js:237:11)
        at csrf (/home/esiao/forum/node_modules/csurf/index.js:100:7)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at next (/home/esiao/forum/node_modules/express/lib/router/route.js:100:13)
        at Route.dispatch (/home/esiao/forum/node_modules/express/lib/router/route.js:81:3)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:235:24
        at Function.proto.process_params (/home/esiao/forum/node_modules/express/lib/router/index.js:313:12)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:229:12
        at Function.match_layer (/home/esiao/forum/node_modules/express/lib/router/index.js:296:3)
    [cluster] Child Process (7566) has exited (code: null, signal: SIGKILL)
    [cluster] Spinning up another process...
    24/4 06:31 [19021] - info: Time: Fri Apr 24 2015 06:31:30 GMT-0400 (EDT)
    24/4 06:31 [19021] - info: Initializing NodeBB v0.6.1
    24/4 06:31 [19021] - error: Error: spawn ENOMEM
        at errnoException (child_process.js:988:11)
        at ChildProcess.spawn (child_process.js:935:11)
        at exports.spawn (child_process.js:723:9)
        at Object.exports.execFile (child_process.js:607:15)
        at Object.exports.exec (child_process.js:578:18)
        at Object.module.exports.init (/home/esiao/forum/src/webserver.js:60:29)
        at /home/esiao/forum/app.js:152:16
        at /home/esiao/forum/src/upgrade.js:36:4
        at try_callback (/home/esiao/forum/node_modules/redis/index.js:573:9)
        at RedisClient.return_reply (/home/esiao/forum/node_modules/redis/index.js:661:13)
    [cluster] Child Process (19021) has exited (code: 1, signal: null)
    [cluster] Spinning up another process...
    24/4 06:31 [19030] - info: Time: Fri Apr 24 2015 06:31:35 GMT-0400 (EDT)
    24/4 06:31 [19030] - info: Initializing NodeBB v0.6.1
    24/4 06:31 [19030] - error: Error: spawn ENOMEM
        at errnoException (child_process.js:988:11)
        at ChildProcess.spawn (child_process.js:935:11)
        at exports.spawn (child_process.js:723:9)
        at Object.exports.execFile (child_process.js:607:15)
        at Object.exports.exec (child_process.js:578:18)
        at Object.module.exports.init (/home/esiao/forum/src/webserver.js:60:29)
        at /home/esiao/forum/app.js:152:16
        at /home/esiao/forum/src/upgrade.js:36:4
        at try_callback (/home/esiao/forum/node_modules/redis/index.js:573:9)
        at RedisClient.return_reply (/home/esiao/forum/node_modules/redis/index.js:661:13)
    [cluster] Child Process (19030) has exited (code: 1, signal: null)
    [cluster] Spinning up another process...
    24/4 06:31 [19036] - info: Time: Fri Apr 24 2015 06:31:41 GMT-0400 (EDT)
    24/4 06:31 [19036] - info: Initializing NodeBB v0.6.1
    24/4 06:31 [19036] - error: Error: spawn ENOMEM
        at errnoException (child_process.js:988:11)
        at ChildProcess.spawn (child_process.js:935:11)
        at exports.spawn (child_process.js:723:9)
        at Object.exports.execFile (child_process.js:607:15)
        at Object.exports.exec (child_process.js:578:18)
        at Object.module.exports.init (/home/esiao/forum/src/webserver.js:60:29)
        at /home/esiao/forum/app.js:152:16
        at /home/esiao/forum/src/upgrade.js:36:4
        at try_callback (/home/esiao/forum/node_modules/redis/index.js:573:9)
        at RedisClient.return_reply (/home/esiao/forum/node_modules/redis/index.js:661:13)
    3 restarts in 10 seconds, most likely an error on startup. Halting.
    

    It seems like there's an error with the category http://forum.galaxygraph.fr/category/15/king-queen-s-rules and csurf token

  • NodeBB

    @esiao said:

    24/4 06:31 [19021] - error: Error: spawn ENOMEM

    Looks like your machine run out of memory.

    The other error logs are fixed on master.


  • @baris Thanks. Is master stable enough to consider upgrading ? Any idea on 0.7.0 release ?

    Also the ENOMEM error points out at the end of all the errors, so I guess it's because of them that the memory is overused and the whole crash or is shutdown.

    Another exemple of logs :

    NodeBB v0.6.1 Copyright (C) 2013-2014 NodeBB Inc.
    This program comes with ABSOLUTELY NO WARRANTY.
    This is free software, and you are welcome to redistribute it under certain conditions.
    For the full license, please visit: http://www.gnu.org/copyleft/gpl.html
    
    Clustering enabled: Spinning up 1 process(es).
    
    15/4 07:58 [17383] - info: Time: Wed Apr 15 2015 07:58:21 GMT-0400 (EDT)
    15/4 07:58 [17383] - info: Initializing NodeBB v0.6.1
    15/4 07:58 [17383] - info: Enabling 'trust proxy'
    15/4 07:58 [17383] - info: [plugins/spam-be-gone] Settings loaded
    15/4 07:58 [17383] - warn: [meta/templates] Partial not loaded: partials/fontawesome.tpl
    15/4 07:58 [17383] - warn: [meta/templates] Partial not loaded: partials/fontawesome.tpl
    15/4 07:58 [17383] - warn: [meta/templates] Partial not loaded: partials/variables/reset_code.tpl
    15/4 07:58 [17383] - warn: [meta/templates] Partial not loaded: partials/variables/tag.tpl
    15/4 07:58 [17383] - warn: [meta/templates] Partial not loaded: partials/variables/account.tpl
    15/4 07:58 [17383] - warn: [meta/templates] Partial not loaded: partials/fontawesome.tpl
    15/4 07:58 [17383] - warn: [meta/templates] Partial not loaded: partials/variables/groups/details.tpl
    15/4 07:58 [17383] - info: NodeBB is now listening on: 0.0.0.0:4567
    15/4 07:58 [17383] - info: NodeBB Ready
    15/4 10:53 [17383] - error: /category/7/pr%c3%a9sentation
     Error: ERR value is not an integer or out of range
        at ReplyParser.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:305:31)
        at ReplyParser.EventEmitter.emit (events.js:95:17)
        at ReplyParser.send_error (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:296:10)
        at ReplyParser.execute (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:181:22)
        at RedisClient.on_data (/home/esiao/forum/node_modules/redis/index.js:534:27)
        at Socket.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:91:14)
        at Socket.EventEmitter.emit (events.js:95:17)
        at Socket.<anonymous> (_stream_readable.js:746:14)
        at Socket.EventEmitter.emit (events.js:92:17)
        at emitReadable_ (_stream_readable.js:408:10)
    15/4 15:39 [17383] - error: /category/14/sotw
     Error: ERR value is not an integer or out of range
        at ReplyParser.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:305:31)
        at ReplyParser.EventEmitter.emit (events.js:95:17)
        at ReplyParser.send_error (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:296:10)
        at ReplyParser.execute (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:181:22)
        at RedisClient.on_data (/home/esiao/forum/node_modules/redis/index.js:534:27)
        at Socket.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:91:14)
        at Socket.EventEmitter.emit (events.js:95:17)
        at Socket.<anonymous> (_stream_readable.js:746:14)
        at Socket.EventEmitter.emit (events.js:92:17)
        at emitReadable_ (_stream_readable.js:408:10)
    15/4 17:10 [17383] - error: /category/7/pr%c3%a9sentation
     Error: ERR value is not an integer or out of range
        at ReplyParser.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:305:31)
        at ReplyParser.EventEmitter.emit (events.js:95:17)
        at ReplyParser.send_error (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:296:10)
        at ReplyParser.execute (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:181:22)
        at RedisClient.on_data (/home/esiao/forum/node_modules/redis/index.js:534:27)
        at Socket.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:91:14)
        at Socket.EventEmitter.emit (events.js:95:17)
        at Socket.<anonymous> (_stream_readable.js:746:14)
        at Socket.EventEmitter.emit (events.js:92:17)
        at emitReadable_ (_stream_readable.js:408:10)
    15/4 23:29 [17383] - error: /category/7/pr%c3%a9sentation
     Error: ERR value is not an integer or out of range
        at ReplyParser.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:305:31)
        at ReplyParser.EventEmitter.emit (events.js:95:17)
        at ReplyParser.send_error (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:296:10)
        at ReplyParser.execute (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:181:22)
        at RedisClient.on_data (/home/esiao/forum/node_modules/redis/index.js:534:27)
        at Socket.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:91:14)
        at Socket.EventEmitter.emit (events.js:95:17)
        at Socket.<anonymous> (_stream_readable.js:746:14)
        at Socket.EventEmitter.emit (events.js:92:17)
        at emitReadable_ (_stream_readable.js:408:10)
    16/4 02:14 [17383] - error: /register
     Error: invalid csrf token
        at verifytoken (/home/esiao/forum/node_modules/csurf/index.js:237:11)
        at csrf (/home/esiao/forum/node_modules/csurf/index.js:100:7)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at next (/home/esiao/forum/node_modules/express/lib/router/route.js:100:13)
        at Route.dispatch (/home/esiao/forum/node_modules/express/lib/router/route.js:81:3)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:235:24
        at Function.proto.process_params (/home/esiao/forum/node_modules/express/lib/router/index.js:313:12)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:229:12
        at Function.match_layer (/home/esiao/forum/node_modules/express/lib/router/index.js:296:3)
    16/4 08:36 [17383] - error: /register
     Error: invalid csrf token
        at verifytoken (/home/esiao/forum/node_modules/csurf/index.js:237:11)
        at csrf (/home/esiao/forum/node_modules/csurf/index.js:100:7)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at next (/home/esiao/forum/node_modules/express/lib/router/route.js:100:13)
        at Route.dispatch (/home/esiao/forum/node_modules/express/lib/router/route.js:81:3)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:235:24
        at Function.proto.process_params (/home/esiao/forum/node_modules/express/lib/router/index.js:313:12)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:229:12
        at Function.match_layer (/home/esiao/forum/node_modules/express/lib/router/index.js:296:3)
    16/4 08:36 [17383] - error: /login
     Error: invalid csrf token
        at verifytoken (/home/esiao/forum/node_modules/csurf/index.js:237:11)
        at csrf (/home/esiao/forum/node_modules/csurf/index.js:100:7)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at next (/home/esiao/forum/node_modules/express/lib/router/route.js:100:13)
        at Route.dispatch (/home/esiao/forum/node_modules/express/lib/router/route.js:81:3)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:235:24
        at Function.proto.process_params (/home/esiao/forum/node_modules/express/lib/router/index.js:313:12)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:229:12
        at Function.match_layer (/home/esiao/forum/node_modules/express/lib/router/index.js:296:3)
    16/4 09:45 [17383] - error: /register
     Error: invalid csrf token
        at verifytoken (/home/esiao/forum/node_modules/csurf/index.js:237:11)
        at csrf (/home/esiao/forum/node_modules/csurf/index.js:100:7)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at next (/home/esiao/forum/node_modules/express/lib/router/route.js:100:13)
        at Route.dispatch (/home/esiao/forum/node_modules/express/lib/router/route.js:81:3)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:235:24
        at Function.proto.process_params (/home/esiao/forum/node_modules/express/lib/router/index.js:313:12)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:229:12
        at Function.match_layer (/home/esiao/forum/node_modules/express/lib/router/index.js:296:3)
    16/4 09:45 [17383] - error: /login
     Error: invalid csrf token
        at verifytoken (/home/esiao/forum/node_modules/csurf/index.js:237:11)
        at csrf (/home/esiao/forum/node_modules/csurf/index.js:100:7)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at next (/home/esiao/forum/node_modules/express/lib/router/route.js:100:13)
        at Route.dispatch (/home/esiao/forum/node_modules/express/lib/router/route.js:81:3)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:235:24
        at Function.proto.process_params (/home/esiao/forum/node_modules/express/lib/router/index.js:313:12)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:229:12
        at Function.match_layer (/home/esiao/forum/node_modules/express/lib/router/index.js:296:3)
    16/4 11:12 [17383] - info: Saving file upload-b728d353-bad8-434a-a059-546b152736c2.png to : /home/esiao/forum/public/uploads/files/upload-b728d353-bad8-434a-a059-546b152736c2.png
    16/4 13:13 [17383] - error: /category/10/cr%c3%a9ations
     Error: ERR value is not an integer or out of range
        at ReplyParser.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:305:31)
        at ReplyParser.EventEmitter.emit (events.js:95:17)
        at ReplyParser.send_error (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:296:10)
        at ReplyParser.execute (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:181:22)
        at RedisClient.on_data (/home/esiao/forum/node_modules/redis/index.js:534:27)
        at Socket.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:91:14)
        at Socket.EventEmitter.emit (events.js:95:17)
        at Socket.<anonymous> (_stream_readable.js:746:14)
        at Socket.EventEmitter.emit (events.js:92:17)
        at emitReadable_ (_stream_readable.js:408:10)
    16/4 20:14 [17383] - error: /register
     Error: invalid csrf token
        at verifytoken (/home/esiao/forum/node_modules/csurf/index.js:237:11)
        at csrf (/home/esiao/forum/node_modules/csurf/index.js:100:7)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at next (/home/esiao/forum/node_modules/express/lib/router/route.js:100:13)
        at Route.dispatch (/home/esiao/forum/node_modules/express/lib/router/route.js:81:3)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:235:24
        at Function.proto.process_params (/home/esiao/forum/node_modules/express/lib/router/index.js:313:12)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:229:12
        at Function.match_layer (/home/esiao/forum/node_modules/express/lib/router/index.js:296:3)
    16/4 20:14 [17383] - error: /login
     Error: invalid csrf token
        at verifytoken (/home/esiao/forum/node_modules/csurf/index.js:237:11)
        at csrf (/home/esiao/forum/node_modules/csurf/index.js:100:7)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at next (/home/esiao/forum/node_modules/express/lib/router/route.js:100:13)
        at Route.dispatch (/home/esiao/forum/node_modules/express/lib/router/route.js:81:3)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:235:24
        at Function.proto.process_params (/home/esiao/forum/node_modules/express/lib/router/index.js:313:12)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:229:12
        at Function.match_layer (/home/esiao/forum/node_modules/express/lib/router/index.js:296:3)
    17/4 04:16 [17383] - error: /register
     Error: invalid csrf token
        at verifytoken (/home/esiao/forum/node_modules/csurf/index.js:237:11)
        at csrf (/home/esiao/forum/node_modules/csurf/index.js:100:7)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at next (/home/esiao/forum/node_modules/express/lib/router/route.js:100:13)
        at Route.dispatch (/home/esiao/forum/node_modules/express/lib/router/route.js:81:3)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:235:24
        at Function.proto.process_params (/home/esiao/forum/node_modules/express/lib/router/index.js:313:12)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:229:12
        at Function.match_layer (/home/esiao/forum/node_modules/express/lib/router/index.js:296:3)
    17/4 04:16 [17383] - error: /login
     Error: invalid csrf token
        at verifytoken (/home/esiao/forum/node_modules/csurf/index.js:237:11)
        at csrf (/home/esiao/forum/node_modules/csurf/index.js:100:7)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at next (/home/esiao/forum/node_modules/express/lib/router/route.js:100:13)
        at Route.dispatch (/home/esiao/forum/node_modules/express/lib/router/route.js:81:3)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:235:24
        at Function.proto.process_params (/home/esiao/forum/node_modules/express/lib/router/index.js:313:12)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:229:12
        at Function.match_layer (/home/esiao/forum/node_modules/express/lib/router/index.js:296:3)
    17/4 05:45 [17383] - error: /category/7/pr%c3%a9sentation
     Error: ERR value is not an integer or out of range
        at ReplyParser.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:305:31)
        at ReplyParser.EventEmitter.emit (events.js:95:17)
        at ReplyParser.send_error (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:296:10)
        at ReplyParser.execute (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:181:22)
        at RedisClient.on_data (/home/esiao/forum/node_modules/redis/index.js:534:27)
        at Socket.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:91:14)
        at Socket.EventEmitter.emit (events.js:95:17)
        at Socket.<anonymous> (_stream_readable.js:746:14)
        at Socket.EventEmitter.emit (events.js:92:17)
        at emitReadable_ (_stream_readable.js:408:10)
    17/4 07:12 [17383] - error: /api/category/14/sotw
     Error: ERR value is not an integer or out of range
        at ReplyParser.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:305:31)
        at ReplyParser.EventEmitter.emit (events.js:95:17)
        at ReplyParser.send_error (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:296:10)
        at ReplyParser.execute (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:181:22)
        at RedisClient.on_data (/home/esiao/forum/node_modules/redis/index.js:534:27)
        at Socket.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:91:14)
        at Socket.EventEmitter.emit (events.js:95:17)
        at Socket.<anonymous> (_stream_readable.js:746:14)
        at Socket.EventEmitter.emit (events.js:92:17)
        at emitReadable_ (_stream_readable.js:408:10)
    17/4 07:13 [17383] - error: /api/category/14/sotw
     Error: ERR value is not an integer or out of range
        at ReplyParser.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:305:31)
        at ReplyParser.EventEmitter.emit (events.js:95:17)
        at ReplyParser.send_error (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:296:10)
        at ReplyParser.execute (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:181:22)
        at RedisClient.on_data (/home/esiao/forum/node_modules/redis/index.js:534:27)
        at Socket.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:91:14)
        at Socket.EventEmitter.emit (events.js:95:17)
        at Socket.<anonymous> (_stream_readable.js:746:14)
        at Socket.EventEmitter.emit (events.js:92:17)
        at emitReadable_ (_stream_readable.js:408:10)
    17/4 07:17 [17383] - error: /api/category/14/sotw
     Error: ERR value is not an integer or out of range
        at ReplyParser.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:305:31)
        at ReplyParser.EventEmitter.emit (events.js:95:17)
        at ReplyParser.send_error (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:296:10)
        at ReplyParser.execute (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:181:22)
        at RedisClient.on_data (/home/esiao/forum/node_modules/redis/index.js:534:27)
        at Socket.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:91:14)
        at Socket.EventEmitter.emit (events.js:95:17)
        at Socket.<anonymous> (_stream_readable.js:746:14)
        at Socket.EventEmitter.emit (events.js:92:17)
        at emitReadable_ (_stream_readable.js:408:10)
    17/4 16:06 [17383] - info: Saving file upload-2cd5aee9-5847-42e9-b053-2fd772f26f76.jpg to : /home/esiao/forum/public/uploads/files/upload-2cd5aee9-5847-42e9-b053-2fd772f26f76.jpg
    18/4 08:15 [17383] - error: /category/8/discussions-libres
     Error: ERR value is not an integer or out of range
        at ReplyParser.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:305:31)
        at ReplyParser.EventEmitter.emit (events.js:95:17)
        at ReplyParser.send_error (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:296:10)
        at ReplyParser.execute (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:181:22)
        at RedisClient.on_data (/home/esiao/forum/node_modules/redis/index.js:534:27)
        at Socket.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:91:14)
        at Socket.EventEmitter.emit (events.js:95:17)
        at Socket.<anonymous> (_stream_readable.js:746:14)
        at Socket.EventEmitter.emit (events.js:92:17)
        at emitReadable_ (_stream_readable.js:408:10)
    18/4 13:39 [17383] - info: Saving file upload-c43f80d6-ad3c-46ca-ad54-e312b47e7c8d.png to : /home/esiao/forum/public/uploads/files/upload-c43f80d6-ad3c-46ca-ad54-e312b47e7c8d.png
    18/4 17:18 [17383] - error: /category/10/cr%c3%a9ations
     Error: ERR value is not an integer or out of range
        at ReplyParser.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:305:31)
        at ReplyParser.EventEmitter.emit (events.js:95:17)
        at ReplyParser.send_error (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:296:10)
        at ReplyParser.execute (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:181:22)
        at RedisClient.on_data (/home/esiao/forum/node_modules/redis/index.js:534:27)
        at Socket.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:91:14)
        at Socket.EventEmitter.emit (events.js:95:17)
        at Socket.<anonymous> (_stream_readable.js:746:14)
        at Socket.EventEmitter.emit (events.js:92:17)
        at emitReadable_ (_stream_readable.js:408:10)
    18/4 18:10 [17383] - info: Saving file upload-21b8bbe5-f7de-4e22-93e3-47111b5b3ecf.png to : /home/esiao/forum/public/uploads/files/upload-21b8bbe5-f7de-4e22-93e3-47111b5b3ecf.png
    18/4 18:10 [17383] - info: Saving file upload-af9805d9-d866-45b5-a42d-561021c46817.png to : /home/esiao/forum/public/uploads/files/upload-af9805d9-d866-45b5-a42d-561021c46817.png
    18/4 18:10 [17383] - info: Saving file upload-831c9a47-94e2-4892-969e-2f43c6957fdc.png to : /home/esiao/forum/public/uploads/files/upload-831c9a47-94e2-4892-969e-2f43c6957fdc.png
    18/4 18:10 [17383] - info: Saving file upload-e47176f2-b1df-4970-8c01-2a1780112b56.png to : /home/esiao/forum/public/uploads/files/upload-e47176f2-b1df-4970-8c01-2a1780112b56.png
    18/4 21:19 [17383] - error: /register
     Error: invalid csrf token
        at verifytoken (/home/esiao/forum/node_modules/csurf/index.js:237:11)
        at csrf (/home/esiao/forum/node_modules/csurf/index.js:100:7)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at next (/home/esiao/forum/node_modules/express/lib/router/route.js:100:13)
        at Route.dispatch (/home/esiao/forum/node_modules/express/lib/router/route.js:81:3)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:235:24
        at Function.proto.process_params (/home/esiao/forum/node_modules/express/lib/router/index.js:313:12)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:229:12
        at Function.match_layer (/home/esiao/forum/node_modules/express/lib/router/index.js:296:3)
    18/4 21:19 [17383] - error: /login
     Error: invalid csrf token
        at verifytoken (/home/esiao/forum/node_modules/csurf/index.js:237:11)
        at csrf (/home/esiao/forum/node_modules/csurf/index.js:100:7)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at next (/home/esiao/forum/node_modules/express/lib/router/route.js:100:13)
        at Route.dispatch (/home/esiao/forum/node_modules/express/lib/router/route.js:81:3)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:235:24
        at Function.proto.process_params (/home/esiao/forum/node_modules/express/lib/router/index.js:313:12)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:229:12
        at Function.match_layer (/home/esiao/forum/node_modules/express/lib/router/index.js:296:3)
    18/4 21:57 [17383] - info: Saving file upload-22c683ba-0f1b-4867-a0c9-bf8bf3d35d7b.png to : /home/esiao/forum/public/uploads/files/upload-22c683ba-0f1b-4867-a0c9-bf8bf3d35d7b.png
    18/4 22:34 [17383] - info: Saving file upload-6581cbcb-7fda-46be-ab92-6f7aa5ff7926.png to : /home/esiao/forum/public/uploads/files/upload-6581cbcb-7fda-46be-ab92-6f7aa5ff7926.png
    18/4 22:35 [17383] - info: Saving file upload-fdbab6ac-628c-4e01-80b5-87a0cd5277c0.png to : /home/esiao/forum/public/uploads/files/upload-fdbab6ac-628c-4e01-80b5-87a0cd5277c0.png
    19/4 04:02 [17383] - info: Saving file upload-b5091aab-63c2-40de-9776-491a19f17c8d.png to : /home/esiao/forum/public/uploads/files/upload-b5091aab-63c2-40de-9776-491a19f17c8d.png
    19/4 04:02 [17383] - info: Saving file upload-2a5dc4fa-3962-40c0-80bc-0fe78bef5c84.png to : /home/esiao/forum/public/uploads/files/upload-2a5dc4fa-3962-40c0-80bc-0fe78bef5c84.png
    19/4 04:23 [17383] - error: /register
     Error: invalid csrf token
        at verifytoken (/home/esiao/forum/node_modules/csurf/index.js:237:11)
        at csrf (/home/esiao/forum/node_modules/csurf/index.js:100:7)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at next (/home/esiao/forum/node_modules/express/lib/router/route.js:100:13)
        at Route.dispatch (/home/esiao/forum/node_modules/express/lib/router/route.js:81:3)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:235:24
        at Function.proto.process_params (/home/esiao/forum/node_modules/express/lib/router/index.js:313:12)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:229:12
        at Function.match_layer (/home/esiao/forum/node_modules/express/lib/router/index.js:296:3)
    19/4 04:23 [17383] - error: /login
     Error: invalid csrf token
        at verifytoken (/home/esiao/forum/node_modules/csurf/index.js:237:11)
        at csrf (/home/esiao/forum/node_modules/csurf/index.js:100:7)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at next (/home/esiao/forum/node_modules/express/lib/router/route.js:100:13)
        at Route.dispatch (/home/esiao/forum/node_modules/express/lib/router/route.js:81:3)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:235:24
        at Function.proto.process_params (/home/esiao/forum/node_modules/express/lib/router/index.js:313:12)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:229:12
        at Function.match_layer (/home/esiao/forum/node_modules/express/lib/router/index.js:296:3)
    19/4 11:14 [17383] - info: Saving file upload-4633c50f-bdf5-4c56-abbe-dbdd63ea1c6d.png to : /home/esiao/forum/public/uploads/files/upload-4633c50f-bdf5-4c56-abbe-dbdd63ea1c6d.png
    19/4 11:25 [17383] - info: Saving file 145-profileimg.png to : /home/esiao/forum/public/uploads/profile/145-profileimg.png
    19/4 11:26 [17383] - info: Saving file 145-profileimg.png to : /home/esiao/forum/public/uploads/profile/145-profileimg.png
    19/4 11:26 [17383] - info: Saving file 145-profileimg.png to : /home/esiao/forum/public/uploads/profile/145-profileimg.png
    19/4 11:40 [17383] - info: Saving file upload-f2b188bc-bfdb-4909-9c58-a4b70a2af977.jpg to : /home/esiao/forum/public/uploads/files/upload-f2b188bc-bfdb-4909-9c58-a4b70a2af977.jpg
    19/4 14:33 [17383] - info: Saving file upload-1990be55-bf59-493b-8b8a-d99ffc2731e1.png to : /home/esiao/forum/public/uploads/files/upload-1990be55-bf59-493b-8b8a-d99ffc2731e1.png
    19/4 14:35 [17383] - info: Saving file upload-e16d5b25-17a2-4bad-92dd-9648d7b23e71.png to : /home/esiao/forum/public/uploads/files/upload-e16d5b25-17a2-4bad-92dd-9648d7b23e71.png
    19/4 14:38 [17383] - error: /category/7/pr%c3%a9sentation
     Error: ERR value is not an integer or out of range
        at ReplyParser.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:305:31)
        at ReplyParser.EventEmitter.emit (events.js:95:17)
        at ReplyParser.send_error (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:296:10)
        at ReplyParser.execute (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:181:22)
        at RedisClient.on_data (/home/esiao/forum/node_modules/redis/index.js:534:27)
        at Socket.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:91:14)
        at Socket.EventEmitter.emit (events.js:95:17)
        at Socket.<anonymous> (_stream_readable.js:746:14)
        at Socket.EventEmitter.emit (events.js:92:17)
        at emitReadable_ (_stream_readable.js:408:10)
    19/4 15:38 [17383] - error: /api/category/14/sotw
     Error: ERR value is not an integer or out of range
        at ReplyParser.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:305:31)
        at ReplyParser.EventEmitter.emit (events.js:95:17)
        at ReplyParser.send_error (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:296:10)
        at ReplyParser.execute (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:181:22)
        at RedisClient.on_data (/home/esiao/forum/node_modules/redis/index.js:534:27)
        at Socket.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:91:14)
        at Socket.EventEmitter.emit (events.js:95:17)
        at Socket.<anonymous> (_stream_readable.js:746:14)
        at Socket.EventEmitter.emit (events.js:92:17)
        at emitReadable_ (_stream_readable.js:408:10)
    19/4 15:39 [17383] - error: /api/category/14/sotw
     Error: ERR value is not an integer or out of range
        at ReplyParser.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:305:31)
        at ReplyParser.EventEmitter.emit (events.js:95:17)
        at ReplyParser.send_error (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:296:10)
        at ReplyParser.execute (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:181:22)
        at RedisClient.on_data (/home/esiao/forum/node_modules/redis/index.js:534:27)
        at Socket.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:91:14)
        at Socket.EventEmitter.emit (events.js:95:17)
        at Socket.<anonymous> (_stream_readable.js:746:14)
        at Socket.EventEmitter.emit (events.js:92:17)
        at emitReadable_ (_stream_readable.js:408:10)
    19/4 15:49 [17383] - error: /api/category/14/sotw
     Error: ERR value is not an integer or out of range
        at ReplyParser.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:305:31)
        at ReplyParser.EventEmitter.emit (events.js:95:17)
        at ReplyParser.send_error (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:296:10)
        at ReplyParser.execute (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:181:22)
        at RedisClient.on_data (/home/esiao/forum/node_modules/redis/index.js:534:27)
        at Socket.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:91:14)
        at Socket.EventEmitter.emit (events.js:95:17)
        at Socket.<anonymous> (_stream_readable.js:746:14)
        at Socket.EventEmitter.emit (events.js:92:17)
        at emitReadable_ (_stream_readable.js:408:10)
    19/4 16:00 [17383] - error: /api/category/14/sotw
     Error: ERR value is not an integer or out of range
        at ReplyParser.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:305:31)
        at ReplyParser.EventEmitter.emit (events.js:95:17)
        at ReplyParser.send_error (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:296:10)
        at ReplyParser.execute (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:181:22)
        at RedisClient.on_data (/home/esiao/forum/node_modules/redis/index.js:534:27)
        at Socket.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:91:14)
        at Socket.EventEmitter.emit (events.js:95:17)
        at Socket.<anonymous> (_stream_readable.js:746:14)
        at Socket.EventEmitter.emit (events.js:92:17)
        at emitReadable_ (_stream_readable.js:408:10)
    19/4 17:03 [17383] - info: Saving file upload-24b0cc0e-8684-4b42-81cb-25e70fdc9a50 to : /home/esiao/forum/public/uploads/files/upload-24b0cc0e-8684-4b42-81cb-25e70fdc9a50
    19/4 17:04 [17383] - info: Saving file upload-a462b85e-72f3-40db-beeb-3c167e9dc90b.png to : /home/esiao/forum/public/uploads/files/upload-a462b85e-72f3-40db-beeb-3c167e9dc90b.png
    20/4 01:13 [17383] - error: /register
     Error: invalid csrf token
        at verifytoken (/home/esiao/forum/node_modules/csurf/index.js:237:11)
        at csrf (/home/esiao/forum/node_modules/csurf/index.js:100:7)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at next (/home/esiao/forum/node_modules/express/lib/router/route.js:100:13)
        at Route.dispatch (/home/esiao/forum/node_modules/express/lib/router/route.js:81:3)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:235:24
        at Function.proto.process_params (/home/esiao/forum/node_modules/express/lib/router/index.js:313:12)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:229:12
        at Function.match_layer (/home/esiao/forum/node_modules/express/lib/router/index.js:296:3)
    20/4 01:13 [17383] - error: /login
     Error: invalid csrf token
        at verifytoken (/home/esiao/forum/node_modules/csurf/index.js:237:11)
        at csrf (/home/esiao/forum/node_modules/csurf/index.js:100:7)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at next (/home/esiao/forum/node_modules/express/lib/router/route.js:100:13)
        at Route.dispatch (/home/esiao/forum/node_modules/express/lib/router/route.js:81:3)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:235:24
        at Function.proto.process_params (/home/esiao/forum/node_modules/express/lib/router/index.js:313:12)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:229:12
        at Function.match_layer (/home/esiao/forum/node_modules/express/lib/router/index.js:296:3)
    20/4 02:59 [17383] - error: /register
     Error: invalid csrf token
        at verifytoken (/home/esiao/forum/node_modules/csurf/index.js:237:11)
        at csrf (/home/esiao/forum/node_modules/csurf/index.js:100:7)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at next (/home/esiao/forum/node_modules/express/lib/router/route.js:100:13)
        at Route.dispatch (/home/esiao/forum/node_modules/express/lib/router/route.js:81:3)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:235:24
        at Function.proto.process_params (/home/esiao/forum/node_modules/express/lib/router/index.js:313:12)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:229:12
        at Function.match_layer (/home/esiao/forum/node_modules/express/lib/router/index.js:296:3)
    20/4 11:09 [17383] - error: /register
     Error: invalid csrf token
        at verifytoken (/home/esiao/forum/node_modules/csurf/index.js:237:11)
        at csrf (/home/esiao/forum/node_modules/csurf/index.js:100:7)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at next (/home/esiao/forum/node_modules/express/lib/router/route.js:100:13)
        at Route.dispatch (/home/esiao/forum/node_modules/express/lib/router/route.js:81:3)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:235:24
        at Function.proto.process_params (/home/esiao/forum/node_modules/express/lib/router/index.js:313:12)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:229:12
        at Function.match_layer (/home/esiao/forum/node_modules/express/lib/router/index.js:296:3)
    20/4 15:59 [17383] - error: /api/category/8/discussions-libres
     Error: ERR value is not an integer or out of range
        at ReplyParser.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:305:31)
        at ReplyParser.EventEmitter.emit (events.js:95:17)
        at ReplyParser.send_error (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:296:10)
        at ReplyParser.execute (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:181:22)
        at RedisClient.on_data (/home/esiao/forum/node_modules/redis/index.js:534:27)
        at Socket.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:91:14)
        at Socket.EventEmitter.emit (events.js:95:17)
        at Socket.<anonymous> (_stream_readable.js:746:14)
        at Socket.EventEmitter.emit (events.js:92:17)
        at emitReadable_ (_stream_readable.js:408:10)
    20/4 16:28 [17383] - info: Saving file upload-e48eac12-fae2-42ec-a08f-756d71c9ad1b to : /home/esiao/forum/public/uploads/files/upload-e48eac12-fae2-42ec-a08f-756d71c9ad1b
    20/4 16:35 [17383] - info: Saving file upload-a2114d51-3555-46dd-be30-8fa007e25588 to : /home/esiao/forum/public/uploads/files/upload-a2114d51-3555-46dd-be30-8fa007e25588
    20/4 16:48 [17383] - info: Saving file upload-9cc175bf-37c2-46fd-82de-ddfb40089474.png to : /home/esiao/forum/public/uploads/files/upload-9cc175bf-37c2-46fd-82de-ddfb40089474.png
    20/4 20:54 [17383] - error: /category/10/cr%c3%a9ations
     Error: ERR value is not an integer or out of range
        at ReplyParser.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:305:31)
        at ReplyParser.EventEmitter.emit (events.js:95:17)
        at ReplyParser.send_error (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:296:10)
        at ReplyParser.execute (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:181:22)
        at RedisClient.on_data (/home/esiao/forum/node_modules/redis/index.js:534:27)
        at Socket.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:91:14)
        at Socket.EventEmitter.emit (events.js:95:17)
        at Socket.<anonymous> (_stream_readable.js:746:14)
        at Socket.EventEmitter.emit (events.js:92:17)
        at emitReadable_ (_stream_readable.js:408:10)
    21/4 04:29 [17383] - error: /register
     Error: invalid csrf token
        at verifytoken (/home/esiao/forum/node_modules/csurf/index.js:237:11)
        at csrf (/home/esiao/forum/node_modules/csurf/index.js:100:7)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at next (/home/esiao/forum/node_modules/express/lib/router/route.js:100:13)
        at Route.dispatch (/home/esiao/forum/node_modules/express/lib/router/route.js:81:3)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:235:24
        at Function.proto.process_params (/home/esiao/forum/node_modules/express/lib/router/index.js:313:12)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:229:12
        at Function.match_layer (/home/esiao/forum/node_modules/express/lib/router/index.js:296:3)
    21/4 04:30 [17383] - error: /login
     Error: invalid csrf token
        at verifytoken (/home/esiao/forum/node_modules/csurf/index.js:237:11)
        at csrf (/home/esiao/forum/node_modules/csurf/index.js:100:7)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at next (/home/esiao/forum/node_modules/express/lib/router/route.js:100:13)
        at Route.dispatch (/home/esiao/forum/node_modules/express/lib/router/route.js:81:3)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:235:24
        at Function.proto.process_params (/home/esiao/forum/node_modules/express/lib/router/index.js:313:12)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:229:12
        at Function.match_layer (/home/esiao/forum/node_modules/express/lib/router/index.js:296:3)
    21/4 10:50 [17383] - error: /category/7/pr%c3%a9sentation
     Error: ERR value is not an integer or out of range
        at ReplyParser.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:305:31)
        at ReplyParser.EventEmitter.emit (events.js:95:17)
        at ReplyParser.send_error (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:296:10)
        at ReplyParser.execute (/home/esiao/forum/node_modules/redis/lib/parser/javascript.js:181:22)
        at RedisClient.on_data (/home/esiao/forum/node_modules/redis/index.js:534:27)
        at Socket.<anonymous> (/home/esiao/forum/node_modules/redis/index.js:91:14)
        at Socket.EventEmitter.emit (events.js:95:17)
        at Socket.<anonymous> (_stream_readable.js:746:14)
        at Socket.EventEmitter.emit (events.js:92:17)
        at emitReadable_ (_stream_readable.js:408:10)
    21/4 11:37 [17383] - info: Saving file upload-f2369e28-9a2f-49b7-914d-4340582e620f.png to : /home/esiao/forum/public/uploads/files/upload-f2369e28-9a2f-49b7-914d-4340582e620f.png
    21/4 12:59 [17383] - error: /register
     Error: invalid csrf token
        at verifytoken (/home/esiao/forum/node_modules/csurf/index.js:237:11)
        at csrf (/home/esiao/forum/node_modules/csurf/index.js:100:7)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at next (/home/esiao/forum/node_modules/express/lib/router/route.js:100:13)
        at Route.dispatch (/home/esiao/forum/node_modules/express/lib/router/route.js:81:3)
        at Layer.handle [as handle_request] (/home/esiao/forum/node_modules/express/lib/router/layer.js:82:5)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:235:24
        at Function.proto.process_params (/home/esiao/forum/node_modules/express/lib/router/index.js:313:12)
        at /home/esiao/forum/node_modules/express/lib/router/index.js:229:12
        at Function.match_layer (/home/esiao/forum/node_modules/express/lib/router/index.js:296:3)
    22/4 06:13 [17383] - info: Saving file upload-04b11213-6590-4a49-989b-fbde0b434aac.png to : /home/esiao/forum/public/uploads/files/upload-04b11213-6590-4a49-989b-fbde0b434aac.png
    [cluster] Child Process (17383) has exited (code: null, signal: SIGKILL)
    [cluster] Spinning up another process...
    22/4 06:44 [15527] - info: Time: Wed Apr 22 2015 06:44:15 GMT-0400 (EDT)
    22/4 06:44 [15527] - info: Initializing NodeBB v0.6.1
    22/4 06:44 [15527] - error: Error: spawn ENOMEM
        at errnoException (child_process.js:988:11)
        at ChildProcess.spawn (child_process.js:935:11)
        at exports.spawn (child_process.js:723:9)
        at Object.exports.execFile (child_process.js:607:15)
        at Object.exports.exec (child_process.js:578:18)
        at Object.module.exports.init (/home/esiao/forum/src/webserver.js:60:29)
        at /home/esiao/forum/app.js:152:16
        at /home/esiao/forum/src/upgrade.js:36:4
        at try_callback (/home/esiao/forum/node_modules/redis/index.js:573:9)
        at RedisClient.return_reply (/home/esiao/forum/node_modules/redis/index.js:661:13)
    [cluster] Child Process (15527) has exited (code: 1, signal: null)
    [cluster] Spinning up another process...
    22/4 06:44 [15536] - info: Time: Wed Apr 22 2015 06:44:21 GMT-0400 (EDT)
    22/4 06:44 [15536] - info: Initializing NodeBB v0.6.1
    22/4 06:44 [15536] - error: Error: spawn ENOMEM
        at errnoException (child_process.js:988:11)
        at ChildProcess.spawn (child_process.js:935:11)
        at exports.spawn (child_process.js:723:9)
        at Object.exports.execFile (child_process.js:607:15)
        at Object.exports.exec (child_process.js:578:18)
        at Object.module.exports.init (/home/esiao/forum/src/webserver.js:60:29)
        at /home/esiao/forum/app.js:152:16
        at /home/esiao/forum/src/upgrade.js:36:4
        at try_callback (/home/esiao/forum/node_modules/redis/index.js:573:9)
        at RedisClient.return_reply (/home/esiao/forum/node_modules/redis/index.js:661:13)
    [cluster] Child Process (15536) has exited (code: 1, signal: null)
    [cluster] Spinning up another process...
    22/4 06:44 [15542] - info: Time: Wed Apr 22 2015 06:44:26 GMT-0400 (EDT)
    22/4 06:44 [15542] - info: Initializing NodeBB v0.6.1
    22/4 06:44 [15542] - error: Error: spawn ENOMEM
        at errnoException (child_process.js:988:11)
        at ChildProcess.spawn (child_process.js:935:11)
        at exports.spawn (child_process.js:723:9)
        at Object.exports.execFile (child_process.js:607:15)
        at Object.exports.exec (child_process.js:578:18)
        at Object.module.exports.init (/home/esiao/forum/src/webserver.js:60:29)
        at /home/esiao/forum/app.js:152:16
        at /home/esiao/forum/src/upgrade.js:36:4
        at try_callback (/home/esiao/forum/node_modules/redis/index.js:573:9)
        at RedisClient.return_reply (/home/esiao/forum/node_modules/redis/index.js:661:13)
    3 restarts in 10 seconds, most likely an error on startup. Halting.
    

    Thing is that I can consider upgrading my Droplet but I don't think that 512mo RAM is not enough for 100 users (20 active at the same time at most). And that the problem is indeed elsewhere causing overuse of memory.

  • NodeBB

    You can check what is using memory from the top command and by free -m.

    0.7.0 is stable and will launch really soon Ôäó


  • @baris I have 470mo usage and 17mo free. The main sources are NodeJS (31%) and Redis (10%). My server has been up during 180 days might be worth considering a reboot no ? (if some process are stuck since there's 82 spleeping task and only two running.)
    I'm looking forward 0.7.0, thanks for the great job and the quick answers.

Suggested Topics

| |