Show
Ignore:
Timestamp:
03/23/06 19:21:32 (7 years ago)
Author:
ahu
Message:

add qa-latency to rrd, add throttle-entries to rrd, add 'QUIT' command,
make cache-size calculation do less work (rrd stats caused packet loss!),
make twice-hourly stats no longer calculate cache size (caused packet loss)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/pdns/pdns/pdns_recursor.cc

    r610 r614  
    522522     <<(int)((RC.cacheHits*100.0)/(RC.cacheHits+RC.cacheMisses))<<"% cache hits"<<endl; 
    523523    L<<Logger::Error<<"stats: throttle map: "<<SyncRes::s_throttle.size()<<", ns speeds: " 
    524      <<SyncRes::s_nsSpeeds.size()<<", bytes: "<<RC.bytes()<<endl; 
     524     <<SyncRes::s_nsSpeeds.size()<<endl; // ", bytes: "<<RC.bytes()<<endl; 
    525525    L<<Logger::Error<<"stats: outpacket/query ratio "<<(int)(SyncRes::s_outqueries*100.0/SyncRes::s_queries)<<"%"; 
    526526    L<<Logger::Error<<", "<<(int)(SyncRes::s_throttledqueries*100.0/(SyncRes::s_outqueries+SyncRes::s_throttledqueries))<<"% throttled, "