Check the THP status
cat /sys/kernel/mm/transparent_hugepage/enabled
cat /sys/kernel/mm/transparent_hugepage/defrag
Continue with the procedure described below if in one or both files the output looks as follows:
[always] madvise never
Check the THP status
cat /sys/kernel/mm/transparent_hugepage/enabled
cat /sys/kernel/mm/transparent_hugepage/defrag
Continue with the procedure described below if in one or both files the output looks as follows:
[always] madvise never
| max_connections = '20' | |
| shared_buffers = '14GB' | |
| effective_cache_size = '23040MB' | |
| maintenance_work_mem = '10GB' | |
| checkpoint_completion_target = '0.9' | |
| wal_buffers = '1GB' | |
| default_statistics_target = '500' | |
| random_page_cost = '1.1' | |
| effective_io_concurrency = '300' | |
| work_mem = '1GB' |
| docker run --rm -p 8888:8888 -p 4040:4040 \ | |
| -e JUPYTER_ENABLE_LAB=yes \ | |
| -v ~:/home/jovyan/work \ | |
| jupyter/all-spark-notebook \ | |
| start.sh jupyter lab --LabApp.token='' |
| Mar 17 06:51:42 fuckboi CRON[30478]: pam_unix(cron:session): session closed for user root | |
| Mar 17 06:51:50 fuckboi sshd[30851]: Invalid user sherry from 46.101.128.204 | |
| Mar 17 06:51:50 fuckboi sshd[30851]: input_userauth_request: invalid user sherry [preauth] | |
| Mar 17 06:51:50 fuckboi sshd[30851]: pam_unix(sshd:auth): check pass; user unknown | |
| Mar 17 06:51:50 fuckboi sshd[30851]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=relay.stolychnashop.com.ua | |
| Mar 17 06:51:51 fuckboi sshd[30851]: Failed password for invalid user sherry from 46.101.128.204 port 36718 ssh2 | |
| Mar 17 06:51:51 fuckboi sshd[30851]: Received disconnect from 46.101.128.204: 11: Bye Bye [preauth] | |
| Mar 17 06:52:10 fuckboi sshd[30853]: Invalid user ubuntu from 151.80.153.174 | |
| Mar 17 06:52:10 fuckboi sshd[30853]: input_userauth_request: invalid user ubuntu [preauth] | |
| Mar 17 06:52:10 fuckboi sshd[30853]: pam_unix(sshd:auth): check pass; user unknown |
| FROM redis | |
| COPY redis.conf /usr/local/etc/redis/redis.conf | |
| CMD [ "redis-server", "/usr/local/etc/redis/redis.conf" ] | |
| EXPOSE 6379 |
| #http://docs.graylog.org/en/3.0/pages/installation/docker.html | |
| version: '2' | |
| services: | |
| # MongoDB: https://hub.docker.com/_/mongo/ | |
| mongodb: | |
| image: mongo:3 | |
| volumes: | |
| - mongo_data:/data/db | |
| # Elasticsearch: https://www.elastic.co/guide/en/elasticsearch/reference/5.6/docker.html | |
| elasticsearch: |
| # This is the sshd server system-wide configuration file. See | |
| # sshd_config(5) for more information. | |
| # The strategy used for options in the default sshd_config shipped with | |
| # OpenSSH is to specify options with their default value where | |
| # possible, but leave them commented. Uncommented options override the | |
| # default value. | |
| #Port 22 | |
| #AddressFamily any |
| # Personal remaps | |
| # Set prefix to Ctrl-Space | |
| unbind C-b | |
| set -g prefix C-Space | |
| bind Space send-prefix | |
| # Use vi keys | |
| set -gw mode-keys vi |
| #!/bin/bash | |
| ### BEGIN INIT INFO | |
| # Provides: disable-transparent-hugepages | |
| # Required-Start: $local_fs | |
| # Required-Stop: | |
| # X-Start-Before: mongod mongodb-mms-automation-agent | |
| # Default-Start: 2 3 4 5 | |
| # Default-Stop: 0 1 6 | |
| # Short-Description: Disable Linux transparent huge pages | |
| # Description: Disable Linux transparent huge pages, to improve |
sysbench --test=fileio --file-total-size=15G prepare
sysbench --test=fileio --file-total-size=15G --file-test-mode=rndrw --time=300 --max-requests=0 run