Hi Rene,

it smells like the MySQL plugin writer process is unable to write
down all the tuples by the time in which a new writer is spawned. 

This should reveal an non-optimal setting of either "aggregate" or
"sql_refresh_time" directives. This is easily caused by either the
specs of the box on which pmacct is running not being adequate or
the traffic profile (packets per second, average bytes per packet).

Can you post your config? Also, can you indicate the specs of the
box running pmacct and describe the kind of traffic travelling
onto the segment?

Quick fixes could be:

- build larger traffic aggregates by stripping primitives from the
  "aggregate" directive.

- tune the "sql_refresh_time" to a longer or smaller value mostly
  depending on the one currently configured. A value between 60-120
  seconds is generally OK. Larger values are particularly suited to
  support specific configurations. A value smaller than 60 secs is
  not generally suitable unless you have a very good reason for it.


Cheers,
Paolo


On Thu, Apr 17, 2008 at 11:38:30AM +0200, "Schultz Consult - [Ren? Madsen]" 
wrote:
> Paolo Lucente wrote:
> >Hi Rene,
> >
> >i know this may sound a bit simplistic: version 0.10.1 is a bit outdated 
> >now,
> >can you please switch to a more recent pmacct version? 0.11.4 is out for 
> >quite
> >a while and shouldn't pose stability issues. 
> >  
> Hi,
> 
> Now I have upgraded to 0.11.4 but still the same result.. a lot of:
> root     13330  0.4  0.4  11656  8044 ?        S    11:54   0:09 
> pmacctd: MySQL Plugin [in]                        
> root     13331  0.2  0.4  11132  7520 ?        S    11:54   0:05 
> pmacctd: MySQL Plugin [out]                       
> root     13909  0.0  0.2  11700  5388 ?        S    12:01   0:00 
> pmacctd: MySQL Plugin -- DB Writer [in]           
> root     13910  0.0  0.2  11176  5344 ?        S    12:01   0:00 
> pmacctd: MySQL Plugin -- DB Writer [out]          
> root     13913  0.0  0.2  11700  5344 ?        S    12:02   0:00 
> pmacctd: MySQL Plugin -- DB Writer [in]           
> root     13914  0.0  0.2  11176  5344 ?        S    12:02   0:00 
> pmacctd: MySQL Plugin -- DB Writer [out]          
> root     13917  0.0  0.2  11700  5344 ?        S    12:03   0:00 
> pmacctd: MySQL Plugin -- DB Writer [in]           
> root     13918  0.0  0.2  11176  5344 ?        S    12:03   0:00 
> pmacctd: MySQL Plugin -- DB Writer [out]          
> root     13921  0.0  0.2  11700  5344 ?        S    12:04   0:00 
> pmacctd: MySQL Plugin -- DB Writer [in]           
> root     13922  0.0  0.2  11176  5344 ?        S    12:04   0:00 
> pmacctd: MySQL Plugin -- DB Writer [out]          
> root     13925  0.0  0.2  11700  5348 ?        S    12:05   0:00 
> pmacctd: MySQL Plugin -- DB Writer [in]           
> root     13926  0.0  0.2  11176  5348 ?        S    12:05   0:00 
> pmacctd: MySQL Plugin -- DB Writer [out]          
> root     13929  0.0  0.2  11700  5348 ?        S    12:06   0:00 
> pmacctd: MySQL Plugin -- DB Writer [in]           
> root     13930  0.0  0.2  11176  5348 ?        S    12:06   0:00 
> pmacctd: MySQL Plugin -- DB Writer [out]          
> root     13933  0.0  0.2  11700  5348 ?        S    12:07   0:00 
> pmacctd: MySQL Plugin -- DB Writer [in]           
> root     13934  0.0  0.2  11176  5348 ?        S    12:07   0:00 
> pmacctd: MySQL Plugin -- DB Writer [out]          
> root     13937  0.0  0.2  11700  5348 ?        S    12:08   0:00 
> pmacctd: MySQL Plugin -- DB Writer [in]           
> root     13938  0.0  0.2  11176  5348 ?        S    12:08   0:00 
> pmacctd: MySQL Plugin -- DB Writer [out]          
> root     13946  0.0  0.2  11176  5348 ?        S    12:11   0:00 
> pmacctd: MySQL Plugin -- DB Writer [out]          
> root     13974  0.0  0.2  11700  5348 ?        S    12:21   0:00 
> pmacctd: MySQL Plugin -- DB Writer [in]
> 
> -- 
> Med venlig hilsen
> Ren? Madsen
> Schultz Conuslt
> 
> Glanshatten 54b
> 5220 Odense S?
> tlf.: (+45) 46 95 08 81
> mobil: (+45) 28 34 36 85
> www.schultzconsult.dk
> Kontortid: man-tor 08.30-18.30 fre 08.30-15.45 
> 

_______________________________________________
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists

Reply via email to