Re: Log_Parser bug
| From: | " | Date: | Fri, 27 Jun 2003 17:55:45 +0000 |
| Subject: | Re: Log_Parser bug | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-17799@lists.php.net to get a copy of this message | ||
Mensaje citado por "Tomas V.V.Cox" <cox@idecnet.com>:
>
> From pear/Log_Parser/Parser.php:
>
> function parse($start = null, $end = null)
> {
> $lines = file($this->_filename);
>
> My daily access_log size is arround 700Mbs :-) I would suggest you to
> change the class for not reading so a huge ammount of data to memory.
> In the other side, in a common php installation there is a 8Mb memory limit,
> so your
> logs can't be larger than this.
Maybe more than a way to read the logs (memory intensive, non-memory
intensive)?
What's in cvs is by no means definitive, and we haven't done much work on it
lately, but I hope to be able to take up work on the package soon.
Xavier