...chrome queue limited to 1 for e.g. PDF processing to not overload the application server an api queue, that limits a queue to 2 to protect the API server from...

...too many requests in parallel Example: Sidekiq.configure_server do |config| # Edits the default capsule config.queues = %w[critical default low] config.concurrency = 5 # Define a new capsule which processes jobs from the...

...if you do not know. How are cookies transferred between your browser and the server? Open the development tools in your browser for this page. Can you find the cookies...

...network tab, can you see how the cookies are transferred to or from the server? Can you log yourself out by manipulating a cookie? Can you log yourself back in...

set :assets_roles, %i[webpack] # Give the webpack role to a single server (see code block below) set :assets_prefix, 'packs' # Assets are located in /packs/

...related to Webpacker, but a nice thing Give the webpack role to a single server: # config/deploy/production.rb (analog to config/deploy/staging.rb) ... server ' ', user: ' ', roles: %w(... webpack) Make sure to read as well...

For our production servers we use Passenger as a Ruby application server. While it is possible to use Passenger for development as an Apache module, the installation process is not...

Get performance behavior that is closer to what you'll get on production servers Get a full-featured Ruby application server without configuration Usage Install Passenger Standalone with gem...

nginx.org

...proxy_hide_header in different contexts: Syntax: proxy_hide_header field; Default: — Context: http, server, location Source But if you use it in multiple contexts only the "lowest" occurrences are...

So if you specify it in the server and location context (even if you hide different header) only the proxy_hide_header in the location block are used.

DevOps Curriculum

...und -abbau mit allen Paketen beschreiben Du kennst Port-Nummern und Protokolle der häufigsten Services auswendig: SSH, DNS, HTTP, HTTPS, SMTP, POP3, IMAP, MySQL, PostgreSQL, Redis Wie kann ich prüfen...

...makandra.de aufbauen und die Datei robots.txt abrufen (Siehe https://richj.co/talking-http-1.1/) Du weisst, was dieser Server-Header bedeutet: Strict-Transport-Security: max-age=31536000 IPv6 Wie werden MAC Adressen bei...

We had a strange behaviour on one of our mariadb-servers: Everyday at around midnight we saw that the root-account on one of our servers is trying to access...

# journalctl -u mariadb Dec 16 00:00:03 cool-server mariadbd[788]: 2022-12-16 0:00:03 34996 [Warning] Access denied for user 'root'@'localhost' (using password...

makandra dev

This is for people recovering from Subversion. Get an existing from the server for the first time git clone git@example.com:repositoryname See what's changed git status Check in locally...

...git commit -m "good description" Push local commits to the server git push Get and merge updates from the server git pull Stage a file for the next local commit...

...is a single process in play. It runs both your test script and the server responding to the user interactions scripted by your test. A Selenium (Javascript) test has a...

...you spawn by running cucumber. A second thread within the same process runs the server responding to your test. A second process runs the browser that is scripted by the...

...affected table. Warning pg_repack writes a copy of the whole table. The database server needs to have at least ($size_of_biggest_table * 2) + some buffer free disk space...

Install pg_repack, e.g. for Ubuntu install the package according to your PostgreSQL Server version. There is no need to restart the PostgreSQL Server. $ sudo apt-get install postgresql...

puppet.com

The puppet server caches custom functions. If you edit an existing function (e.g. while you’re developing it), you’ll need to restart the puppet server before the new version...

The Oracle mysql client has an odd behavior if your server uses latin1 as default character-set-server. Command mysql --version mysql Ver 8.0.31-0ubuntu0.20.04.2 for Linux on x86...

...character_set_database | utf8mb4 | | character_set_filesystem | binary | | character_set_results | latin1 | | character_set_server | latin1 | | character_set_system | utf8 | +--------------------------+----------------------------------------------+ Explanation The client can't handle the --default-character-set...

Occasionally you need to do something directly on the server -- like having all records recalculate something that cannot be done in a migration because it takes a long time.

...you may have been successful with this on your development machine or the staging server, keep in mind that production machines often hold a lot more records. Using all may...

wkhtmltopdf/wkhtmltopdf wkhtmltopdf/packaging Please note: We do not compile the package ourselves on the server. Instead, we install the most recent available version of the prebuilt package. Example:

...app server runs on Ubuntu 24.04, and you request version 0.12.6.1-3, we would install the corresponding package for Ubuntu 22.04 (Jammy). Be aware that using a package not compiled...

Du verstehst, welche Aufgaben der Kubernetes API Server übernimmt. Du weißt, wie der API Server in das Management des Cluster States involviert ist. Du weißt, auf welchem Port der...

...API Server per Default hört und welches Protokoll gesprochen wird. Du weißt, dass der API Server ein self signed Certificate verwendet und wie du diesem auf einem anderen System vertrauen...

You might use screen or tmux to run a temporary command on a server which continues to run after the SSH session is closed. Consider systemd-run as alternative. It...

...will turn every command in a systemd service unit: # Run `openssl speed` as unit run-benchmark.service $ sudo systemd-run --unit=run-benchmark openssl speed # Query the current status $ systemctl status run-benchmark.service...

makandra Curriculum

Work with the stash git stash Learn how to work with a server: git clone git push git fetch git pull Learn to use the tool tig

...with SSH. Otherwise, you would have to send your git credentials to the remote server every time you interact with it. Resources Basic tutorial Proper git config Interactive Git Cheatsheet...

...Rails console does not crash while starting up. Disable eager loading again. Get rails server running Fix all errors until rails server can render a page. Click around a bit...

First we export the checks on the nodes we want to monitor: @@nagios_service { “check_unicorns-${::hostname}”: host_name => $::hostname, service_description => ‘Unicorn Status’, check_command => ‘check_unicorn-${::hostname...

...Then we realize the resources on the Nagios server Nagios_service <<| |>> Now it is quite easy to create new monitoring checks with Puppet. With the ease of creating monitoring checks...

...BY c.relpages DESC; This requires superuser permissions to install the amcheck extension to the server. If you're a makandra customer, we've already added this extension for you.

...Test All Indexes In All Databases? If you have admin permissions on your database servers, you can use this script to check all databases on your server: #!/usr/bin/env bash

...good thing. It's possible to configure this requirement at the web- or proxy server level, where nginx or apache will just redirect every request on http to https. Some...

...application directly on the VM it's running and usually it's the proxy server or webserver that does handles SSL, the port where the application is running is often...

...a very narrow scope Has no separate build process in development. Instead the Rails server directly compiles the asset whenever it renders a javascript_tag, stylesheet_tag or image_tag...

...example project and resources below: What "packs" are How to use the webpack dev server How to add and remove npm packages with yarn How import and export of relative...

...maximum number of Passenger workers and Sidekiq worker. If you have a shared database server many possible connections are "expensive", so setting the pool size to a very high number...

...is no good idea (also consider the number of servers you when calculating the total number of possible connections for the shared database server). Blowing up the fail inbox: If...

...the MariaDB monitor. Commands end with ; or \g. Your MySQL connection id is 2 Server version: 5.7.35 MySQL Community Server (GPL) Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and...