On 05/25/2010 07:26 PM, Michael Feldmann wrote:
> Edwin,
> 
> thanks very much for your quick response.
> 
> I did the strace you suggested,
> 
> There are quite a few open commands shown:
> 
> 
> open("/etc/ld.so.cache", O_RDONLY)      = 3
> open("/usr/local/lib/libclamav.so.6", O_RDONLY) = 3
> open("/lib/tls/libpthread.so.0", O_RDONLY) = 3
> open("/lib/tls/libc.so.6", O_RDONLY)    = 3
> open("/lib/libdl.so.2", O_RDONLY)       = 3
> open("/lib/libz.so.1", O_RDONLY)        = 3
> open("/usr/lib/libbz2.so.1", O_RDONLY)  = 3
> open("/lib/tls/libm.so.6", O_RDONLY)    = 3
> open("/usr/local/etc/clamd.conf", O_RDONLY) = 3
> open("/usr/local/lib/libclamunrar_iface.so.6.1.3", O_RDONLY) = 3
> open("/etc/ld.so.cache", O_RDONLY)      = 3
> open("/usr/local/lib/libclamunrar.so.6", O_RDONLY) = 3
> open("/usr/local/share/clamav",
> O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
> open("/usr/local/share/clamav/daily.cld", O_RDONLY) = 4
> open("/usr/local/share/clamav/daily.cld", O_RDONLY) = 4
> open("/usr/local/share/clamav/main.cvd", O_RDONLY) = 4
> open("/usr/local/share/clamav/bytecode.cvd", O_RDONLY) = 4
> 
> 
> 
> and at the end there is the following:
> 
> 
> 
> umask(022)                              = 0777
> chmod("/tmp/clamd.socket", 0666)        = 0
> open("/dev/null", O_RDONLY)             = 4
> open("/dev/null", O_WRONLY)             = 5
> open("/dev/null", O_WRONLY)             = 6
> dup2(4, 0)                              = 0
> dup2(5, 1)                              = 1
> dup2(6, 2)                              = 2
> close(4)                                = 0
> close(5)                                = 0
> close(6)                                = 0
> clone(child_stack=0,
> flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
> child_tidptr=0x40291028) = -1 ENOMEM (

The kernel thinks you don't have enough memory.
Maybe because your swap is zero, and it needs some swap to back up the
fork()?

Best regards,
---Edwin
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to