「IPアドレス国確認」のIPv6対応を行いました!
既に告知済みですが、APIの方もIPv6対応を行っています。
「IPアドレスの国を確認して返すAPI」がIPv6に対応しました!
取り敢えず、これでやりたかった既存機能の変更は一段落です。
2020年2月16日日曜日
2020年2月9日日曜日
「IPアドレスの国を確認して返すAPI」がIPv6に対応しました!
「IPアドレスの国を確認して返すAPI」のIPv6対応を行いました。
IPv4ほど細かくエラーが出ませんが、取り敢えずグローバルIPの割当国を確認することが出来ます。GUI版の方も対応したいと思いますので、少々お待ち下さい!
IPv4ほど細かくエラーが出ませんが、取り敢えずグローバルIPの割当国を確認することが出来ます。GUI版の方も対応したいと思いますので、少々お待ち下さい!
2020年2月5日水曜日
2020年2月4日火曜日
「IPアドレス計算」を公開しました!
先日公開したIPアドレス計算APIを利用し、GUIでIPアドレスのネットワークアドレス計算ができる「IPアドレス計算」を作成しました!
IPv4だけでなく、IPv6にも対応しているというところがポイントです!
IPv4だけでなく、IPv6にも対応しているというところがポイントです!
2020年2月3日月曜日
google-fluentdの負荷が異常に高い
GCP上で稼働させているサーバ(CentOS7)のCPU負荷が異常に高いので、調査を実施
# ps aux -L
root 4897 4897 46.0 2 1.3 151648 8412 ? Rl 06:33 0:00 /opt/google-fluentd/embedded/bin/ruby -Eascii-8bit:ascii-8bit /usr/sbin/google-fl
root 4897 4898 0.0 2 1.3 151648 8412 ? Sl 06:33 0:00 /opt/google-fluentd/embedded/bin/ruby -Eascii-8bit:ascii-8bit /usr/sbin/google-fl
google-fluentdが原因?
止めてみる
# service google-fluentd status
google-fluentd is running [ OK ]
# service google-fluentd stop
Stopping google-fluentd (via systemctl): [ OK ]
負荷が高いのが止まった。
取り敢えず原因調査はおいておいて、google-fluentdが稼働しないようにしてきましょう。
# chkconfig --list
Note: This output shows SysV services only and does not include native
systemd services. SysV configuration data might be overridden by native
systemd configuration.
If you want to list systemd services use 'systemctl list-unit-files'.
To see services enabled on particular target use
'systemctl list-dependencies [target]'.
google-fluentd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
netconsole 0:off 1:off 2:off 3:off 4:off 5:off 6:off
network 0:off 1:off 2:on 3:on 4:on 5:on 6:off
stackdriver-agent 0:off 1:off 2:on 3:on 4:on 5:on 6:off
# chkconfig google-fluentd off
# chkconfig --list
Note: This output shows SysV services only and does not include native
systemd services. SysV configuration data might be overridden by native
systemd configuration.
If you want to list systemd services use 'systemctl list-unit-files'.
To see services enabled on particular target use
'systemctl list-dependencies [target]'.
google-fluentd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
netconsole 0:off 1:off 2:off 3:off 4:off 5:off 6:off
network 0:off 1:off 2:on 3:on 4:on 5:on 6:off
stackdriver-agent 0:off 1:off 2:on 3:on 4:on 5:on 6:off
# ps aux -L
root 4897 4897 46.0 2 1.3 151648 8412 ? Rl 06:33 0:00 /opt/google-fluentd/embedded/bin/ruby -Eascii-8bit:ascii-8bit /usr/sbin/google-fl
root 4897 4898 0.0 2 1.3 151648 8412 ? Sl 06:33 0:00 /opt/google-fluentd/embedded/bin/ruby -Eascii-8bit:ascii-8bit /usr/sbin/google-fl
google-fluentdが原因?
止めてみる
# service google-fluentd status
google-fluentd is running [ OK ]
# service google-fluentd stop
Stopping google-fluentd (via systemctl): [ OK ]
負荷が高いのが止まった。
取り敢えず原因調査はおいておいて、google-fluentdが稼働しないようにしてきましょう。
# chkconfig --list
Note: This output shows SysV services only and does not include native
systemd services. SysV configuration data might be overridden by native
systemd configuration.
If you want to list systemd services use 'systemctl list-unit-files'.
To see services enabled on particular target use
'systemctl list-dependencies [target]'.
google-fluentd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
netconsole 0:off 1:off 2:off 3:off 4:off 5:off 6:off
network 0:off 1:off 2:on 3:on 4:on 5:on 6:off
stackdriver-agent 0:off 1:off 2:on 3:on 4:on 5:on 6:off
# chkconfig google-fluentd off
# chkconfig --list
Note: This output shows SysV services only and does not include native
systemd services. SysV configuration data might be overridden by native
systemd configuration.
If you want to list systemd services use 'systemctl list-unit-files'.
To see services enabled on particular target use
'systemctl list-dependencies [target]'.
google-fluentd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
netconsole 0:off 1:off 2:off 3:off 4:off 5:off 6:off
network 0:off 1:off 2:on 3:on 4:on 5:on 6:off
stackdriver-agent 0:off 1:off 2:on 3:on 4:on 5:on 6:off
2020年2月2日日曜日
yum updateでエラー
エラーが発生
# yum update
error: rpmdb: BDB0113 Thread/process 1061/139829741492032 failed: BDB1507 Thread died in Berkeley DB library
error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db5 - (-30973)
error: cannot open Packages database in /var/lib/rpm
CRITICAL:yum.main:
rpmdbが壊れたみたいです。
以下のコマンドで修復
# rpm --rebuilddb
以下のサイトを参考にさせていただきました。
CentOSのrpmdbが壊れてyumコマンドが失敗する場合の修正方法
# yum update
error: rpmdb: BDB0113 Thread/process 1061/139829741492032 failed: BDB1507 Thread died in Berkeley DB library
error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db5 - (-30973)
error: cannot open Packages database in /var/lib/rpm
CRITICAL:yum.main:
rpmdbが壊れたみたいです。
以下のコマンドで修復
# rpm --rebuilddb
以下のサイトを参考にさせていただきました。
CentOSのrpmdbが壊れてyumコマンドが失敗する場合の修正方法
登録:
投稿 (Atom)