Comments (15)
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.
makes sense to me, thanks @ocean90, so let's investigate what pushes the memory usage high.
from appside.
We should run some benchmarks e.g. with https://github.com/wg/wrk for http and some MySQL bench/stress test tool.
from appside.
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.
@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.
@grappler so the main issue where missing images? is CPU load OK now?
from appside.
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.
@grappler allright, let's see, thanks for update;)
from appside.
I am getting now 503 Service Unavailable.
from appside.
@grappler uptime
of the VM? ssh atlantis "uptime"
from appside.
@ivomarino uptime, 3h 8m
from appside.
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.
Atlantis was unresponsive again today morning.
from appside.
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.
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)
- Support for MySQL flavours/versions HOT 1
- Support for PHP/HHVM flavours/versions HOT 1
- Support for nginx HOT 1
- Support for Varnish flavours/versions
- Migration to xenial as default for atlantis (appflow.py) HOT 1
- fstab
- add nodejs and npm support to jailkit HOT 1
- Don't blindly add bash autocompletion HOT 4
- Version HOT 2
- `appflow vhosts` adds too many newlines HOT 3
- Preventing encrypted data being overwritten by different user HOT 3
- Stats HOT 1
- appflow update & appflow checkin commands seem fragile HOT 1
- appflow - woodwing - add module contentstation HOT 4
- pip3 install appflow doesn't install required dependencies?
- woodwing: config.php / configserver.php removed at rollout HOT 3
- jailkit HOT 2
- WordPress Config: Use https by default and/or add setting for https HOT 9
- woodwing rsync command not working HOT 1
- Documentation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from appside.