4 ms·
A detailed error message is not a good introduction for an application framework: "Server error: templates: changeWorkingDirectory: does not exist (No such file
by delano 18y ago
A detailed error message is not a good introduction for an application framework: "Server error: templates: changeWorkingDirectory: does not exist (No such file or directory)"
- joe_the_user 18y agoYeah, I'll add load-testing to my to do in releasing web frameworks. But how ever solid one might think one's app is, there's no reason not to make one's front page static or at least have apache cache it.
- delano 18y agoThis story is going from bad to worse. The site was up again and I made it to page 5 looking for code examples (I was pretty interested to see some Haskell). The closest I found was a shell call for find. Page 6, "Server Error". The site is down again. So yeah, load test and do whatever it takes to ensure you're ready for traffic.
- tphyahoo 18y agoThis will be the first time I'm doing load testing so gimme some time to get it right :)
- delano 18y agoAh okay. Try Tsung, the Grinder, or JMeter if you have extra machines. For less heavy-duty testing try httperf. Siege and Apache bench are okay for basic testing. And always use a separate machine to generate load.
- tphyahoo 18y agoI think I finally fixed this problem. http://groups.google.com/group/HAppS/browse_thread/thread/cff2b9098c2b7a14/2b64b94525cd28a4#2b64b94525cd28a4 http://groups.google.com/group/HAppS/browse_thread/thread/cf... Basically it was a lazy io issue in haskell, fix was using a strict version of readFile for templates. Hope it stays up now!
- tphyahoo 18y agoI have to agree, and I am going to do my best to resolve this issue. Meanwhile I restarted the server and it's running again.