performance - php-clamav - gets loaded into *each* Apache process -


php-clamav php5 extension allows incorporate virus scanning features php5 scripts.

in http://sourceforge.net/projects/php-clamav/reviews/?sort=usefulness&filter=all#reviews-n-ratings it's mentioned:

"the problem clamav virus database gets loaded each apache process. means memory usage per process has jumped ~16mb, ~170mb!! unacceptable. however, think project can recommended if can made "production" ready."

is there way fix this?

one obvious solution not load extension in every php instance.

or run scanner via popen/exec/...etc

without having looked @ project in detail, sounds if uses standalone scanner rather scanning daemon+light weight client - standalone scanner not make sense in context.


Comments

Popular posts from this blog

How do you change vbulletin's home page to the forums instead of the default (CMS or Activity Stream)? -

c++ - Troubles when compiling phash program -