Invalid Array Buffer Length - Error
-
Hi,
I myself have received this error when posting large posts and now some of my users are reporting it. I was wondering if anyone else has experienced it?
Also, people get this one all the time when up or down voting posts...
Refreshing the page usually resolves these issues but that is not ideal as for the first one you lose your post and most of my members don't have the ability to copy, refresh, paste the contents and retry.
Any ideas greatly appreciated.
Thanks
Ted,
-
@baris it happens randomly, sometimes not at all with huge posts. I use redis as the db.
However I can write a post, press submit, get this error. Copy the contents, refresh the page, paste the contents and then it posts fine.
Thanks for your reply
-
Referencing this issue https://github.com/nodejs/node/issues/3543
It could be that your Node process is out of memory. Have you tried monitoring memory usage?
-
@PitaJ I don't think it is a memory issue, I have about 10 concurrent users as a maximum at the minute. I have just installed the new graph metrics provided by digital ocean memory is around 30%, will keep an eye on that.
I have also increased the post length in the ACP.
Will report back if it continues
Thanks
Ted
-
Users are still receiving the invalid buffer error as well, it appears to be (but I am not sure) posts with a lot of images. Is that likely related?
Does the buffer array limit/length include the image content? I wouldn't think so.
Note: Our images are currently sent to imgur.
Thanks
Ted