These are chat archives for reactioncommerce/reaction

22nd
Aug 2016
3Maestros
@3Maestros
Aug 22 2016 12:49
I have reaction running on t2.small ec2 instance, is anyone able to keep the app running for more than a day? It seems to be die every few hours,I have total of 2G Ram and 2G of swap.
I also have a monitor script to restart it but no help both, the monitor process also dies when reaction dies
Jeremy Shimko
@jshimko
Aug 22 2016 13:28
That should be large enough. We have had 3 demo shops running on a t2.medium for months.
Aside from that, are you using Docker? If so, --restart always will “fix” that.
It will always restart the container if/when it fails.
Any server side logs?
3Maestros
@3Maestros
Aug 22 2016 14:55
No docker, where are the logs located?
Jeremy Shimko
@jshimko
Aug 22 2016 14:55
in the console
There’s no log file writing. That’s outside of the app itself and on the end user.
We can’t really make assumptions about how people would want that done, so we provide a logger API for you to implement it yourself
but it only outputs to the console by default
3Maestros
@3Maestros
Aug 22 2016 14:57
I have it fed to a log file let me grab and send it over ,I dobt have access right now.
Yes got it ... How do you want me to send the log file to you?
Jeremy Shimko
@jshimko
Aug 22 2016 14:58
can you just share the relevant lines?
3Maestros
@3Maestros
Aug 22 2016 14:59
Ok
I don't have any issue running the same on my Mac locally , so I guess it has to do with the memory, I will share logs
Jeremy Shimko
@jshimko
Aug 22 2016 15:00
I think it’s very likely to be the RAM
Adth0nB
@AdthonB_twitter
Aug 22 2016 16:24
Can I ask for something ?
Should I must link with MongoDB ? or the Meteor can do this for manage data.
Jeremy Shimko
@jshimko
Aug 22 2016 17:24
MongoDB is currently the only data layer option for Meteor apps.