Just delete the error log if it's too large, won't harm the bot.
Another question: which version of bebot and AOChat.php are you running? I just checked all tagged versions in the SVN for the lines 332 and 447 in AOChat.php, and not a single one contained a socket_write() or socket_select() in any of those lines.