Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Log File - Counting "Hits"
June 27, 2006, 10:46 am
rate this thread
hits for my hosted RSS feeds and puts the information into a MySQL
table which then feeds the live(ish) statistics graphs on the site.
I am using:
for example to count the number of times feed7.xml is requested.
As the popularity of my site increases, however, I have started to
notice these errors in the error log:
PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried
to allocate 10802165 bytes) in
I know I could increase the memory settings in PHP - but is there a
smarter way of counting entries in the log file without trying to load
the entire thing into memory first?
Thanks, in anticipation
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — The site's Newest Thread. Posted in » Secure Shell Forum