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 […]
Archives for April 2022
Ngrok how to share localhost to world
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 […]
sysctl setting for high load and prevent DDoS
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. […]
Magento 2.3.3 Redis cache grows unlimited
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 […]
Insert into search_tmp… queries never ends
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 […]
UbuntuDDE new upcoming Linux distribution
Introduction Today we present one of the topics that will help you get the usual stability of Ubuntu LTS, but with the amazing beauty of Deepin Desktop out of the box. Deepin (DDE) is a work environment with an intuitive interface. The UbuntuDDE project combines the power of Ubuntu with the beauty of Deepin. Ubuntu […]
Magento 2 Rabbitmq configuration
Introduction In November 2018, Magento 2.3.0 update quietly introduced integration with the message queue management tool RabbitMQ. The new feature opened powerful optimization options for both Magento 2 Commerce and Open Source editions. Recently, We’ve talked about RabbitMQ installation and configuration. Now, We will show you how to configure Rabbitmq and use it on the […]
Rabbitmq install and management
Introduction Any experienced system administrator knows that sometimes putting off tasks for later is very useful and even necessary, especially if the task is time-consuming and consumes a lot of resources. To do this, you need a message broker – a program that receives messages (tasks) from various senders (web applications), forms a queue from […]
A little trick: select a random file or line in the file with shuf
Of course, we all value freedom forever. In particular, freedom of choice. But sometimes it is burdensome. He looked, for example, in the folder with the video, and there are a bunch of films from the untreated. What to stop on, what to choose? What a nuisance! I just want to get a coin and, […]
pscp – ssh_init: Network error: Cannot assign requested address
The PuTTY suite includes two programs for copying your files securely between machines. PSCP is a noninteractive program much like scp, and PSFTP is an interactive program inspired by ftp. You can use pscp (secure copy) and psftp (secure FTP) at the Windows XP Command Prompt. To copy a file with pscp, use: pscp username […]