This file contains 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
#!/bin/bash | |
name=$RANDOM | |
url='http://localhost:9093/api/v1/alerts' | |
echo "firing up alert $name" | |
# change url o | |
curl -XPOST $url -d '[{ | |
"status": "firing", |
This file contains 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
Full thread dump Java HotSpot(TM) 64-Bit Server VM (25.65-b01 mixed mode): | |
"Attach Listener" #22 daemon prio=9 os_prio=31 tid=0x00007fcfd5114000 nid=0x5c07 waiting on condition [0x0000000000000000] | |
java.lang.Thread.State: RUNNABLE | |
"threadDeathWatcher-2-1" #21 daemon prio=1 os_prio=31 tid=0x00007fcfd131c000 nid=0x5a03 waiting on condition [0x000070000175b000] | |
java.lang.Thread.State: TIMED_WAITING (sleeping) | |
at java.lang.Thread.sleep(Native Method) | |
at io.netty.util.ThreadDeathWatcher$Watcher.run(ThreadDeathWatcher.java:152) | |
at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:138) |
This file contains 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
cd /tmp | |
wget http://download.redis.io/redis-stable.tar.gz | |
tar xvzf redis-stable.tar.gz | |
cd redis-stable | |
make | |
cp src/redis-cli /usr/local/bin/ | |
chmod 755 /usr/local/bin/redis-cli |
This file contains 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
com.alibaba.druid.pool.DruidDataSource#pollLast#{ | |
CreateTime:"2017-06-24 13:27:32", | |
ActiveCount:0, | |
PoolingCount:0, | |
CreateCount:594, | |
DestroyCount:0, | |
CloseCount:49027722, | |
ConnectCount:54734451, | |
Connections:[ | |
] |
This file contains 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
initial |
This file contains 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
# | |
# A fatal error has been detected by the Java Runtime Environment: | |
# | |
# SIGSEGV (0xb) at pc=0x000000079582d008, pid=18742, tid=140261491287808 | |
# | |
# JRE version: Java(TM) SE Runtime Environment (7.0_79-b15) (build 1.7.0_79-b15) | |
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.79-b02 mixed mode linux-amd64 compressed oops) | |
# Problematic frame: | |
# C 0x000000079582d008 | |
# |
This file has been truncated, but you can view the full file.
This file contains 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
# | |
# There is insufficient memory for the Java Runtime Environment to continue. | |
# Native memory allocation (malloc) failed to allocate 12288 bytes for committing reserved memory. | |
# Possible reasons: | |
# The system is out of physical RAM or swap space | |
# In 32 bit mode, the process size limit was hit | |
# Possible solutions: | |
# Reduce memory load on the system | |
# Increase physical memory or swap space |
This file contains 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
num #instances #bytes class name | |
---------------------------------------------- | |
1: 3863976 186261944 [Ljava.lang.Object; | |
2: 6509136 156219264 java.util.ArrayList | |
3: 947155 53040680 xh.common.GuardPlayerInfo | |
4: 2145051 51481224 java.util.Date | |
5: 667201 48038472 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask | |
6: 407268 47803472 [C | |
7: 303600 29145600 org.springframework.statemachine.state.ObjectState | |
8: 233403 22406688 sun.util.calendar.Gregorian$Date |
This file contains 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
Java HotSpot(TM) 64-Bit Server VM (24.79-b02) for linux-amd64 JRE (1.7.0_79-b15), built on Apr 10 2015 11:34:48 by "java_re" with gcc 4.3.0 20080428 (Red Hat 4.3.0-8) | |
Memory: 4k page, physical 16136236k(6924012k free), swap 3906556k(3892576k free) | |
CommandLine flags: -XX:CMSInitiatingOccupancyFraction=70 -XX:+CMSParallelRemarkEnabled -XX:ErrorFile=/data/weblog/java/spy_service/hs_err_%p.log -XX:+ExplicitGCInvokesConcurrent -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/data/weblog/java/spy_service -XX:InitialHeapSize=3221225472 -XX:LargePageSizeInBytes=134217728 -XX:MaxHeapSize=3221225472 -XX:MaxNewSize=1610612736 -XX:MaxTenuringThreshold=6 -XX:NewSize=1610612736 -XX:OldPLABSize=16 -XX:-OmitStackTraceInFastThrow -XX:PermSize=201326592 -XX:+PrintGC -XX:+PrintGCDateStamps -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintTenuringDistribution -XX:ThreadStackSize=512 -XX:+UseCMSCompactAtFullCollection -XX:+UseCMSInitiatingOccupancyOnly -XX:+UseCompressedOops -XX:+UseConcMarkSweepGC -XX:+UseParNewGC | |
2017-06- |
This file contains 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
sudo apt-get update | |
sudo apt-get install -y apt-transport-https ca-certificates | |
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D | |
echo "deb https://mirrors.tuna.tsinghua.edu.cn/docker/apt/repo ubuntu-precise main" | sudo tee /etc/apt/sources.list.d/docker.list | |
sudo apt-get update && sudo apt-get install -y linux-image-generic-lts-trusty | |
sudo apt-get install docker-engine | |
sudo service docker start |
NewerOlder