I’m sure everyone has had the experience of a server process that was created by some developer and continues to run indefinitely without ending. This script comes in handy in such situations. When you schedule it to run regularly with tools like crontab, it will terminate these seemingly never-ending processes for you. It’s similar to scripts like Terminating Excessive Apache (httpd) Child Processes and Listing Process Execution Directories.
Continue reading Shell: Terminating Long-Running ProcessesCategory Archives: Linux
Make PostgreSQL Accessible from Outside
I will introduce how to make PostgreSQL accessible from outside clilent. ホストOSから VirtualBox の中の PostgreSQL にアクセスする方法 の内容と重複する部分があります。
Continue reading Make PostgreSQL Accessible from Outside(日本語) .bashrc, .vimrc の rc とは何の略か
VirtualBox: Find Host IP Address from the Guest Machine (Linux) in NAT Connection
I wrote the way to check host machine IP address from VirtualBox guest machine connected as NAT. Substantially speaking, it is the gateway address of the guest machine.
History
When I launched Kotlin API server in Host, Windows, and Launched Rails Web application in Guest Linux, I needed to know the host machine IP address for accessing to the API.
AWS EC2: How I Added Swap File
Here’s the way I added swap file in AWS EC2, t2.medium. At that time, I was using Jenkins in the computer, and Jenkins didn’t work because of less swap area.
Continue reading AWS EC2: How I Added Swap File