| 150 | |
| 151 | == 2013-12-12 == |
| 152 | |
| 153 | * <狀況> 在核可新用戶時,發生 Too many open files 的情形。 |
| 154 | {{{ |
| 155 | HTTP Status 500 - |
| 156 | |
| 157 | type Exception report |
| 158 | |
| 159 | message |
| 160 | |
| 161 | description The server encountered an internal error () that prevented it from fulfilling this request. |
| 162 | |
| 163 | exception |
| 164 | |
| 165 | java.io.IOException: Cannot run program "mv": java.io.IOException: error=24, Too many open files |
| 166 | java.lang.ProcessBuilder.start(ProcessBuilder.java:460) |
| 167 | java.lang.Runtime.exec(Runtime.java:593) |
| 168 | java.lang.Runtime.exec(Runtime.java:431) |
| 169 | java.lang.Runtime.exec(Runtime.java:328) |
| 170 | org.nchc.crawlzilla.bean.RegisterBean.acceptUser(RegisterBean.java:130) |
| 171 | org.nchc.crawlzilla.servlet.memberManager.doPost(memberManager.java:69) |
| 172 | javax.servlet.http.HttpServlet.service(HttpServlet.java:637) |
| 173 | javax.servlet.http.HttpServlet.service(HttpServlet.java:717) |
| 174 | |
| 175 | root cause |
| 176 | |
| 177 | java.io.IOException: java.io.IOException: error=24, Too many open files |
| 178 | java.lang.UNIXProcess.<init>(UNIXProcess.java:148) |
| 179 | java.lang.ProcessImpl.start(ProcessImpl.java:65) |
| 180 | java.lang.ProcessBuilder.start(ProcessBuilder.java:453) |
| 181 | java.lang.Runtime.exec(Runtime.java:593) |
| 182 | java.lang.Runtime.exec(Runtime.java:431) |
| 183 | java.lang.Runtime.exec(Runtime.java:328) |
| 184 | org.nchc.crawlzilla.bean.RegisterBean.acceptUser(RegisterBean.java:130) |
| 185 | org.nchc.crawlzilla.servlet.memberManager.doPost(memberManager.java:69) |
| 186 | javax.servlet.http.HttpServlet.service(HttpServlet.java:637) |
| 187 | javax.servlet.http.HttpServlet.service(HttpServlet.java:717) |
| 188 | |
| 189 | note The full stack trace of the root cause is available in the Apache Tomcat/6.0.32 logs. |
| 190 | }}} |