scaoping 发表于 2017-12-19 10:10:04

solr 锁死解决办法

1. 查看端口号占用情况: view plain copy
[*]netstat -apn|grep 80【solr端口】
tcp      0      0 10.65.42.27:80            172.22.142.20:62771         ESTABLISHED6426/lighttpd 2. 确定进程号为上面标红显示 找到进程号以后,再使用以下命令查看详细信息: view plain copy
[*]ps -aux|grep <进程号>
eg: ps -aux | grep 6426bae       64260.00.2 133724 22848 ?      Sl   Feb27   0:22 bin/lighttpd 3. 杀掉该进程 view plain copy
[*]kill -9 <pid>【pid solr进程】
  重新覆盖安装。
  solr 其他命令
--清空所有http://127.0.0.1:8084/solr/update/?stream.body=%3Cdelete%3E%3Cquery%3E*:*%3C/query%3E%3C/delete%3E&stream.contentType=text/xml;&commit=true --清单条http://127.0.0.1:8085/solr/update/?stream.body=%3Cdelete%3E%3Cquery%3Ebooktitle_ik_s:非说不可:3000句必备经典英语口语%3C/query%3E%3C/delete%3E&stream.contentType=text/xml;charset=utf-8&commit=true
页: [1]
查看完整版本: solr 锁死解决办法