04 2017 档案

 
Linux 查看端口被什么程序占用
摘要:lsof -i:8899 输出: COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAMEjava 38889 root 329u IPv6 5883661 0t0 TCP *:ospf-lite (LISTEN) ps -aux | grep 38889 阅读全文
posted @ 2017-04-14 17:34 Sam168666 阅读(457) 评论(0) 推荐(0)
Cannot find ./catalina.sh The file is absent or does not have execute permission This file is nee
摘要:从tomcat官网上下载了apache-tomcat-5.5.36.zip,在window xp系统里面解压以后,直接放在了linux服务器上。 进入tomcat/bin目录,执行启动的时候出现如下错误: [root@test bin]# ./startup.shCannot find ./cata 阅读全文
posted @ 2017-04-01 13:49 Sam168666 阅读(9813) 评论(0) 推荐(2)
内存泄露java.lang.OutOfMemoryError: PermGen space解决方法
摘要:PermGen space的全称是Permanent Generation space,是指内存的永久保存区域,这块内存主要是被JVM存放Class和Meta信息的,Class在被Loader时就会被放到PermGen space中,它和存放类实例(Instance)的Heap区域不同,GC(Gar 阅读全文
posted @ 2017-04-01 13:48 Sam168666 阅读(230) 评论(0) 推荐(0)