运行yum,提示:Anotherappiscurrentlyholdingtheyumlock;waitingforittoexit解决:解除锁定:#rm-f/var/run/yum.pidOK了
分类:
移动开发 时间:
2015-12-01 19:43:23
阅读次数:
173
SELECTblocking_session_id‘阻塞进程的ID‘,wait_duration_ms‘等待时间(毫秒)‘,session_id‘(会话ID)‘FROMsys.dm_os_waiting_tasks可以查询到锁死的进程ID下面只要杀死这些进程就可以了killspid(进程ID)或者exec(‘kill’‘spid’)这样就可以了重新刷新下库一切正常了顺便介绍下..
分类:
系统相关 时间:
2015-11-25 09:24:41
阅读次数:
157
package mainimport ( "fmt" "io/ioutil" "os")func listDir(path string, ch chan int) { fmt.Println("waiting ..... read path:" + path) files, _ := iouti....
分类:
其他好文 时间:
2015-11-21 15:58:24
阅读次数:
188
“Waiting for orders we held in the wood,word from the front never cameBy evening the sound of the gunfire was miles awayAh softly we moved through the...
分类:
其他好文 时间:
2015-11-20 19:54:42
阅读次数:
182
Commando War“Waiting for orders we held in the wood, word from the front never cameBy evening the sound of the gunfire was miles awayAh softly we move...
分类:
其他好文 时间:
2015-11-17 21:57:57
阅读次数:
166
android Run模式也会出现"Waiting for debugger"的解决方法出现“waiting for debugger”窗口是在debug模式下运行出现的。但是,今天我在run模式下也出现了此窗口,并且一直如此。卸载程序重新运行也是如此。android真机在脱离电脑的情况下,会一直死...
分类:
移动开发 时间:
2015-11-11 11:20:43
阅读次数:
282
function writeCode(callback){ console.log("i am waiting....") callback(); console.log("i am ready")}function prepare(){ console.log("i am preparing......
分类:
Web程序 时间:
2015-11-10 17:50:47
阅读次数:
177
今天公司服务有段时间在报警,运维提供了一份那个时间段的log。用jstack发现有个进程一直等待资源,Waiting on condition。加上当时ping 服务一直有点不稳定,后面一直能ping通,怀疑是网络问题了。开始翻服务log,发现刚好那个时间段重启,于是问题也就明白了。中间碰到问题:w...
分类:
编程语言 时间:
2015-11-10 14:05:39
阅读次数:
433
关闭数据库,alert日志:Activecallforprocess36176016user‘oracle‘program‘oracle@aix‘Activecallforprocess23789646user‘zed‘program‘oracle@aix(TNSV1-V3)‘Activecallforprocess38011128user‘oracle‘program‘oracle@aix‘Activecallforprocess18481304user‘zed‘program‘oracl..
分类:
其他好文 时间:
2015-11-01 19:36:11
阅读次数:
290
SELECT
blocking_session_id ‘阻塞进程的ID‘,
wait_duration_ms ‘等待时间(毫秒)‘,
session_id ‘(会话ID)‘
FROM sys.dm_os_waiting_tasks
kill 阻塞进程的ID 刷新数据库,应该就好了。...
分类:
数据库 时间:
2015-10-30 19:08:11
阅读次数:
488