Install Smartmontools:
apt install smartmontools
Check all Disks (HDD / SSD / NVMe)
Check all Disks (HDD / SSD):
for i in $(ls /dev/sd?); do echo "$i"; smartctl -H $i; done
Check all Disks (NVMe):
Linux : Find + Grep combination with filename (ie: search in all *.ini files for max_execution_time)
Combine Find and Grep to find "max_execution_time = 60
" in all *.ini files (for PHP config).
Example:
find / -type f -name "*.ini" -exec grep -H 'max_execution_time = 60' {} \;
Problem:
Cannot start indexing because another indexing process (like a cron job or Drush command) is already running.
Solution?
Problem:
Attempting to re-run cron while it is already running.
Solution
Cronjob (hourly):
1 * * * * ...myscripts/my-drupal-cron.sh
composer.json:
"conflict": {
"drupal/drupal": "*"
},
What is the meaning of "conflict" in composer.json?
Neueste Kommentare
/etc/my.cnf
Edit "/etc/my.cnf" ( under [mysqld] ):
transaction_isolation="READ-COMMITTED"
Restart MariaDB / MySQL:
Create Sub-Directories with WGET
wget -U 'Mozilla/MyUserAgent' -P MyTempDir123 --wait=0.2 --random-wait -nd -r -x -l 4 -e robots=off --reject
Ignore Binaries, JS, CSS etc
wget -U 'Mozilla/MyUserAgent2024' -P MyOutPutDirectory --wait=1 --random-wait -nd -r -l 2 -e robots=off --reject
Intel(R) Xeon(R) E-2288G CPU @ 3.70GHz
# sysbench --threads="$(nproc)" cpu run
AMD Ryzen 7 PRO 3700 8-Core Processor
# sysbench --threads="$(nproc)" cpu run
Reload .bashrc without logging out
Diese Lösung wird empfohlen aber hat bei mir nicht funktioniert.
Welche Alternative gibt es?
Composer + PHP 8.3
ln -snf /opt/plesk/php/8.3/bin/php /etc/alternatives/php
composer.json
In composer.json, update:
Empty Flood Table
drush sqlq "DELETE FROM flood"
Gmail Apps (SMTP Login):…
Gmail Apps (SMTP Login):
https://security.google.com/settings/security/apppasswords