On Thu, 2005-06-16 at 14:58 +0200, [EMAIL PROTECTED] wrote: > Hi clamav users > > I've a very strange problem with clamd. > Its a 2x2.6 Ghz HT enabled and 1 GB of ram. > > The problem is that clamd uses 100% cpu all the time.
What version of Clam are you using? It is less than 0.85.1 then upgrade.
Please send a gdb backtrace of every thread when clamd is in this state:
1. Use 'ps' to get the PID of clamd:
ps -aux
clamav 24897 0.0 1.9 38032 10068 ? S Jan13 0:00 lt-clamd
^---- pid
2. Attach gdb to the running process
gdb /usr/local/bin/clamd 24897
^--- path to ^--- process id, from above
clamd binary
3. you should now get the gdb prompt, as: (gdb)
4. the command 'bt' will give a backtrace for the current thread.
The command 'info threads' will tell you how many threads there are.
The command 'thread <n>' will change to the specified thread, after
which you
can use the 'bt' command again to get it's backtrace.
So, you basically want to do:
a. 'info threads' to get the number of threads and their id numbers
b. for each thread do:
thread <id number>
bt
5. exit from gdb with the 'quit' command. Reply 'y' to the question
about the
program still running.
6. send a copy of the output from the above.
signature.asc
Description: This is a digitally signed message part
_______________________________________________ http://lurker.clamav.net/list/clamav-users.html
