[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Dolibarr-user] Upload a doc lasts 24s (whatever the file size)
From: |
Stéphane Rivière |
Subject: |
Re: [Dolibarr-user] Upload a doc lasts 24s (whatever the file size) |
Date: |
Thu, 11 Apr 2019 11:43:13 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 |
Hi Laurent,
Check in setup - security if you have enabled an antispam tool executed
after each upload and try to disable it if you have it.
I know you know you're definitly the best but it's worth repeating :)))
Many thanks for pointing out the problem. I had already stopped the
clamav service, but without thinking about a direct invocation from
Dolibarr. I'm stupid :)
The next step should be why theses 24 s... To dig around that I made a
little test :
With this 12K file : 20181121 - DBOOKER - SOW - manuels dolibarr.pdf
11:address@hidden:/srv/doc/erp1.soweb.io/admin/temp>/usr/bin/clamscan
"20181121 - DBOOKER - SOW - manuels dolibarr.pdf"
20181121 - DBOOKER - SOW - manuels dolibarr.pdf: OK
----------- SCAN SUMMARY -----------
Known viruses: 6107219
Engine version: 0.100.2
Scanned directories: 0
Scanned files: 1
Infected files: 0
Data scanned: 0.03 MB
Data read: 0.01 MB (ratio 2.33:1)
Time: 22.591 sec (0 m 22 s)
So I retrieve (approx.) my 24 s...
Adding --debug shows all the clamscan (still slow) work against its
signature databe. I've searched the web with no results, except seeing
many people complain about clamscan is now far more slower than in old
days...
All the best from Oléron Island :)