Forum: internal server error
| fretnoise 1302 days ago | Hi,
have been running jawstats for a couple weeks, and no problem so far. But now I'm accessing /jawstats, and the server returns "500 internal server error" without any error description. Plain awstats still works fine. Any ideas how to troubleshoot this? Looks like index.php is being run, and the error happens there somewhere. Thank's Andrej |
| fretnoise 1302 days ago | Btw, here's the entry in access.log:
84.59.29.161 - - [22/Oct/2008:23:46:45 -0700] "GET /jawstats/ HTTP/1.1" 500 - "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008061015 Firefox/3.0" r There's no corresponding error in error.log. Sigh... |
| fretnoise 1302 days ago | Here's my config:
root:/etc/apache2# more conf.d/awstats.conf Alias /awstatsclasses "/usr/share/awstats/lib/" Alias /awstats-icon/ "/usr/share/awstats/icon/" Alias /awstatscss "/usr/share/doc/awstats/examples/css" ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ ScriptAlias /awstats/ /usr/lib/cgi-bin/ Options ExecCGI -MultiViews +SymLinksIfOwnerMatch Alias /jawstats "/mnt/awstats/jawstats/" === END === I can access /jawstats/readme.txt - so the alias is working. |
| karamorf 1301 days ago | You only get the one entry into your access log? I get like 15 or so ... dunno if this actually helps any but wild guesses are as good as any right? :) good luck though ... |
| fretnoise 1298 days ago | Yes, that's it. jawstats's index.php causes an internal error, and a blank page is returned. You probably get more entries, because your page contains a bunch of external references that are loaded when the page is displayed.
My question: How do I know what causes the 500 error? Or what can I do to find out the root of this? Am I really the only person running into this issue? Thank's. |
| fretnoise 1298 days ago | SOLVED.
Added the following to config.php: ini_set("memory_limit","42M"); Figured this out once I turned on error logging in index.php with error_reporting(1); For claiming to be "light on the server side", jawstats does use a lot of memory. |
| joncombe 1297 days ago | This doesn't sound good. :(
How big are these files, fretnoise? I mean, can you give me an idea of how much traffic you're getting? I'm guessing (hoping) it is a very large number indeed. Thanks as always for the heads up. |
| fretnoise 1295 days ago | # ls -l
-rw-r--r-- 1 root root 1768853 2008-10-06 16:55 awstats092008.www.***.com.txt -rw-r--r-- 1 root root 10900469 2008-10-29 06:42 awstats102008.www.***.com.txt We only have data for about one month. We get maybe 3req/sec of traffic. Thank's for making jawstats avaialable, it's very useful and easy on the eyes. |
| gnanet 1282 days ago | Hello, i have already checked the hungryness of jawstats, we already tested statistics, where the 128MB limit was almost enough
the data file was for example 16MB and the VIRT memory usage peak was 116M on the "Page Views" tab. I think this is serious, because if i have more statistics , and the produce such a large memory usage peak, i could get to an out-of-memory state. |
Participate in this discussion
You must be logged in to post in this thread.
Version 0.7 beta available now
Released 25th Janury 2009Try the online demo or download now.
Latest JAWStats News:
Version 0.7 Beta Released
Sprechen Sie Deutsch? Multi-lingual JAWStats v0.7 is finally here.
posted 25th Jan '09. read more »
Help JAWStats
Please donate a dollar (or more!) towards the hosting costs for this site. This money doesn't go anywhere near my pocket, it is purely used against my hosting bill.
Get $50 off your webhosting
You could do far worse than choose Dreamhost. I've used them for 6 years and they're great. Simply enter the promo code: JAWSTATS on signup!