Save 37 MB RAM [solved]

Post there if you plan to contribute to this SystemCd
gernot
Posts: 1127
Joined: 07 Apr 2010, 16:19

Save 37 MB RAM [solved]

Postby gernot » 29 Aug 2011, 11:01

/etc/init.d/sysresccd change the owner and group of the clamav database. This is not needed because the files are owned by clamav in the squashfs.

This command copies the squashfs files to RAM by changing user:group
/etc/init.d/sysresccd: # ---- allow freshclam ----
/etc/init.d/sysresccd: chown clamav:clamav /var/lib/clamav/*

#>d -k /livemnt/memory/var/
37092 /livemnt/memory/var/lib/clamav

I dont know about the group "locate" in the squashfs but freshclam works after removing the /livemnt/memory copy of the database.

Gernot

admin
Site Admin
Posts: 2715
Joined: 17 Jul 2003, 09:44

Re: Save 37 MB RAM

Postby admin » 03 Sep 2011, 19:03

Thanks it has been done in sysresccd-2.4.0-beta001

gernot
Posts: 1127
Joined: 07 Apr 2010, 16:19

Re: Save 37 MB RAM

Postby gernot » 04 Sep 2011, 15:49

It work.
Thank you.

Gernot


Return to “Contributions”

Who is online

Users browsing this forum: Google [Bot] and 2 guests