Giter Site home page Giter Site logo

Comments (15)

ocean90 avatar ocean90 commented on May 25, 2024

machines with at least 8 or 16GB of physical RAM we could start considering to increase the default Vagrant memory value to 4GB,

That might be true, but this VM isn't the only process which is running on our machines. Think about IDEs, Chrome, Slack, and maybe other VMs which are running parallel to the atlantis VM.
IMO the memory value should only be increased if we know for sure that low memory is the real cause for this or if it's just a faulty setting somewhere.

from appside.

ivomarino avatar ivomarino commented on May 25, 2024

makes sense to me, thanks @ocean90, so let's investigate what pushes the memory usage high.

from appside.

ivomarino avatar ivomarino commented on May 25, 2024

We should run some benchmarks e.g. with https://github.com/wg/wrk for http and some MySQL bench/stress test tool.

from appside.

ivomarino avatar ivomarino commented on May 25, 2024

For MySQL something like this could do https://www.howtoforge.com/how-to-benchmark-your-system-cpu-file-io-mysql-with-sysbench#-mysql-benchmark-

from appside.

grappler avatar grappler commented on May 25, 2024

@ivomarino What is the progress on this as I need to restart atlantis at least twice a day and it takes time to get back as I get "503 Service Unavailable" in the first couple of minutes after reloading it.

from appside.

ivomarino avatar ivomarino commented on May 25, 2024

@grappler so the main issue where missing images? is CPU load OK now?

from appside.

grappler avatar grappler commented on May 25, 2024

The stability has improved a bit. I don't think the issue is the missing images. Here are log files from monit. This was from Jan 16th.
https://required.slack.com/files/grapplerulrich/F3S11LUCD/pasted_image_at_2017_01_16_09_54_am.png
https://required.slack.com/files/grapplerulrich/F3SJFH8NA/monit_logfile.txt

I can't increase the memory to 4GB as I have troubles now when Appflow takes a full 2GB.

I have implemented Dominik's htaccess fix for the images. Let see if that makes any difference.

from appside.

ivomarino avatar ivomarino commented on May 25, 2024

@grappler allright, let's see, thanks for update;)

from appside.

grappler avatar grappler commented on May 25, 2024

I am getting now 503 Service Unavailable.

image

from appside.

ivomarino avatar ivomarino commented on May 25, 2024

@grappler uptime of the VM? ssh atlantis "uptime"

from appside.

grappler avatar grappler commented on May 25, 2024

@ivomarino uptime, 3h 8m

from appside.

ivomarino avatar ivomarino commented on May 25, 2024

let's check which service is not running:

ssh atlantis
sudo service apache2 status ; sudo service haproxy status ; ps aux | grep varnish

paste output, thanks.

from appside.

grappler avatar grappler commented on May 25, 2024

Atlantis was unresponsive again today morning.

from appside.

grappler avatar grappler commented on May 25, 2024

Atlantis was unresponsive again after 36 mins

The result from sudo service apache2 status ; sudo service haproxy status ; ps aux | grep varnish

 * apache2 is running
debug1: multiplexing control connection
debug1: channel 3: new [mux-control]
debug1: channel 4: new [client-session]
debug1: multiplexing control connection
debug1: channel 5: new [mux-control]
debug1: channel 6: new [client-session]
debug1: multiplexing control connection
debug1: channel 7: new [mux-control]
debug1: channel 8: new [client-session]
debug1: channel 5: free: mux-control, nchannels 9
debug1: client_input_channel_req: channel 6 rtype exit-status reply 0
debug1: client_input_channel_req: no sink for exit-status on channel 6
debug1: channel 6: free: client-session, nchannels 8
debug1: channel 3: free: mux-control, nchannels 7
debug1: client_input_channel_req: channel 4 rtype exit-status reply 0
debug1: client_input_channel_req: no sink for exit-status on channel 4
debug1: channel 4: free: client-session, nchannels 6
debug1: multiplexing control connection
debug1: channel 3: new [mux-control]
debug1: channel 4: new [client-session]
debug1: channel 3: free: mux-control, nchannels 7
debug1: client_input_channel_req: channel 4 rtype exit-status reply 0
debug1: client_input_channel_req: no sink for exit-status on channel 4
debug1: channel 4: free: client-session, nchannels 6

from appside.

ivomarino avatar ivomarino commented on May 25, 2024

for now we remain on 2G which allows to run multiple VMs also on Macs with e.g. 8G RAM.

from appside.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.