Lol I don't understand.

Regards,

Mr. Turritopsis Dohrnii Teo En Ming
Targeted Individuals in Singapore






On Monday, March 3rd, 2025 at 11:30 PM, Matus UHLAR - fantomas via 
Postfix-users <postfix-users@postfix.org> wrote:

> > On Monday, March 3rd, 2025 at 10:17 PM, Wietse Venema via Postfix-users 
> > postfix-users@postfix.org wrote:
> > 
> > > Turritopsis Dohrnii Teo En Ming via Postfix-users:
> > > 
> > > > top - 20:56:04 up 2 days, 4:01, 1 user, load average: 3.38, 3.50, 3.89
> > > > Tasks: 218 total, 6 running, 212 sleeping, 0 stopped, 0 zombie
> > > > %Cpu(s): 49.6 us, 5.9 sy, 0.0 ni, 0.0 id, 5.9 wa, 0.0 hi, 0.0 si, 38.7 
> > > > st
> > > > MiB Mem : 7684.1 total, 177.4 free, 7283.0 used, 628.5 buff/cache
> > > > MiB Swap: 0.0 total, 0.0 free, 0.0 used. 401.1 avail Mem
> > > > 
> > > > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
> > > > 537498 ceo 20 0 1351868 1.2g 9216 R 39.3 16.5 0:34.02 clamscan
> > > > 537510 ceo 20 0 1339460 1.2g 9216 R 35.7 16.3 0:31.26 clamscan
> > > > 537575 ceo@teo+ 20 0 1063560 995.6m 9088 R 25.0 13.0 0:19.80 clamscan
> > > > 537566 ceo@teo+ 20 0 1035668 993240 8960 R 17.9 12.6 0:18.78 clamscan
> > > 
> > > You have multiple clamscan processes useing a huge amount of memory.
> 
> 
> On 03.03.25 14:44, Turritopsis Dohrnii Teo En Ming via Postfix-users wrote:
> 
> > Yes, I have noticed that. Is clamscan or ClamAV consuming huge amounts of 
> > memory scanning all the 110+ messages stuck in the Mail Queue??
> 
> 
> What takes up so much memory is the virus database loaded in memory.
> 
> it's common to use clamav daemon "clamd", and use "clamdscan" instead.
> That way the virus database is loaded only once and clamd handled the
> scanning.
> 
> That also causes faster processing, because clamscan may need about one
> minute to load and parse the database.
> 
> You may need to run clamav with special privileges to be able to scan those
> files, e.g. when using "amavis" as intermediate between postfix and clamav,
> clamd needs to run with "amavis" group as secondary.
> 
> The alternative is use "clamdscan --fdpass" which passes the open file
> descriptors to clamd.
> 
> --
> Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
> Warning: I wish NOT to receive e-mail advertising to this address.
> Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
> Fucking windows! Bring Bill Gates! (Southpark the movie)
> _______________________________________________
> Postfix-users mailing list -- postfix-users@postfix.org
> To unsubscribe send an email to postfix-users-le...@postfix.org
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to