AWS Opsworks slow deployments when the server is running for long periodsShared files folder in Amazon...
Error during using callback start_page_number in lualatex
Doesn't allowing a user mode program to access kernel space memory and execute the IN and OUT instructions defeat the purpose of having CPU modes?
Difference on montgomery curve equation between EFD and RFC7748
What are some noteworthy "mic-drop" moments in math?
Why does liquid water form when we exhale on a mirror?
How to detect if C code (which needs 'extern C') is compiled in C++
meaning and function of 幸 in "则幸分我一杯羹"
Is it "Vierergruppe" or "Viergruppe", or is there a distinction?
Why does Captain Marvel assume the people on this planet know this?
Is "history" a male-biased word ("his+story")?
NASA's RS-25 Engines shut down time
Does this video of collapsing warehouse shelves show a real incident?
Good for you! in Russian
Examples of a statistic that is not independent of sample's distribution?
Why the color red for the Republican Party
Can I pump my MTB tire to max (55 psi / 380 kPa) without the tube inside bursting?
When traveling to Europe from North America, do I need to purchase a different power strip?
Single word request: Harming the benefactor
Makefile strange variable substitution
Declaring and defining template, and specialising them
Can one live in the U.S. and not use a credit card?
'The literal of type int is out of range' con número enteros pequeños (2 dígitos)
At what distance can a bugbear, holding a reach weapon, with the Polearm Master feat, get their Opportunity Attack?
Could you please stop shuffling the deck and play already?
AWS Opsworks slow deployments when the server is running for long periods
Shared files folder in Amazon Elastic Beanstalk environmentHow to make consistent deployment directory for AWS OpsWorks' S3 archive deployment across each servers?AWS OpsWorks - How do I execute a custom recipe from the command line against a specific layer?How can I get Node.JS 0.12.0 running on AWS OpsWorksHow can I use the apache2 cookbook from supermarket.chef.io in AWS OpsWorks?What is the difference between AWS OpsWorks and my own Chef server?AWS replication for running OdooHow to add tag to Windows Server 2012 instances in AWS OpsWorks through Chef recipe?AWS OpsWorks - An error occurred while stopping the instanceAWS hosted Opsworks Chef Automate - How to properly change server name
After having a server running for 2/3 weeks in AWS Opsworks the deployment process is very slow, when the server is initially created the deployment takes 1-2 minutes to finish, after 3 weeks the deployment process takes +10 minutes to finish. This process is incremental so after 2 weeks it takes +5 minutes to finish and getting worse if the server is running for more time.
Reviewing the log files I have noticed that the set user to deploy
is taking +1 minute each time it is executed when the server is running for 3 weeks, initially the set user to deploy
was completed in 10/20 seconds.
Deployment log when the server is created - (set user to deploy
completed in 10/20 seconds)
...
[2019-02-20T11:55:28-06:00] INFO: deploy[appname] updated to revision d3a2c74eb1299f57f4393f2910974bab3e61830d
[2019-02-20T11:55:38-06:00] INFO: deploy[appname] set user to deploy
[2019-02-20T11:55:38-06:00] INFO: deploy[appname] set group to www-data
[2019-02-20T11:55:39-06:00] INFO: deploy[appname] copied the cached checkout to /srv/www/appname/releases/20190220175526
[2019-02-20T11:55:58-06:00] INFO: deploy[appname] set user to deploy
[2019-02-20T11:55:58-06:00] INFO: deploy[appname] set group to www-data
[2019-02-20T11:55:58-06:00] INFO: deploy[appname] running callback before_migrate
[2019-02-20T11:55:58-06:00] INFO: deploy[appname] queueing checkdeploy hook /srv/www/appname/releases/20190220175526/deploy/before_migrate.rb
[2019-02-20T11:55:58-06:00] INFO: Processing execute[bundle_install] action run (/var/chef/runs/fc475635-f399-426c-bb86-a7493b9e13cc/local-mode-cache/cache/cookbooks/opsworks_ruby/libraries/helpers.rb line 97)
[2019-02-20T11:55:59-06:00] INFO: execute[bundle_install] ran successfully
[2019-02-20T11:55:59-06:00] INFO: deploy[appname] made pre-migration symlinks
[2019-02-20T11:56:09-06:00] INFO: deploy[appname] set user to deploy
[2019-02-20T11:56:09-06:00] INFO: deploy[appname] set group to www-data
[2019-02-20T11:56:09-06:00] INFO: deploy[appname] migrating deploy with environment ...
[2019-02-20T11:56:24-06:00] INFO: deploy[appname] running callback before_symlink
[2019-02-20T11:56:24-06:00] INFO: deploy[appname] queueing checkdeploy hook /srv/www/appname/releases/20190220175526/deploy/before_symlink.rb
[2019-02-20T11:56:24-06:00] INFO: deploy[appname] purged directories in checkout log, tmp/cache, tmp/pids, public/system, public/assets
[2019-02-20T11:56:24-06:00] INFO: deploy[appname] created directories before symlinking: tmp,public,config,../../shared/cache,../../shared/assets
[2019-02-20T11:56:24-06:00] INFO: deploy[appname] linked shared paths into current release: system => public/system, assets => public/assets, cache => tmp/cache, pids => tmp/pids, log => log, config/application.yml => config/application.yml
[2019-02-20T11:56:24-06:00] INFO: deploy[appname] made pre-migration symlinks
[2019-02-20T11:56:34-06:00] INFO: deploy[appname] set user to deploy
[2019-02-20T11:56:34-06:00] INFO: deploy[appname] set group to www-data
[2019-02-20T11:56:34-06:00] INFO: deploy[appname] linked release /srv/www/appname/releases/20190220175526 into production at /srv/www/appname/current
[2019-02-20T11:56:44-06:00] INFO: deploy[appname] set user to deploy
[2019-02-20T11:56:44-06:00] INFO: deploy[appname] set group to www-data
[2019-02-20T11:56:44-06:00] INFO: deploy[appname] updated symlinks
...
Deployment log after 3 weeks running - (set user to deploy completed in +1 minutes)
...
[2019-03-05T16:40:02-06:00] INFO: deploy[appname] updated to revision a35ad9d17389f0a287c5edcd062ce5271a506e92
[2019-03-05T16:41:07-06:00] INFO: deploy[appname] set user to deploy
[2019-03-05T16:41:07-06:00] INFO: deploy[appname] set group to www-data
[2019-03-05T16:41:14-06:00] INFO: deploy[appname] copied the cached checkout to /srv/www/appname/releases/20190305224000
[2019-03-05T16:42:20-06:00] INFO: deploy[appname] set user to deploy
[2019-03-05T16:42:20-06:00] INFO: deploy[appname] set group to www-data
[2019-03-05T16:42:20-06:00] INFO: deploy[appname] running callback before_migrate
[2019-03-05T16:42:20-06:00] INFO: deploy[appname] queueing checkdeploy hook /srv/www/appname/releases/20190305224000/deploy/before_migrate.rb
[2019-03-05T16:42:20-06:00] INFO: Processing execute[bundle_install] action run (/var/chef/runs/447f4193-8063-4abd-a867-f4f78d8990d8/local-mode-cache/cache/cookbooks/opsworks_ruby/libraries/helpers.rb line 97)
[2019-03-05T16:42:20-06:00] INFO: execute[bundle_install] ran successfully
[2019-03-05T16:42:20-06:00] INFO: deploy[appname] made pre-migration symlinks
[2019-03-05T16:43:25-06:00] INFO: deploy[appname] set user to deploy
[2019-03-05T16:43:25-06:00] INFO: deploy[appname] set group to www-data
[2019-03-05T16:43:25-06:00] INFO: deploy[appname] migrating deploy with environment ...
[2019-03-05T16:43:41-06:00] INFO: deploy[appname] running callback before_symlink
[2019-03-05T16:43:41-06:00] INFO: deploy[appname] queueing checkdeploy hook /srv/www/appname/releases/20190305224000/deploy/before_symlink.rb
[2019-03-05T16:43:41-06:00] INFO: deploy[appname] purged directories in checkout log, tmp/cache, tmp/pids, public/system, public/assets
[2019-03-05T16:43:41-06:00] INFO: deploy[appname] created directories before symlinking: tmp,public,config,../../shared/cache,../../shared/assets
[2019-03-05T16:43:41-06:00] INFO: deploy[appname] linked shared paths into current release: system => public/system, assets => public/assets, cache => tmp/cache, pids => tmp/pids, log => log, config/application.yml => config/application.yml
[2019-03-05T16:43:41-06:00] INFO: deploy[appname] made pre-migration symlinks
[2019-03-05T16:44:45-06:00] INFO: deploy[appname] set user to deploy
[2019-03-05T16:44:45-06:00] INFO: deploy[appname] set group to www-data
[2019-03-05T16:44:45-06:00] INFO: deploy[appname] linked release /srv/www/appname/releases/20190305224000 into production at /srv/www/appname/current
[2019-03-05T16:45:50-06:00] INFO: deploy[appname] set user to deploy
[2019-03-05T16:45:50-06:00] INFO: deploy[appname] set group to www-data
[2019-03-05T16:45:50-06:00] INFO: deploy[appname] updated symlinks
...
Any idea/reason why the set user to deploy
is taking so long to be completed each time it is executed after having the server running for +3 weeks?
amazon-web-services amazon-ec2 opsworks
add a comment |
After having a server running for 2/3 weeks in AWS Opsworks the deployment process is very slow, when the server is initially created the deployment takes 1-2 minutes to finish, after 3 weeks the deployment process takes +10 minutes to finish. This process is incremental so after 2 weeks it takes +5 minutes to finish and getting worse if the server is running for more time.
Reviewing the log files I have noticed that the set user to deploy
is taking +1 minute each time it is executed when the server is running for 3 weeks, initially the set user to deploy
was completed in 10/20 seconds.
Deployment log when the server is created - (set user to deploy
completed in 10/20 seconds)
...
[2019-02-20T11:55:28-06:00] INFO: deploy[appname] updated to revision d3a2c74eb1299f57f4393f2910974bab3e61830d
[2019-02-20T11:55:38-06:00] INFO: deploy[appname] set user to deploy
[2019-02-20T11:55:38-06:00] INFO: deploy[appname] set group to www-data
[2019-02-20T11:55:39-06:00] INFO: deploy[appname] copied the cached checkout to /srv/www/appname/releases/20190220175526
[2019-02-20T11:55:58-06:00] INFO: deploy[appname] set user to deploy
[2019-02-20T11:55:58-06:00] INFO: deploy[appname] set group to www-data
[2019-02-20T11:55:58-06:00] INFO: deploy[appname] running callback before_migrate
[2019-02-20T11:55:58-06:00] INFO: deploy[appname] queueing checkdeploy hook /srv/www/appname/releases/20190220175526/deploy/before_migrate.rb
[2019-02-20T11:55:58-06:00] INFO: Processing execute[bundle_install] action run (/var/chef/runs/fc475635-f399-426c-bb86-a7493b9e13cc/local-mode-cache/cache/cookbooks/opsworks_ruby/libraries/helpers.rb line 97)
[2019-02-20T11:55:59-06:00] INFO: execute[bundle_install] ran successfully
[2019-02-20T11:55:59-06:00] INFO: deploy[appname] made pre-migration symlinks
[2019-02-20T11:56:09-06:00] INFO: deploy[appname] set user to deploy
[2019-02-20T11:56:09-06:00] INFO: deploy[appname] set group to www-data
[2019-02-20T11:56:09-06:00] INFO: deploy[appname] migrating deploy with environment ...
[2019-02-20T11:56:24-06:00] INFO: deploy[appname] running callback before_symlink
[2019-02-20T11:56:24-06:00] INFO: deploy[appname] queueing checkdeploy hook /srv/www/appname/releases/20190220175526/deploy/before_symlink.rb
[2019-02-20T11:56:24-06:00] INFO: deploy[appname] purged directories in checkout log, tmp/cache, tmp/pids, public/system, public/assets
[2019-02-20T11:56:24-06:00] INFO: deploy[appname] created directories before symlinking: tmp,public,config,../../shared/cache,../../shared/assets
[2019-02-20T11:56:24-06:00] INFO: deploy[appname] linked shared paths into current release: system => public/system, assets => public/assets, cache => tmp/cache, pids => tmp/pids, log => log, config/application.yml => config/application.yml
[2019-02-20T11:56:24-06:00] INFO: deploy[appname] made pre-migration symlinks
[2019-02-20T11:56:34-06:00] INFO: deploy[appname] set user to deploy
[2019-02-20T11:56:34-06:00] INFO: deploy[appname] set group to www-data
[2019-02-20T11:56:34-06:00] INFO: deploy[appname] linked release /srv/www/appname/releases/20190220175526 into production at /srv/www/appname/current
[2019-02-20T11:56:44-06:00] INFO: deploy[appname] set user to deploy
[2019-02-20T11:56:44-06:00] INFO: deploy[appname] set group to www-data
[2019-02-20T11:56:44-06:00] INFO: deploy[appname] updated symlinks
...
Deployment log after 3 weeks running - (set user to deploy completed in +1 minutes)
...
[2019-03-05T16:40:02-06:00] INFO: deploy[appname] updated to revision a35ad9d17389f0a287c5edcd062ce5271a506e92
[2019-03-05T16:41:07-06:00] INFO: deploy[appname] set user to deploy
[2019-03-05T16:41:07-06:00] INFO: deploy[appname] set group to www-data
[2019-03-05T16:41:14-06:00] INFO: deploy[appname] copied the cached checkout to /srv/www/appname/releases/20190305224000
[2019-03-05T16:42:20-06:00] INFO: deploy[appname] set user to deploy
[2019-03-05T16:42:20-06:00] INFO: deploy[appname] set group to www-data
[2019-03-05T16:42:20-06:00] INFO: deploy[appname] running callback before_migrate
[2019-03-05T16:42:20-06:00] INFO: deploy[appname] queueing checkdeploy hook /srv/www/appname/releases/20190305224000/deploy/before_migrate.rb
[2019-03-05T16:42:20-06:00] INFO: Processing execute[bundle_install] action run (/var/chef/runs/447f4193-8063-4abd-a867-f4f78d8990d8/local-mode-cache/cache/cookbooks/opsworks_ruby/libraries/helpers.rb line 97)
[2019-03-05T16:42:20-06:00] INFO: execute[bundle_install] ran successfully
[2019-03-05T16:42:20-06:00] INFO: deploy[appname] made pre-migration symlinks
[2019-03-05T16:43:25-06:00] INFO: deploy[appname] set user to deploy
[2019-03-05T16:43:25-06:00] INFO: deploy[appname] set group to www-data
[2019-03-05T16:43:25-06:00] INFO: deploy[appname] migrating deploy with environment ...
[2019-03-05T16:43:41-06:00] INFO: deploy[appname] running callback before_symlink
[2019-03-05T16:43:41-06:00] INFO: deploy[appname] queueing checkdeploy hook /srv/www/appname/releases/20190305224000/deploy/before_symlink.rb
[2019-03-05T16:43:41-06:00] INFO: deploy[appname] purged directories in checkout log, tmp/cache, tmp/pids, public/system, public/assets
[2019-03-05T16:43:41-06:00] INFO: deploy[appname] created directories before symlinking: tmp,public,config,../../shared/cache,../../shared/assets
[2019-03-05T16:43:41-06:00] INFO: deploy[appname] linked shared paths into current release: system => public/system, assets => public/assets, cache => tmp/cache, pids => tmp/pids, log => log, config/application.yml => config/application.yml
[2019-03-05T16:43:41-06:00] INFO: deploy[appname] made pre-migration symlinks
[2019-03-05T16:44:45-06:00] INFO: deploy[appname] set user to deploy
[2019-03-05T16:44:45-06:00] INFO: deploy[appname] set group to www-data
[2019-03-05T16:44:45-06:00] INFO: deploy[appname] linked release /srv/www/appname/releases/20190305224000 into production at /srv/www/appname/current
[2019-03-05T16:45:50-06:00] INFO: deploy[appname] set user to deploy
[2019-03-05T16:45:50-06:00] INFO: deploy[appname] set group to www-data
[2019-03-05T16:45:50-06:00] INFO: deploy[appname] updated symlinks
...
Any idea/reason why the set user to deploy
is taking so long to be completed each time it is executed after having the server running for +3 weeks?
amazon-web-services amazon-ec2 opsworks
add a comment |
After having a server running for 2/3 weeks in AWS Opsworks the deployment process is very slow, when the server is initially created the deployment takes 1-2 minutes to finish, after 3 weeks the deployment process takes +10 minutes to finish. This process is incremental so after 2 weeks it takes +5 minutes to finish and getting worse if the server is running for more time.
Reviewing the log files I have noticed that the set user to deploy
is taking +1 minute each time it is executed when the server is running for 3 weeks, initially the set user to deploy
was completed in 10/20 seconds.
Deployment log when the server is created - (set user to deploy
completed in 10/20 seconds)
...
[2019-02-20T11:55:28-06:00] INFO: deploy[appname] updated to revision d3a2c74eb1299f57f4393f2910974bab3e61830d
[2019-02-20T11:55:38-06:00] INFO: deploy[appname] set user to deploy
[2019-02-20T11:55:38-06:00] INFO: deploy[appname] set group to www-data
[2019-02-20T11:55:39-06:00] INFO: deploy[appname] copied the cached checkout to /srv/www/appname/releases/20190220175526
[2019-02-20T11:55:58-06:00] INFO: deploy[appname] set user to deploy
[2019-02-20T11:55:58-06:00] INFO: deploy[appname] set group to www-data
[2019-02-20T11:55:58-06:00] INFO: deploy[appname] running callback before_migrate
[2019-02-20T11:55:58-06:00] INFO: deploy[appname] queueing checkdeploy hook /srv/www/appname/releases/20190220175526/deploy/before_migrate.rb
[2019-02-20T11:55:58-06:00] INFO: Processing execute[bundle_install] action run (/var/chef/runs/fc475635-f399-426c-bb86-a7493b9e13cc/local-mode-cache/cache/cookbooks/opsworks_ruby/libraries/helpers.rb line 97)
[2019-02-20T11:55:59-06:00] INFO: execute[bundle_install] ran successfully
[2019-02-20T11:55:59-06:00] INFO: deploy[appname] made pre-migration symlinks
[2019-02-20T11:56:09-06:00] INFO: deploy[appname] set user to deploy
[2019-02-20T11:56:09-06:00] INFO: deploy[appname] set group to www-data
[2019-02-20T11:56:09-06:00] INFO: deploy[appname] migrating deploy with environment ...
[2019-02-20T11:56:24-06:00] INFO: deploy[appname] running callback before_symlink
[2019-02-20T11:56:24-06:00] INFO: deploy[appname] queueing checkdeploy hook /srv/www/appname/releases/20190220175526/deploy/before_symlink.rb
[2019-02-20T11:56:24-06:00] INFO: deploy[appname] purged directories in checkout log, tmp/cache, tmp/pids, public/system, public/assets
[2019-02-20T11:56:24-06:00] INFO: deploy[appname] created directories before symlinking: tmp,public,config,../../shared/cache,../../shared/assets
[2019-02-20T11:56:24-06:00] INFO: deploy[appname] linked shared paths into current release: system => public/system, assets => public/assets, cache => tmp/cache, pids => tmp/pids, log => log, config/application.yml => config/application.yml
[2019-02-20T11:56:24-06:00] INFO: deploy[appname] made pre-migration symlinks
[2019-02-20T11:56:34-06:00] INFO: deploy[appname] set user to deploy
[2019-02-20T11:56:34-06:00] INFO: deploy[appname] set group to www-data
[2019-02-20T11:56:34-06:00] INFO: deploy[appname] linked release /srv/www/appname/releases/20190220175526 into production at /srv/www/appname/current
[2019-02-20T11:56:44-06:00] INFO: deploy[appname] set user to deploy
[2019-02-20T11:56:44-06:00] INFO: deploy[appname] set group to www-data
[2019-02-20T11:56:44-06:00] INFO: deploy[appname] updated symlinks
...
Deployment log after 3 weeks running - (set user to deploy completed in +1 minutes)
...
[2019-03-05T16:40:02-06:00] INFO: deploy[appname] updated to revision a35ad9d17389f0a287c5edcd062ce5271a506e92
[2019-03-05T16:41:07-06:00] INFO: deploy[appname] set user to deploy
[2019-03-05T16:41:07-06:00] INFO: deploy[appname] set group to www-data
[2019-03-05T16:41:14-06:00] INFO: deploy[appname] copied the cached checkout to /srv/www/appname/releases/20190305224000
[2019-03-05T16:42:20-06:00] INFO: deploy[appname] set user to deploy
[2019-03-05T16:42:20-06:00] INFO: deploy[appname] set group to www-data
[2019-03-05T16:42:20-06:00] INFO: deploy[appname] running callback before_migrate
[2019-03-05T16:42:20-06:00] INFO: deploy[appname] queueing checkdeploy hook /srv/www/appname/releases/20190305224000/deploy/before_migrate.rb
[2019-03-05T16:42:20-06:00] INFO: Processing execute[bundle_install] action run (/var/chef/runs/447f4193-8063-4abd-a867-f4f78d8990d8/local-mode-cache/cache/cookbooks/opsworks_ruby/libraries/helpers.rb line 97)
[2019-03-05T16:42:20-06:00] INFO: execute[bundle_install] ran successfully
[2019-03-05T16:42:20-06:00] INFO: deploy[appname] made pre-migration symlinks
[2019-03-05T16:43:25-06:00] INFO: deploy[appname] set user to deploy
[2019-03-05T16:43:25-06:00] INFO: deploy[appname] set group to www-data
[2019-03-05T16:43:25-06:00] INFO: deploy[appname] migrating deploy with environment ...
[2019-03-05T16:43:41-06:00] INFO: deploy[appname] running callback before_symlink
[2019-03-05T16:43:41-06:00] INFO: deploy[appname] queueing checkdeploy hook /srv/www/appname/releases/20190305224000/deploy/before_symlink.rb
[2019-03-05T16:43:41-06:00] INFO: deploy[appname] purged directories in checkout log, tmp/cache, tmp/pids, public/system, public/assets
[2019-03-05T16:43:41-06:00] INFO: deploy[appname] created directories before symlinking: tmp,public,config,../../shared/cache,../../shared/assets
[2019-03-05T16:43:41-06:00] INFO: deploy[appname] linked shared paths into current release: system => public/system, assets => public/assets, cache => tmp/cache, pids => tmp/pids, log => log, config/application.yml => config/application.yml
[2019-03-05T16:43:41-06:00] INFO: deploy[appname] made pre-migration symlinks
[2019-03-05T16:44:45-06:00] INFO: deploy[appname] set user to deploy
[2019-03-05T16:44:45-06:00] INFO: deploy[appname] set group to www-data
[2019-03-05T16:44:45-06:00] INFO: deploy[appname] linked release /srv/www/appname/releases/20190305224000 into production at /srv/www/appname/current
[2019-03-05T16:45:50-06:00] INFO: deploy[appname] set user to deploy
[2019-03-05T16:45:50-06:00] INFO: deploy[appname] set group to www-data
[2019-03-05T16:45:50-06:00] INFO: deploy[appname] updated symlinks
...
Any idea/reason why the set user to deploy
is taking so long to be completed each time it is executed after having the server running for +3 weeks?
amazon-web-services amazon-ec2 opsworks
After having a server running for 2/3 weeks in AWS Opsworks the deployment process is very slow, when the server is initially created the deployment takes 1-2 minutes to finish, after 3 weeks the deployment process takes +10 minutes to finish. This process is incremental so after 2 weeks it takes +5 minutes to finish and getting worse if the server is running for more time.
Reviewing the log files I have noticed that the set user to deploy
is taking +1 minute each time it is executed when the server is running for 3 weeks, initially the set user to deploy
was completed in 10/20 seconds.
Deployment log when the server is created - (set user to deploy
completed in 10/20 seconds)
...
[2019-02-20T11:55:28-06:00] INFO: deploy[appname] updated to revision d3a2c74eb1299f57f4393f2910974bab3e61830d
[2019-02-20T11:55:38-06:00] INFO: deploy[appname] set user to deploy
[2019-02-20T11:55:38-06:00] INFO: deploy[appname] set group to www-data
[2019-02-20T11:55:39-06:00] INFO: deploy[appname] copied the cached checkout to /srv/www/appname/releases/20190220175526
[2019-02-20T11:55:58-06:00] INFO: deploy[appname] set user to deploy
[2019-02-20T11:55:58-06:00] INFO: deploy[appname] set group to www-data
[2019-02-20T11:55:58-06:00] INFO: deploy[appname] running callback before_migrate
[2019-02-20T11:55:58-06:00] INFO: deploy[appname] queueing checkdeploy hook /srv/www/appname/releases/20190220175526/deploy/before_migrate.rb
[2019-02-20T11:55:58-06:00] INFO: Processing execute[bundle_install] action run (/var/chef/runs/fc475635-f399-426c-bb86-a7493b9e13cc/local-mode-cache/cache/cookbooks/opsworks_ruby/libraries/helpers.rb line 97)
[2019-02-20T11:55:59-06:00] INFO: execute[bundle_install] ran successfully
[2019-02-20T11:55:59-06:00] INFO: deploy[appname] made pre-migration symlinks
[2019-02-20T11:56:09-06:00] INFO: deploy[appname] set user to deploy
[2019-02-20T11:56:09-06:00] INFO: deploy[appname] set group to www-data
[2019-02-20T11:56:09-06:00] INFO: deploy[appname] migrating deploy with environment ...
[2019-02-20T11:56:24-06:00] INFO: deploy[appname] running callback before_symlink
[2019-02-20T11:56:24-06:00] INFO: deploy[appname] queueing checkdeploy hook /srv/www/appname/releases/20190220175526/deploy/before_symlink.rb
[2019-02-20T11:56:24-06:00] INFO: deploy[appname] purged directories in checkout log, tmp/cache, tmp/pids, public/system, public/assets
[2019-02-20T11:56:24-06:00] INFO: deploy[appname] created directories before symlinking: tmp,public,config,../../shared/cache,../../shared/assets
[2019-02-20T11:56:24-06:00] INFO: deploy[appname] linked shared paths into current release: system => public/system, assets => public/assets, cache => tmp/cache, pids => tmp/pids, log => log, config/application.yml => config/application.yml
[2019-02-20T11:56:24-06:00] INFO: deploy[appname] made pre-migration symlinks
[2019-02-20T11:56:34-06:00] INFO: deploy[appname] set user to deploy
[2019-02-20T11:56:34-06:00] INFO: deploy[appname] set group to www-data
[2019-02-20T11:56:34-06:00] INFO: deploy[appname] linked release /srv/www/appname/releases/20190220175526 into production at /srv/www/appname/current
[2019-02-20T11:56:44-06:00] INFO: deploy[appname] set user to deploy
[2019-02-20T11:56:44-06:00] INFO: deploy[appname] set group to www-data
[2019-02-20T11:56:44-06:00] INFO: deploy[appname] updated symlinks
...
Deployment log after 3 weeks running - (set user to deploy completed in +1 minutes)
...
[2019-03-05T16:40:02-06:00] INFO: deploy[appname] updated to revision a35ad9d17389f0a287c5edcd062ce5271a506e92
[2019-03-05T16:41:07-06:00] INFO: deploy[appname] set user to deploy
[2019-03-05T16:41:07-06:00] INFO: deploy[appname] set group to www-data
[2019-03-05T16:41:14-06:00] INFO: deploy[appname] copied the cached checkout to /srv/www/appname/releases/20190305224000
[2019-03-05T16:42:20-06:00] INFO: deploy[appname] set user to deploy
[2019-03-05T16:42:20-06:00] INFO: deploy[appname] set group to www-data
[2019-03-05T16:42:20-06:00] INFO: deploy[appname] running callback before_migrate
[2019-03-05T16:42:20-06:00] INFO: deploy[appname] queueing checkdeploy hook /srv/www/appname/releases/20190305224000/deploy/before_migrate.rb
[2019-03-05T16:42:20-06:00] INFO: Processing execute[bundle_install] action run (/var/chef/runs/447f4193-8063-4abd-a867-f4f78d8990d8/local-mode-cache/cache/cookbooks/opsworks_ruby/libraries/helpers.rb line 97)
[2019-03-05T16:42:20-06:00] INFO: execute[bundle_install] ran successfully
[2019-03-05T16:42:20-06:00] INFO: deploy[appname] made pre-migration symlinks
[2019-03-05T16:43:25-06:00] INFO: deploy[appname] set user to deploy
[2019-03-05T16:43:25-06:00] INFO: deploy[appname] set group to www-data
[2019-03-05T16:43:25-06:00] INFO: deploy[appname] migrating deploy with environment ...
[2019-03-05T16:43:41-06:00] INFO: deploy[appname] running callback before_symlink
[2019-03-05T16:43:41-06:00] INFO: deploy[appname] queueing checkdeploy hook /srv/www/appname/releases/20190305224000/deploy/before_symlink.rb
[2019-03-05T16:43:41-06:00] INFO: deploy[appname] purged directories in checkout log, tmp/cache, tmp/pids, public/system, public/assets
[2019-03-05T16:43:41-06:00] INFO: deploy[appname] created directories before symlinking: tmp,public,config,../../shared/cache,../../shared/assets
[2019-03-05T16:43:41-06:00] INFO: deploy[appname] linked shared paths into current release: system => public/system, assets => public/assets, cache => tmp/cache, pids => tmp/pids, log => log, config/application.yml => config/application.yml
[2019-03-05T16:43:41-06:00] INFO: deploy[appname] made pre-migration symlinks
[2019-03-05T16:44:45-06:00] INFO: deploy[appname] set user to deploy
[2019-03-05T16:44:45-06:00] INFO: deploy[appname] set group to www-data
[2019-03-05T16:44:45-06:00] INFO: deploy[appname] linked release /srv/www/appname/releases/20190305224000 into production at /srv/www/appname/current
[2019-03-05T16:45:50-06:00] INFO: deploy[appname] set user to deploy
[2019-03-05T16:45:50-06:00] INFO: deploy[appname] set group to www-data
[2019-03-05T16:45:50-06:00] INFO: deploy[appname] updated symlinks
...
Any idea/reason why the set user to deploy
is taking so long to be completed each time it is executed after having the server running for +3 weeks?
amazon-web-services amazon-ec2 opsworks
amazon-web-services amazon-ec2 opsworks
asked 4 mins ago
darkcodedarkcode
11613
11613
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "2"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f957840%2faws-opsworks-slow-deployments-when-the-server-is-running-for-long-periods%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f957840%2faws-opsworks-slow-deployments-when-the-server-is-running-for-long-periods%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown