-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
[Setting follow-up to clamav-devel]
Ola Thoresen wrote:
| Sun, 01 Feb 2004 at 10:54 GMT Thomas Lamy <[EMAIL PROTECTED]> wrote | | |>Could you check clamd's memory consumption before and after the check, |>and quarantine mails which cause more than 10% memory increase? Would be |>_really_ helpful. |> | | | clamd has now been running fine since I started it in the foreground in a | screen last night (local time). | | Right now it is consuming about 12 MB ram: | | (from 'top'): | 5635 clamav 16 0 14640 12M 13124 S 2.5 2.5 19:52 0 clamd | | This is what it does all the time. This server is scanning 5 - 50 mail | every _second_, so it is quite hard to se how much memory a single scan | uses, but the problem does not seem to be a constant leak of memory. This is what I check and fix using a test base of ~100MB mails (viral and normal) on a regular basis. I even set up a spamtrap on my development servers to get more test data (as spam senders tend to ignore or bend RFC reuiqrements), but nothing has shown up in my tests last weekend. | | The problem is that after a while, it will suddently start to use all | available memory, and after a few seconds the oom-killer will start | killing of processes, until clamd is killed. So the mails get processed by clamd properly... What about setting memory limits for the clamd process itself? As you scan copies of mails, either clamd should choke on "not enough memory", or dies (in the worst case), leaving the temp file there. Just a thought... | | We can the restart it immediately, and it will run happily for a while, | until the same bug is triggered. | | As soon as I see this again, I will try to isolate the last "few" mails | and see if I can spot anything suspicious. | I can't spot that enough: This would be of great help, as the occurence of this bug seems to be relatively rare so I can't narrow it down to some time span of development.
Please mail any evidence (zipped with password 'virus') directly to me (or Nigel Horne <[EMAIL PROTECTED]>).
Thank you ~ Thomas
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3-nr1 (Windows 2000)
iD8DBQFAHPKjU8aXJw9I+CERApFKAJ9mbwS9zRJKvESlwL/8TrVU4aJbbgCfTxFz SUcx28H8SLH7shNqL57wsaI= =uzOG -----END PGP SIGNATURE-----
------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users
