bityoga / fabric_as_code

Easily Configurable and Customisable Hyperledger Fabric Cloud Deployment Toolkit
Apache License 2.0
4 stars 1 forks source link

Docker services are automatically restarted in random periodic intervals - memory maxed out #45

Closed anandhakumarpalanisamy closed 3 years ago

anandhakumarpalanisamy commented 3 years ago

Docker services are automatically restarted in random periodic intervals

The issue is discussed in this forum: https://forums.docker.com/t/docker-swarm-periodically-restarts-all-services/69790/5 ,

Possible Reason :

As suggested in the forum , https://forums.docker.com/t/docker-swarm-periodically-restarts-all-services/69790/5 docker randomly restarts services when memory of CPU is maxed out

anandhakumarpalanisamy commented 3 years ago

Test Environment

Bank App can be accessed here : http://157.230.222.172:3000/ a) Register a user b) Login and check the balance and transfer functionalities.

The transactions can be seen in hyperledger explorer : http://157.230.222.172:8090/

anandhakumarpalanisamy commented 3 years ago

Updated Observations

Debugging to find the reason for docker service restart

Further Observations :

To test the behavior :

Conclusion :

anandhakumarpalanisamy commented 3 years ago

UPDATE

That trojan Ddos virus is mostly generated by:

Verification method:

If the hyperledger explorer services are removed,

Asked a question in hyperledger explorer chat form : https://chat.hyperledger.org/channel/hyperledger-explorer/thread/Csg6M8BkBkuhDzq5L?jump=Rt6bbcLG9eo7d6t9r