• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

imagemagick for image optimization

by admin

Last time we were talked about jpegoptim, jpegtran, optipng and pngcrush for image optimization. Today, We will review ImageMagick. Use ImageMagick® to create, edit, compose, or convert bitmap images. It can read and write images in a variety of formats (over 200) including PNG, JPEG, GIF, HEIC, TIFF, DPX, EXR, WebP, Postscript, PDF, and SVG. […]

Filed Under: Linux

How to monitor NVME drives on Centos 6

by admin

Recently, one of our customers asked us to upgrade his server hardware. Unfortunately, they can’t update their software and We had to install Centos 6 with new NVMe drives. But, We need to monitor them and default smartmontools don’t support NVMe on Centos 6.X. Also, you can read about how to install smartmontools in the […]

Filed Under: CentOS/RHEL, Linux

Monitor HDD and SSD with smartd and smartctl

by admin

Basic information smartd is a daemon that monitоrs the Self-Monitoring, Analysis and Reporting Technology (S.M.A.R.T) system that is built into most ATA/SATA and SCSI/SAS drives and solid-state drives. smartctl is a command-line utility designed to perform SMART tasks such as printing the SMART self-test and error logs, enabling and disabling SMART automatic testing, and initiating […]

Filed Under: CentOS/RHEL, Linux

TIME_WAIT queue troubles

by admin

Recently, We described how to configure your server for high load and prevention of DDoS. Today, We will speak about the time_wait queue trouble. Those who develop services actively working with the network can step on the features of the TCP protocol: the transition of many (or all free) ports to the TIME_WAIT state. There […]

Filed Under: Linux

Intel I219-LM Centos 6 network failed to start

by admin

Introduction If you are using old software on new software you can receive some weird errors. Today We will describe an error with Inle l219-LM and CentOS 6 error. For some reason from time to time, Centos 6 fails to start network when using the Intel I219-LM network card. We’ve faced the following issue with […]

Filed Under: CentOS/RHEL, CentOS/RHEL 6, Linux

How To Install Python 3 On CentOS 7 Using SCL

by admin

Introduction Python is an interpreted, high-level, general-purpose programming language. Created by Guido van Rossum and first released in 1991, Python’s design philosophy emphasizes code readability with its notable use of significant whitespace. Its language constructs and object-oriented approach aim to help programmers write clear, logical code for small and large-scale projects. It’s an incredible programming […]

Filed Under: CentOS/RHEL, Linux

Ngrok how to share localhost to world

by admin

Often there is a need to open your computer for access via the Internet, for all comers or with a password. For example, if you want to demonstrate a new code, publish files, or simply record all network traffic for research purposes. To do this, you need to install a web server and direct traffic […]

Filed Under: Linux

sysctl setting for high load and prevent DDoS

by admin

Introduction There are quite a few different examples of Linux kernel configurations on the Internet to support a large number of connections, heavily loaded web projects, and counter DDoS attacks. Here is another example that I have already been able to try in practice. I will say right away – it more than helped me. […]

Filed Under: Linux

Magento 2.3.3 Redis cache grows unlimited

by admin

Introduction Recently, one of our customers had troubles with redis-cache on his production multistore with 30 stores on it. His Redis became unavailable from time to time. We start to monitor it and found that there were too many expired Redis keys inside the database. Example of output: > info keyspace # Keyspace db0:keys=45775,expires=41711,avg_ttl=79567831 Possible […]

Filed Under: Linux

Insert into search_tmp… queries never ends

by admin

Introduction Magento uses MySQL’s fulltext for search. From time to time when your store has many search request MySQL can have many queries like: INSERT INTO search_tmp… Why it happens? It happens when your store has many catalogsearch request. How to fix this INSERT INTO search_tmp issue? Will be fixed since Magento 2.3.4. Hotfix/another fixes […]

Filed Under: Linux

« Previous Page
Next Page »

Primary Sidebar

Recent Posts

  • JavaFX ComboBox: Set a value to the combo box
  • Nginx load balancing
  • nginx 504 gateway time-out
  • Images preview with ngx_http_image_filter_module

© 2022 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright