Mailing List Archive

[clamav-users] clamav-start problem under CentOS-7.7
Hi,

I have a problem while starting clamav.

The start time is **2 Min. 34 sec.** and it seems that the time was
waste on or after the step
--> Bytecode: Security mode set to "TrustSigned".

Please can someone tell me what I'm doing wrong.

Which information are required to help me?

----- %< -----

# time systemctl restart clamd.e2guardian.service

real 2m34.902s
user 0m0.030s
sys 0m0.026s

/var/log/clamav.log

Nov 9 08:37:21 vml70050 clamd[10761]: clamd daemon 0.101.4 (OS:
linux-gnu, ARCH: x86_64, CPU: x86_64)
Nov 9 08:37:21 vml70050 clamd[10761]: Running as user e2guardian (UID
399, GID 399)
Nov 9 08:37:21 vml70050 clamd[10761]: Log file size limited to 1048576 bytes.
Nov 9 08:37:21 vml70050 clamd[10761]: Reading databases from /var/lib/clamav
Nov 9 08:37:21 vml70050 clamd[10761]: Not loading PUA signatures.
Nov 9 08:37:21 vml70050 clamd[10761]: Bytecode: Security mode set to
"TrustSigned".
Nov 9 08:39:50 vml70050 clamd[10761]: Loaded 6533172 signatures.
Nov 9 08:39:52 vml70050 clamd[10761]: LOCAL: Unix socket file
/var/run/e2guardian/clamd.sock
Nov 9 08:39:52 vml70050 clamd[10761]: LOCAL: Setting connection queue
length to 200
Nov 9 08:39:52 vml70050 clamd[11492]: Limits: Global time limit set
to 120000 milliseconds.
Nov 9 08:39:52 vml70050 clamd[11492]: Limits: Global size limit set
to 104857600 bytes.
Nov 9 08:39:52 vml70050 clamd[11492]: Limits: File size limit set to
26214400 bytes.
Nov 9 08:39:52 vml70050 clamd[11492]: Limits: Recursion level limit
set to 16.
Nov 9 08:39:52 vml70050 clamd[11492]: Limits: Files limit set to 10000.
Nov 9 08:39:52 vml70050 clamd[11492]: Limits: MaxEmbeddedPE limit set
to 10485760 bytes.
Nov 9 08:39:52 vml70050 clamd[11492]: Limits: MaxHTMLNormalize limit
set to 10485760 bytes.
Nov 9 08:39:52 vml70050 clamd[11492]: Limits: MaxHTMLNoTags limit set
to 2097152 bytes.
Nov 9 08:39:52 vml70050 clamd[11492]: Limits: MaxScriptNormalize
limit set to 5242880 bytes.
Nov 9 08:39:52 vml70050 clamd[11492]: Limits: MaxZipTypeRcg limit set
to 1048576 bytes.
Nov 9 08:39:52 vml70050 clamd[11492]: Limits: MaxPartitions limit set to 50.
Nov 9 08:39:52 vml70050 clamd[11492]: Limits: MaxIconsPE limit set to 100.
Nov 9 08:39:52 vml70050 clamd[11492]: Limits: MaxRecHWP3 limit set to 16.
Nov 9 08:39:52 vml70050 clamd[11492]: Limits: PCREMatchLimit limit
set to 100000.
Nov 9 08:39:52 vml70050 clamd[11492]: Limits: PCRERecMatchLimit limit
set to 2000.
Nov 9 08:39:52 vml70050 clamd[11492]: Limits: PCREMaxFileSize limit
set to 26214400.
Nov 9 08:39:52 vml70050 clamd[11492]: Archive support enabled.
Nov 9 08:39:52 vml70050 clamd[11492]: AlertExceedsMax heuristic
detection disabled.
Nov 9 08:39:52 vml70050 clamd[11492]: Heuristic alerts enabled.
Nov 9 08:39:52 vml70050 clamd[11492]: Portable Executable support enabled.
Nov 9 08:39:52 vml70050 clamd[11492]: ELF support enabled.
Nov 9 08:39:52 vml70050 clamd[11492]: Mail files support enabled.
Nov 9 08:39:52 vml70050 clamd[11492]: OLE2 support enabled.
Nov 9 08:39:52 vml70050 clamd[11492]: PDF support enabled.
Nov 9 08:39:52 vml70050 clamd[11492]: SWF support enabled.
Nov 9 08:39:52 vml70050 clamd[11492]: HTML support enabled.
Nov 9 08:39:52 vml70050 clamd[11492]: XMLDOCS support enabled.
Nov 9 08:39:52 vml70050 clamd[11492]: HWP3 support enabled.
Nov 9 08:39:52 vml70050 clamd[11492]: Self checking every 600 seconds.

----- >% -----

Thank you!
Klaus.

--

--------------------------------------------
e-Mail : klaus@tachtler.net
Homepage: https://www.tachtler.net
DokuWiki: https://dokuwiki.tachtler.net
--------------------------------------------
Re: [clamav-users] clamav-start problem under CentOS-7.7 [ In reply to ]
It’s loading databases. Check the list archives from the last few months for several threads with solutions.

Good luck,
Reio

> On 9. Nov 2019, at 09:50, Klaus Tachtler via clamav-users <clamav-users@lists.clamav.net> wrote:
>
> ?Hi,
>
> I have a problem while starting clamav.
>
> The start time is **2 Min. 34 sec.** and it seems that the time was waste on or after the step
> --> Bytecode: Security mode set to "TrustSigned".
>
> Please can someone tell me what I'm doing wrong.
>
> Which information are required to help me?
>
> ----- %< -----
>
> # time systemctl restart clamd.e2guardian.service
>
> real 2m34.902s
> user 0m0.030s
> sys 0m0.026s
>
> /var/log/clamav.log
>
> Nov 9 08:37:21 vml70050 clamd[10761]: clamd daemon 0.101.4 (OS: linux-gnu, ARCH: x86_64, CPU: x86_64)
> Nov 9 08:37:21 vml70050 clamd[10761]: Running as user e2guardian (UID 399, GID 399)
> Nov 9 08:37:21 vml70050 clamd[10761]: Log file size limited to 1048576 bytes.
> Nov 9 08:37:21 vml70050 clamd[10761]: Reading databases from /var/lib/clamav
> Nov 9 08:37:21 vml70050 clamd[10761]: Not loading PUA signatures.
> Nov 9 08:37:21 vml70050 clamd[10761]: Bytecode: Security mode set to "TrustSigned".
> Nov 9 08:39:50 vml70050 clamd[10761]: Loaded 6533172 signatures.
> Nov 9 08:39:52 vml70050 clamd[10761]: LOCAL: Unix socket file /var/run/e2guardian/clamd.sock
> Nov 9 08:39:52 vml70050 clamd[10761]: LOCAL: Setting connection queue length to 200
> Nov 9 08:39:52 vml70050 clamd[11492]: Limits: Global time limit set to 120000 milliseconds.
> Nov 9 08:39:52 vml70050 clamd[11492]: Limits: Global size limit set to 104857600 bytes.
> Nov 9 08:39:52 vml70050 clamd[11492]: Limits: File size limit set to 26214400 bytes.
> Nov 9 08:39:52 vml70050 clamd[11492]: Limits: Recursion level limit set to 16.
> Nov 9 08:39:52 vml70050 clamd[11492]: Limits: Files limit set to 10000.
> Nov 9 08:39:52 vml70050 clamd[11492]: Limits: MaxEmbeddedPE limit set to 10485760 bytes.
> Nov 9 08:39:52 vml70050 clamd[11492]: Limits: MaxHTMLNormalize limit set to 10485760 bytes.
> Nov 9 08:39:52 vml70050 clamd[11492]: Limits: MaxHTMLNoTags limit set to 2097152 bytes.
> Nov 9 08:39:52 vml70050 clamd[11492]: Limits: MaxScriptNormalize limit set to 5242880 bytes.
> Nov 9 08:39:52 vml70050 clamd[11492]: Limits: MaxZipTypeRcg limit set to 1048576 bytes.
> Nov 9 08:39:52 vml70050 clamd[11492]: Limits: MaxPartitions limit set to 50.
> Nov 9 08:39:52 vml70050 clamd[11492]: Limits: MaxIconsPE limit set to 100.
> Nov 9 08:39:52 vml70050 clamd[11492]: Limits: MaxRecHWP3 limit set to 16.
> Nov 9 08:39:52 vml70050 clamd[11492]: Limits: PCREMatchLimit limit set to 100000.
> Nov 9 08:39:52 vml70050 clamd[11492]: Limits: PCRERecMatchLimit limit set to 2000.
> Nov 9 08:39:52 vml70050 clamd[11492]: Limits: PCREMaxFileSize limit set to 26214400.
> Nov 9 08:39:52 vml70050 clamd[11492]: Archive support enabled.
> Nov 9 08:39:52 vml70050 clamd[11492]: AlertExceedsMax heuristic detection disabled.
> Nov 9 08:39:52 vml70050 clamd[11492]: Heuristic alerts enabled.
> Nov 9 08:39:52 vml70050 clamd[11492]: Portable Executable support enabled.
> Nov 9 08:39:52 vml70050 clamd[11492]: ELF support enabled.
> Nov 9 08:39:52 vml70050 clamd[11492]: Mail files support enabled.
> Nov 9 08:39:52 vml70050 clamd[11492]: OLE2 support enabled.
> Nov 9 08:39:52 vml70050 clamd[11492]: PDF support enabled.
> Nov 9 08:39:52 vml70050 clamd[11492]: SWF support enabled.
> Nov 9 08:39:52 vml70050 clamd[11492]: HTML support enabled.
> Nov 9 08:39:52 vml70050 clamd[11492]: XMLDOCS support enabled.
> Nov 9 08:39:52 vml70050 clamd[11492]: HWP3 support enabled.
> Nov 9 08:39:52 vml70050 clamd[11492]: Self checking every 600 seconds.
>
> ----- >% -----
>
> Thank you!
> Klaus.
>
> --
>
> --------------------------------------------
> e-Mail : klaus@tachtler.net
> Homepage: https://www.tachtler.net
> DokuWiki: https://dokuwiki.tachtler.net
> --------------------------------------------
> <mime-attachment>
>
> _______________________________________________
>
> clamav-users mailing list
> clamav-users@lists.clamav.net
> https://lists.clamav.net/mailman/listinfo/clamav-users
>
>
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
>
> http://www.clamav.net/contact.html#ml


_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml
Re: [clamav-users] clamav-start problem under CentOS-7.7 [ In reply to ]
You're not doing anything wrong.
ClamAV takes it's time to load 6533172 signatures.

On 2019-11-09 08:48, Klaus Tachtler via clamav-users wrote:
> Hi,
>
> I have a problem while starting clamav.
>
> The start time is **2 Min. 34 sec.** and it seems that the time was
> waste on or after the step
> --> Bytecode: Security mode set to "TrustSigned".
>
> Please can someone tell me what I'm doing wrong.
>
> Which information are required to help me?
>
> ----- %< -----
>
> # time systemctl restart clamd.e2guardian.service
>
> real    2m34.902s
> user    0m0.030s
> sys    0m0.026s
>
> /var/log/clamav.log
>
> Nov  9 08:37:21 vml70050 clamd[10761]: clamd daemon 0.101.4 (OS:
> linux-gnu, ARCH: x86_64, CPU: x86_64)
> Nov  9 08:37:21 vml70050 clamd[10761]: Running as user e2guardian (UID
> 399, GID 399)
> Nov  9 08:37:21 vml70050 clamd[10761]: Log file size limited to 1048576
> bytes.
> Nov  9 08:37:21 vml70050 clamd[10761]: Reading databases from
> /var/lib/clamav
> Nov  9 08:37:21 vml70050 clamd[10761]: Not loading PUA signatures.
> Nov  9 08:37:21 vml70050 clamd[10761]: Bytecode: Security mode set to
> "TrustSigned".
> Nov  9 08:39:50 vml70050 clamd[10761]: Loaded 6533172 signatures.
> Nov  9 08:39:52 vml70050 clamd[10761]: LOCAL: Unix socket file
> /var/run/e2guardian/clamd.sock
> Nov  9 08:39:52 vml70050 clamd[10761]: LOCAL: Setting connection queue
> length to 200
> Nov  9 08:39:52 vml70050 clamd[11492]: Limits: Global time limit set to
> 120000 milliseconds.
> Nov  9 08:39:52 vml70050 clamd[11492]: Limits: Global size limit set to
> 104857600 bytes.
> Nov  9 08:39:52 vml70050 clamd[11492]: Limits: File size limit set to
> 26214400 bytes.
> Nov  9 08:39:52 vml70050 clamd[11492]: Limits: Recursion level limit set
> to 16.
> Nov  9 08:39:52 vml70050 clamd[11492]: Limits: Files limit set to 10000.
> Nov  9 08:39:52 vml70050 clamd[11492]: Limits: MaxEmbeddedPE limit set
> to 10485760 bytes.
> Nov  9 08:39:52 vml70050 clamd[11492]: Limits: MaxHTMLNormalize limit
> set to 10485760 bytes.
> Nov  9 08:39:52 vml70050 clamd[11492]: Limits: MaxHTMLNoTags limit set
> to 2097152 bytes.
> Nov  9 08:39:52 vml70050 clamd[11492]: Limits: MaxScriptNormalize limit
> set to 5242880 bytes.
> Nov  9 08:39:52 vml70050 clamd[11492]: Limits: MaxZipTypeRcg limit set
> to 1048576 bytes.
> Nov  9 08:39:52 vml70050 clamd[11492]: Limits: MaxPartitions limit set
> to 50.
> Nov  9 08:39:52 vml70050 clamd[11492]: Limits: MaxIconsPE limit set to 100.
> Nov  9 08:39:52 vml70050 clamd[11492]: Limits: MaxRecHWP3 limit set to 16.
> Nov  9 08:39:52 vml70050 clamd[11492]: Limits: PCREMatchLimit limit set
> to 100000.
> Nov  9 08:39:52 vml70050 clamd[11492]: Limits: PCRERecMatchLimit limit
> set to 2000.
> Nov  9 08:39:52 vml70050 clamd[11492]: Limits: PCREMaxFileSize limit set
> to 26214400.
> Nov  9 08:39:52 vml70050 clamd[11492]: Archive support enabled.
> Nov  9 08:39:52 vml70050 clamd[11492]: AlertExceedsMax heuristic
> detection disabled.
> Nov  9 08:39:52 vml70050 clamd[11492]: Heuristic alerts enabled.
> Nov  9 08:39:52 vml70050 clamd[11492]: Portable Executable support enabled.
> Nov  9 08:39:52 vml70050 clamd[11492]: ELF support enabled.
> Nov  9 08:39:52 vml70050 clamd[11492]: Mail files support enabled.
> Nov  9 08:39:52 vml70050 clamd[11492]: OLE2 support enabled.
> Nov  9 08:39:52 vml70050 clamd[11492]: PDF support enabled.
> Nov  9 08:39:52 vml70050 clamd[11492]: SWF support enabled.
> Nov  9 08:39:52 vml70050 clamd[11492]: HTML support enabled.
> Nov  9 08:39:52 vml70050 clamd[11492]: XMLDOCS support enabled.
> Nov  9 08:39:52 vml70050 clamd[11492]: HWP3 support enabled.
> Nov  9 08:39:52 vml70050 clamd[11492]: Self checking every 600 seconds.
>
> ----- >% -----
>
> Thank you!
> Klaus.
>
>
>
> _______________________________________________
>
> clamav-users mailing list
> clamav-users@lists.clamav.net
> https://lists.clamav.net/mailman/listinfo/clamav-users
>
>
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
>
> http://www.clamav.net/contact.html#ml
>



_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml
Re: [clamav-users] clamav-start problem under CentOS-7.7 [ In reply to ]
Hi Reio,
hi Axb,

it seems to be a problem/issue, where I'm not alone with it.

I increased the systemd start time to 300 (5 Min.) so it sill works.

Is it possible that it take so long, because in the past, with version 99.x,
the start was faster, maybe 20 or 30 seconds on the same machine?


> It’s loading databases. Check the list archives from the last few
> months for several threads with solutions.

I have done that, interesting was the problem with daily.c{l|v}d...


> Good luck,
> Reio

Thank you!
Klaus.

--

--------------------------------------------
e-Mail : klaus@tachtler.net
Homepage: https://www.tachtler.net
DokuWiki: https://dokuwiki.tachtler.net
--------------------------------------------
Re: [clamav-users] clamav-start problem under CentOS-7.7 [ In reply to ]
Am 09.11.2019 08:48, schrieb Klaus Tachtler via clamav-users:
> Hi,
>
> I have a problem while starting clamav.
>
> The start time is **2 Min. 34 sec.** and it seems that the time was
> waste on or after the step
> --> Bytecode: Security mode set to "TrustSigned".

Hi,

you can enjoy the next releases (also minor).
There will be some optimizations to db loading.
I am running a patched version and load time went down from around 3
minutes to below 1 minute.
I think this is a major improvement.

cu
Markus

_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml
Re: [clamav-users] clamav-start problem under CentOS-7.7 [ In reply to ]
Hi Markus,

that sounds great!


Thank you!
Klaus.

Am November 9, 2019 1:44:00 PM UTC schrieb Markus Kolb <markus.kolb+clamav@tower-net.de>:
>Am 09.11.2019 08:48, schrieb Klaus Tachtler via clamav-users:
>> Hi,
>>
>> I have a problem while starting clamav.
>>
>> The start time is **2 Min. 34 sec.** and it seems that the time was
>> waste on or after the step
>> --> Bytecode: Security mode set to "TrustSigned".
>
>Hi,
>
>you can enjoy the next releases (also minor).
>There will be some optimizations to db loading.
>I am running a patched version and load time went down from around 3
>minutes to below 1 minute.
>I think this is a major improvement.
>
>cu
>Markus

--
Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.

--

--------------------------------------------
e-Mail : klaus@tachtler.net
Homepage: https://www.tachtler.net
DokuWiki: https://dokuwiki.tachtler.net
--------------------------------------------


_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml