Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
92bea0c3
Commit
92bea0c3
authored
May 29, 2007
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-telco-gca
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-telco-gca
parents
4efc39f9
027b64f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
storage/ndb/src/kernel/vm/WatchDog.cpp
storage/ndb/src/kernel/vm/WatchDog.cpp
+8
-0
No files found.
storage/ndb/src/kernel/vm/WatchDog.cpp
View file @
92bea0c3
...
@@ -16,6 +16,7 @@
...
@@ -16,6 +16,7 @@
#include <ndb_global.h>
#include <ndb_global.h>
#include <my_pthread.h>
#include <my_pthread.h>
#include <sys/times.h>
#include "WatchDog.hpp"
#include "WatchDog.hpp"
#include "GlobalData.hpp"
#include "GlobalData.hpp"
...
@@ -129,6 +130,13 @@ WatchDog::run(){
...
@@ -129,6 +130,13 @@ WatchDog::run(){
break
;
break
;
}
//switch
}
//switch
g_eventLogger
.
warning
(
"Ndb kernel is stuck in: %s"
,
last_stuck_action
);
g_eventLogger
.
warning
(
"Ndb kernel is stuck in: %s"
,
last_stuck_action
);
{
struct
tms
my_tms
;
times
(
&
my_tms
);
g_eventLogger
.
info
(
"User time: %llu System time: %llu"
,
(
Uint64
)
my_tms
.
tms_utime
,
(
Uint64
)
my_tms
.
tms_stime
);
}
if
(
alerts
==
3
){
if
(
alerts
==
3
){
shutdownSystem
(
last_stuck_action
);
shutdownSystem
(
last_stuck_action
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment