Changes between Version 10 and Version 11 of jazz/demo.crawlzilla.info


Ignore:
Timestamp:
Dec 12, 2013, 11:42:06 AM (11 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jazz/demo.crawlzilla.info

    v10 v11  
    189189note The full stack trace of the root cause is available in the Apache Tomcat/6.0.32 logs.
    190190}}}
     191 * <解法> 1. 增加 ulimit 開檔個數
     192{{{
     193#!diff
     194--- /etc/security/limits.conf 2010-02-22 11:29:11.000000000 +0800
     195+++ /etc/security/limits.conf.new 2010-02-22 11:28:33.000000000 +0800
     196@@ -49,4 +49,6 @@
     197 #ftp             -       chroot          /ftp
     198 #@student        -       maxlogins       4
     199 
     200+*      soft        nofile        4096
     201+*      hard        nofile        743964
     202+
     203 # End of file
     204}}}
     205 * <解法> 2. 在 /etc/profile 強制增加 ulimit 開檔個數,然後重新啟動 Crawlzilla
     206{{{
     207#!diff
     208--- /etc/profile.old    2013-12-12 11:43:47.435425484 +0800
     209+++ /etc/profile        2013-12-12 11:43:34.145004945 +0800
     210@@ -26,3 +26,6 @@
     211 fi
     212 
     213 umask 022
     214+
     215+## increase limits to open files
     216+ulimit -n 743964
     217}}}