0

enter image description hereGetting error Error: socket hang up while executing my script about migrate data from mongo to MySQL via NodeJs. Although, I'm inserting 1000 of records in chunks. Somehow script is terminating and getting error. I inspected in the process so I came to know node and mongo are eating 120% CPU memory. One more thing, I'm using a remote connection of MySQL. so node server and Mysql hosted at different places. How can I resolve this error?enter image description here

Mitesh Vasava
  • 707
  • 6
  • 13
  • CPU memory? I doubt you mean L1/L2 cache. So which is it? Which is it hanging up from, MySQL or Mongo? Is there anything in the MySQL or Mongo logs? – danblack Sep 03 '20 at 04:24
  • You may find clues to resolve your problem in this URL - https://stackoverflow.com/questions/16995184/nodejs-what-does-socket-hang-up-actually-mean - if not, please post your code that causes the start of the log shipping activity. And check your Skype account, please. – Wilson Hauck Sep 03 '20 at 12:19

0 Answers0