On Wed 18 Oct 2006 21:50, Chris Wilson wrote:
> Hi Paolo,
>
> On Wed, 18 Oct 2006, Paolo Lucente wrote:
> > If you see, such processes are not taking CPU, they are just laying out
> > there. This is because they are all on their LOCK, waiting for the green
> > light. LOCK serializes things: selects one of those processes, allows it
> > to do its job and terminate, then selects another one, etc.
>
> I think you're right that they weren't taking CPU, but they do take
> memory. And creating increasing numbers of them is unlikely to help the
> box come back to life after such an incident.
>
> > You should avoid such a queue to come up. It might be related to the low
> > specs box. But it might also be that you are not aggregating things that
> > much (are you?). Take a look to the discussion happened on the list just
> > earlier this month about database, performances, etc. Then, using MySQL,
> > you can also take a look to the following configuration directives in
> > CONFIG-KEYS: sql_dont_try_update and sql_multi_values. They usually
> > help.
>
> It seems to be partly related to this. The problem is that I do actually
> want to log a lot of data, and I want to see how much I can get away with
> on this old box. Preferably without killing it, because it's also our
> firewall and LDAP server. And it seems to be doing fine under normal
> conditions. But when the box does get overloaded, pmacct doesn't degrade
> gracefully.

I have also discussed the same problem with Paolo. Its a problem that needs 
solving but needs work.

-- 

Peter Nixon
http://www.peternixon.net/
PGP Key: http://www.peternixon.net/public.asc

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

Reply via email to