100% CPU usage ?

Simon Dimenstein <[email protected]>
Newsgroups gmane.network.nocat
Message-ID <[email protected]>
I have the same issue.
Here is snipet from strace.
It dies when it goes in to read loop

gettimeofday({1116012438, 546567}, NULL) = 0
gettimeofday({1116012438, 546755}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=5, events=POLLIN}, {fd=7,
events=POLLIN}], 3, 793) = 0
gettimeofday({1116012439, 341405}, NULL) = 0
time(NULL)                              = 1116012439
time([1116012439])                      = 1116012439
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1267, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1267, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1267, ...}) = 0
send(3, "<29>May 13 15:27:19 NoCat[3005]:"..., 62, MSG_NOSIGNAL) = 62
gettimeofday({1116012439, 345050}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=5, events=POLLIN}, {fd=7,
events=POLLIN}], 3, 201) = 0
gettimeofday({1116012439, 548307}, NULL) = 0
gettimeofday({1116012439, 548492}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=5, events=POLLIN}, {fd=7,
events=POLLIN, revents=POLLIN}], 3, 1000) = 1
gettimeofday({1116012439, 624161}, NULL) = 0
read(7, "", 8192)                       = 0
read(7, "", 8192)                       = 0
read(7, "", 8192)                       = 0
read(7, "", 8192)                       = 0
read(7, "", 8192)                       = 0
read(7, "", 8192)                       = 0
read(7, "", 8192)                       = 0
read(7, "", 8192)                       = 0
read(7, "", 8192)                       = 0
read(7, "", 8192)                       = 0
read(7, "", 8192)                       = 0
read(7, "", 8192)                       = 0
read(7, "", 8192)                       = 0

I have to get it going, so I am open to providing all sorts of help.
My C is a bit rusty but ...
-- 
Simon
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.