Share

Squeezer Squid Optimization Analyzer

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

Illegal division by zero

You are viewing a single message from this topic. View all messages.

  1. 2006-03-16 12:14:17 UTC
    [root@fedora squeezer-0.5]# ./squeezer.pl -c /etc/squid/squid.conf -l /var/log/squid/access.log
    Illegal division by zero at ./squeezer.pl line 644.
    [root@fedora squeezer-0.5]#


    Line 644: $results {by_result}->{TCP_HIT}->{speed} =
    ($stats{by_result}->{TCP_HIT}->{bytes} / 1024) /
    ($stats{by_result}->{TCP_HIT}->{times} / 1000) ;

    I am using Squid Cache: Version 2.5.STABLE13 and perl v5.8.6 on Fedora Core 4.

    So {bytes} or {times} is zero...




    Thank you for your time and efforts.


    Regards,

    Randy
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.