Giter Site home page Giter Site logo

linux's People

Contributors

ayanecen avatar

Watchers

 avatar

linux's Issues

Minecraftで60秒タイムアウトによるハング対策

以下のログが出てmincraft serverが落ちた

[22:15:35] [Server Watchdog/FATAL]:
 A single server tick took 60.99 seconds (should be max 0.05)
[22:15:35] [Server Watchdog/FATAL]:
 Considering it to be crashed, server will forcibly shutdown.
[22:16:09] [Server Watchdog/ERROR]:
 This crash report has been saved to: ~//./crash-reports/crash-*-server.txt
[22:16:10] [Server Shutdown Thread/INFO]:
 Stopping server

対策方法

どのバージョンからかはわかりませんが、ウォッチドッグタイマーが追加されているようです。
server.propertiesの中のmax-tick-time=60000がそれに当たるようですが・・・。
見ればわかりますが、max-tick-timeのデフォルトの設定値は60000(ms)です。

60000ms=60秒なので、障害発生があってから60秒後に例外処理をする、
というのがウォッチドッグタイマーの役割です。
その障害発生=ラグ、で、例外処理=サーバーを停止、らしく、
うちのサーバーにログインしているユーザーがラグり始めたので60秒経ってサーバーが落ちたらしいです。

これをmax-tick-time=-1に設定してやると落ちなくなりました。

icesのインストール #15

NetRadioサーバー #14

  • 倦怠ブ録: 【CentOS】好きな曲を好きな時に、ネットラジオサーバーの構築
      http://kentai-shiroma.blogspot.jp/2013/02/blog-post_23.html

webディレクトリの権限を変更したい

現在

どうしたことかrootが所有しているファイルになっている。
nginxあたりの所有者で、nginxというユーザーで動作できないかな。

[hoge@moge]# ls -al /usr/share/nginx/
total 4
drwxr-xr-x   3 root root   17 Aug 17 21:51 .
drwxr-xr-x. 93 root root 4096 Aug 17 22:15 ..
drwxr-xr-x   2 root root   53 Aug 17 22:32 html

Centos6系メモ

さくらのVPSでminecraftマルチプレイヤサーバを構築 OS設定編

http://www.server-memo.net/minecraft/mc-install/minecraftserver-1.html

rootユーザのログイン禁止

初期状態のSSHは「root」ユーザの直接ログインが許可されています。
これは、rootのパスワードが破られてしまうと一発でサーバの管理者権限が奪われてしまい非常に危険ですので、rootユーザは直接SSHでログインできない設定を行っていきます。

まずは、sshの設定ファイルをバックアップしてから編集を行っていきます。

# cd /etc/ssh/
# cp -p sshd_config sshd_config_20150323
# vi sshd_config

lubuntu系メモ

CUI系

Ubuntu14.04LTSをCUIで起動する方法

http://note.kurodigi.com/ubuntu1404-cuilaunch/

LinuxのUbuntuでシステムをシャットダウン・再起動するコマンド

http://www.miuxmiu.com/archives/2011/03/19/linux_ubuntu_system_shutdown_restart_command.html

日本語表示系

Ubuntuの英語環境をCUIにて日本語対応にする

http://jlinuxer.dip.jp/?p=551
うまく行かず

Debian(Ubuntu)で コンソールに日本語表示してみた

http://server-setting.info/debian/debian-console-japanease.html

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.