100% CPU load

Stefan (metze) Metzmacher metze at samba.org
Fri Dec 18 09:19:51 MST 2009


Hi Ronnie,

I've found another problem with ctdbd spinning
with 100% CPU load reading 0 bytes from the log child.

ctdb_log_handler()

gets n = 0 from read and log is log_state.

I think it's wrong that we don't test for n <= 0 and not error out.

I don't understand the code enough to fix it for the log == log_state.

metze

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091218/2642f6ef/attachment.pgp>


More information about the samba-technical mailing list