刚才写脚本出现了一个异常java.net.SocketException:Toomanyopenfiles,以前没有遇到过,试了几次都这样。后来看了一下linux的限制(执行ulimit-a命令)显示如下corefilesize(blocks,-c)0datasegsize(kbytes,-d)unlimitedschedulingpriority(-e)0filesize(blocks,-f)unlimitedpendingsignals(-i)71680maxlockedmemory...
查看全文