Posts

The Intel(R) Storage Middleware Service service terminated unexpectedly. It has done this 1 time(s).

Image
 The Intel(R) Storage Middleware Service service terminated unexpectedly. It has done this 1 time(s). system freeze Yes, this service terminating unexpectedly is a known cause of system freezes and crashes.  The Intel(R) Storage Middleware Service (also known as RstMwService.exe) acts as a bridge between your storage drivers and the management interface. When it fails, it can cause the following stability issues:  Complete System Hangs: The crash can interfere with the storage controller's communication with your drives, causing the entire OS to stop responding. Latency Spikes: Systems using the Intel RST VMD driver (like yours shown in Device Manager) can experience significant latency spikes and brief freezes, especially if there is a version mismatch. Sleep/Wake Failures: The service is known to crash specifically when the computer attempts to enter or wake from sleep mode. 100% Disk Usage: A malfunctioning storage service can cause SSD usage to spike to 100% while tra...

CUDA error: no kernel image is available for execution on the device

Image
 CUDA error: no kernel image is available for execution on the device fixed it by deleting environment variables in windows deleted all python paths deleted cuda paths Especially older ones with 12.4 C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.4 fixed it make sure you delete from both user variables and system variables

mongodb backuscript

 #Add the following line to run the backup daily at 2:00 AM: 0 2 * * * /home/sas/mongo_backup.sh #!/bin/bash # MongoDB Daily Backup Script # Place in /home/sas/mongo_backup.sh and make executable # ------------------------------ # CONFIGURATION # ------------------------------ BACKUP_DIR="/usr/src/mongodb"                # Base backup directory RETENTION_DAYS=7                             # Keep backups for 7 days MONGODUMP_CMD="mongodump"                     # Path to mongodump (if not in $PATH) LOG_FILE="/var/log/mongo_backup.log"          # Log file TIMESTAMP=$(date +"%Y%m%d_%H%M%S")            # Timestamp for this backup BACKUP_PATH="$BACKUP_DIR/$TIMESTAMP"          # Full backup path # ------------------------------ # FUNCTIONS # -...

drushti copy backup

 Your find should look like that to avoid sending directory names to sed: find ./ -type f -exec sed -i -e 's/apple/orange/g' {} \; find ./ -type f -exec sed -i -e 's/192.227.112.108/162.19.155.118/g' {} \; #!/bin/sh Date1=`date +%d-%m-%Y` T1=`date +%H-%M` rsync -avz  --password-file=/backup_script/for_144  -u  root@162.19.155.118::home/ /Backup2/INDIA/162.19.155.118/DAILY/home/ > /backup_script/INDIA/162.19.155.118/logs/home.log  2>&1 T2=`date +%H-%M` echo "START : " $T1  >> /backup_script/INDIA/162.19.155.118/logs/home.log echo "END : " $T2  >> /backup_script/INDIA/162.19.155.118/logs/home.logcd .. /backup_script/INDIA/162.19.155.118/daily-ador-vps.sh /weeklybackup/INDIA/162.19.155.118/weekly-ador-vps.sh ################Ador vps 118########################### 22 23 * * 1,2,3,4,5,6 /bin/sh /backup_script/INDIA/162.19.155.118/daily-ador-vps.sh 30 23 * * 7 /bin/sh /weeklybackup/INDIA/162.19.155.118/weekly-ador-vps.sh [root@server-...

mysql installed but command not found

 mysql installed but command not found export PATH=$PATH:/usr/local/mysql/bin  export PATH=$PATH:/usr/local/mysql/bin/mysqldump

enable the Slow Query Log in MySQL

 ✅ IMMEDIATE ACTIONS (DO THESE NOW) 1️⃣ Enable MySQL slow query log (VERY IMPORTANT) SET GLOBAL slow_query_log = ON; SET GLOBAL long_query_time = 1; Then watch: tail -f /var/lib/mysql/*-slow.log tail -f /var/log/mysql/mysql-slow.log This will show exact queries + which site causes them. 2️⃣ See live MySQL queries SHOW FULL PROCESSLIST;

error quic protocol error bitdefender

  Toggle Bitdefender Settings:  Open Bitdefender, go to  Protection  >  Online Threat Prevention  and try turning off "Encrypted Web Scan" or "Scan SSL" to see if the issue resolves.