This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@db1 bin]# jstack -l 28025 | |
28025: No such process | |
[root@db1 bin]# jstack -l 28205 | |
2017-07-24 13:03:23 | |
Full thread dump Java HotSpot(TM) 64-Bit Server VM (24.79-b02 mixed mode): | |
"Attach Listener" daemon prio=10 tid=0x00007fdfd0001000 nid=0x6fa7 waiting on condition [0x0000000000000000] | |
java.lang.Thread.State: RUNNABLE | |
Locked ownable synchronizers: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@db1 ~]# jstack 44940 | |
2017-07-24 11:47:23 | |
Full thread dump Java HotSpot(TM) 64-Bit Server VM (24.79-b02 mixed mode): | |
"MessageBrokerSockJS-3" prio=10 tid=0x00007fe2f4004800 nid=0x1463 waiting on condition [0x00007fe3b1488000] | |
java.lang.Thread.State: WAITING (parking) | |
at sun.misc.Unsafe.park(Native Method) | |
- parking to wait for <0x000000060e83d940> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) | |
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:186) | |
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2043) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from flask import Flask,request,jsonify,g,render_template,send_from_directory | |
if not os.environ.has_key('_PROCESS_PATH_'): | |
_PROCESS_PATH_ = os.path.abspath(__file__) | |
_PROCESS_PATH_ = _PROCESS_PATH_[:_PROCESS_PATH_.rfind('/bin/')] | |
os.environ['_PROCESS_PATH_'] = _PROCESS_PATH_ | |
else: | |
_PROCESS_PATH_ = os.environ['_PROCESS_PATH_'] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys |