Forum: internal server error


« Back To Thread List

4274 days ago

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.

4274 days ago
Btw, here's the entry in access.log: - - [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"

There's no corresponding error in error.log. Sigh...
4274 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.
4274 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 ...
4270 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?

4270 days ago

Added the following to config.php:


Figured this out once I turned on error logging in index.php with


For claiming to be "light on the server side", jawstats does use a lot of memory.
4270 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.
4267 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.
4255 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.

« Back To Thread List

Participate in this discussion


You must be logged in to post in this thread.


Version 0.7 beta available now

Released 25th Janury 2009

Try 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!