Thanks a lot for your response. I am using the cloud instance with the exact same shape (same hardware spec). What could possibly be the cause of the 35 seconds difference? I still have one of the repro machine? Could you please suggest a way for me to profile it? 


On Jan 31, 2020, at 11:10 PM, Al Varnell via clamav-users <clamav-users@lists.clamav.net> wrote:

Loading signatures.

And please don't hijack a thread by replying to a previous posting and changing the Subject. There are hidden headers that cause it to appear in the same conversation as the original posting.

-Al-

On Jan 31, 2020, at 21:56, kaifeng zeng via clamav-users <clamav-users@lists.clamav.net> wrote:

Hi, 

I notice that clamscan takes about 35 seconds in the highlighted statement below sometimes. That brings the total scan time for a file from 17 seconds to 51 seconds. Does anyone know what exact clamscan is doing and how I can make it load fast consistently? 

Thanks a lot for your help!

Kevin 

LibClamAV debug: daily.pdb loaded
LibClamAV debug: Loading regex_list
LibClamAV debug: daily.wdb loaded
LibClamAV debug: cli_loadcrt: subject: 4a532974c46ae5048824c6da8cfb8e163705b693
LibClamAV debug: cli_loadcrt: public key: ABCAC1194D5A2DDB91CD71AA7464BEE3EF5CFF333343EFFDA9A43DD193BEDEDD3276FBEF27DD41E3C86D2A44670388D6DB3FDE36F3EE1F96DEA1304CEB49E7355CD0C2AB5A9DA2A599155AE9D3787B5413CB00C0CBBC02AF8A0FF2EF8DE3CFF39F1CB6B001933A0D8FC9ED17C21BC27FFDD85BB0D7960BC7B863722B2503CCEDA1991ACF429908C3DA06DE4D59E399616F7E71269C27041B0425B9209167E1471911222C501D9322646BCFB0DE921542A611476A2E0CB60AA356A7CBE23BC127B8B20062996266539ACF4BD4042CF088E75E61BFFF2AB3FEA4BB5AF8B0D7198CEF14F60BA4F5FECB181D2566125E2854FD8DD65FD7AE665AF723077A5A5F8695

_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.clamav.net_mailman_listinfo_clamav-2Dusers&d=DwICAg&c=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=Inq1OylZA3GJqTl2o7aXQlf2C1jipShaGcZEmouChXg&m=QJ49fyR5Lte_UYhRHuJ_LQzOO6ZDIiqNWXAcZiN8zEI&s=096iBb781Xi3AZacLcNiMlC9708OyBZhtvLQFBlwxXY&e=


Help us build a comprehensive ClamAV guide:
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_vrtadmin_clamav-2Dfaq&d=DwICAg&c=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=Inq1OylZA3GJqTl2o7aXQlf2C1jipShaGcZEmouChXg&m=QJ49fyR5Lte_UYhRHuJ_LQzOO6ZDIiqNWXAcZiN8zEI&s=tW6z8BboLUA8mZDRMTqEPx3Edlhsay4k6leHJvLvx5E&e=

https://urldefense.proofpoint.com/v2/url?u=http-3A__www.clamav.net_contact.html-23ml&d=DwICAg&c=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=Inq1OylZA3GJqTl2o7aXQlf2C1jipShaGcZEmouChXg&m=QJ49fyR5Lte_UYhRHuJ_LQzOO6ZDIiqNWXAcZiN8zEI&s=Wo1k_R6ciYbqQDmkrKM8g8WqemJVrQBZk6zHHs8CJGs&e=