Re: [clamav-users] about MaxQueue

2014-02-19 Thread Steven Morgan
Tsutomu,

>From the clamdtop man page:

...
   QUEUE  Number of items in queue

   MAXQ   Maximum number of items observed in the queue
...

Using MAXQ you should be able to confirm your clamd MaxQueue setting.

Steve

On Wed, Feb 19, 2014 at 7:17 AM, Tsutomu Oyamada wrote:

> Hi, Steve,
>
> Thanks your advice.
> We'll try clamdtop command.
>
> BTW how it affects MaxQueue in clamd?
>
> Best regards,
> Tsutomu Oyamada
>
> On Tue, 18 Feb 2014 16:13:15 -0500
> Steven Morgan  wrote:
>
> > Tsutomu,
> >
> > Take a look at the clamdtop command. There are also some unix commands
> that
> > may help: ps -eLF, lsof, gdb/info threads. If these do not get you the
> info
> > you are looking for, you can modify the code to put in the confirmations.
> > The code handling threads and queues is clamd/others.c, clamd/thrmgr.c,
> and
> > clamd/server-th.c.
> >
> > Hope this helps,
> > Steve
> >
> >
> > On Tue, Feb 18, 2014 at 5:41 AM, Tsutomu Oyamada <
> oyam...@promark-inc.com>wrote:
> >
> > > Hi,
> > >
> > > We like to know when a MaxQueue value of configuration file gives any
> > > influence while clamd is scanning.
> > > We are investigating matters of sessions with the following setteings.
> > > Can we confirm MaxThreads by ptree command?
> > > Could you teach us how to confirm behavior of configured value of
> MaxQueue?
> > >   MaxThreads 40
> > >   MaxQueue 80
> > > Please find the current clamd.conf as attached file.
> > >
> > > We confirm clamd by calling via socket and with using file scanner
> program.
> > > Version of clamd is  0.98.1, and platform is System z (s390x).
> > >
> > > Thanks,
> > > T.Oyamada
> > >
> > > ___
> > > Help us build a comprehensive ClamAV guide:
> > > https://github.com/vrtadmin/clamav-faq
> > > http://www.clamav.net/support/ml
> > >
> > ___
> > Help us build a comprehensive ClamAV guide:
> > https://github.com/vrtadmin/clamav-faq
> > http://www.clamav.net/support/ml
>
>
> ___
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
> http://www.clamav.net/support/ml
>

..
___
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/support/ml


Re: [clamav-users] about MaxQueue

2014-02-19 Thread Tsutomu Oyamada
Hi, Steve,

Thanks your advice.
We’ll try clamdtop command.

BTW how it affects MaxQueue in clamd?

Best regards,
Tsutomu Oyamada

On Tue, 18 Feb 2014 16:13:15 -0500
Steven Morgan  wrote:

> Tsutomu,
> 
> Take a look at the clamdtop command. There are also some unix commands that
> may help: ps -eLF, lsof, gdb/info threads. If these do not get you the info
> you are looking for, you can modify the code to put in the confirmations.
> The code handling threads and queues is clamd/others.c, clamd/thrmgr.c, and
> clamd/server-th.c.
> 
> Hope this helps,
> Steve
> 
> 
> On Tue, Feb 18, 2014 at 5:41 AM, Tsutomu Oyamada 
> wrote:
> 
> > Hi,
> >
> > We like to know when a MaxQueue value of configuration file gives any
> > influence while clamd is scanning.
> > We are investigating matters of sessions with the following setteings.
> > Can we confirm MaxThreads by ptree command?
> > Could you teach us how to confirm behavior of configured value of MaxQueue?
> >   MaxThreads 40
> >   MaxQueue 80
> > Please find the current clamd.conf as attached file.
> >
> > We confirm clamd by calling via socket and with using file scanner program.
> > Version of clamd is  0.98.1, and platform is System z (s390x).
> >
> > Thanks,
> > T.Oyamada
> >
> > ___
> > Help us build a comprehensive ClamAV guide:
> > https://github.com/vrtadmin/clamav-faq
> > http://www.clamav.net/support/ml
> >
> ___
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
> http://www.clamav.net/support/ml


___
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/support/ml


Re: [clamav-users] about MaxQueue

2014-02-18 Thread Steven Morgan
Tsutomu,

Take a look at the clamdtop command. There are also some unix commands that
may help: ps -eLF, lsof, gdb/info threads. If these do not get you the info
you are looking for, you can modify the code to put in the confirmations.
The code handling threads and queues is clamd/others.c, clamd/thrmgr.c, and
clamd/server-th.c.

Hope this helps,
Steve


On Tue, Feb 18, 2014 at 5:41 AM, Tsutomu Oyamada wrote:

> Hi,
>
> We like to know when a MaxQueue value of configuration file gives any
> influence while clamd is scanning.
> We are investigating matters of sessions with the following setteings.
> Can we confirm MaxThreads by ptree command?
> Could you teach us how to confirm behavior of configured value of MaxQueue?
>   MaxThreads 40
>   MaxQueue 80
> Please find the current clamd.conf as attached file.
>
> We confirm clamd by calling via socket and with using file scanner program.
> Version of clamd is  0.98.1, and platform is System z (s390x).
>
> Thanks,
> T.Oyamada
>
> ___
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
> http://www.clamav.net/support/ml
>
___
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/support/ml


[clamav-users] about MaxQueue

2014-02-18 Thread Tsutomu Oyamada
Hi,

We like to know when a MaxQueue value of configuration file gives any influence 
while clamd is scanning.
We are investigating matters of sessions with the following setteings.
Can we confirm MaxThreads by ptree command?
Could you teach us how to confirm behavior of configured value of MaxQueue?
  MaxThreads 40
  MaxQueue 80
Please find the current clamd.conf as attached file.

We confirm clamd by calling via socket and with using file scanner program.
Version of clamd is  0.98.1, and platform is System z (s390x).

Thanks,
T.Oyamada
___
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/support/ml