-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Watchdog is down once every hour #313
Comments
@kentarosasaki
Since the first one is a bug, we will fix it. Regarding the second one, Our expected result on xnix environments. ubuntu@ip-10-126-25-246:~/dev/leofs_client_tests/aws-sdk-ruby$ df -lk
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/xvda1 20496628 7637664 11920972 40% /
none 4 0 4 0% /sys/fs/cgroup
udev 3824544 12 3824532 1% /dev
tmpfs 765948 356 765592 1% /run
none 5120 0 5120 0% /run/lock
none 3829736 0 3829736 0% /run/shm
none 102400 0 102400 0% /run/user
/dev/xvdb 30824956 45124 29207352 1% /mnt |
Oh, Filesystem name is too long. However, LVM makes these long filesystem name usually. (e.g. OpenStack Cinder uses 32 chars uuid, which is longer than this case.) |
Additionally, In case clause which is in leo_watchdog.erl 120 step, handle_fail return just OK, but there are no processing after that. Of course, I'm not sure the detail around watchdog, but I got worried about the behaviour in case clause. |
@kentarosasaki no problem. |
@shuichiro-makigaki Thanks. This behaviour has been fixed with gnu In case of lower versions, |
Looks good. |
Fixed with this commit. Confirmed CentOS 6.5/UbuntuLTS. |
Confirmed the latest FreeBSD/SmartOS. @kentarosasaki @shuichiro-makigaki Thanks for you all contributions. |
I found out following error log in 1.2.5. This error log was appeared once every hour. In this gateway node, I don't use watchdog function. It means that I don't modify watchdog part in leo_gateway.conf.
The text was updated successfully, but these errors were encountered: