Project

General

Profile

AdiIRC high CPU usage on connection!

Added by Adi IRCtest about 8 years ago

Hi there,

For a while now, I've been trying to fix this issue with tricks or settings, no solution so far, the only way I found to reduce the effect of this issue is to reduce the number of reconnection after a disconnection issue, which is disable "reconnect on server disconnect" & "retry failed connections" .

The issue is that I have around 25 IRC servers I do autoconnect to every time I start AdiIRC, it is always a pain watching my CPU go over 50% until the connection is finished I can't use AdiIRC at all and using other applications is almost impossible. If I let default settings in, it'll go in a loop and the OS would freeze.
I'm connecting to these server using a bnc (znc being the base of that bnc) and this does happen only when the connection is lost between me and the server or when I start AdiIRC.

I use a start script that looks like this:

on *:START:{
server SERVER PORT NICK/SITE:PASS
server -m SERVER PORT NICK/SITE:PASS
}

Hopefully there'll be a fix for this issue in this amazingly made piece of software that made me forget about mIRC.

Thank you,

if you need other information's, let me know.


Replies (3)

RE: AdiIRC high CPU usage on connection! - Added by Per Amundsen about 8 years ago

I would assume you have a lot of channel windows with a lot of back buffer text.

Some with similar setup have reported joining with minimised/hidden windows can help, try uncheck "Options -> Window -> Focus newly opened windows".

Most of the cpu time for back buffers is from capturing and styling links, you could try disable it by typing:

/setoption Links CaptureLinks False

To re-enable, type:

/setoption Links CaptureLinks True

Also joining channels with many users can also be slow/cpu intensive, specially if you are using User Access Levels.

RE: AdiIRC high CPU usage on connection! - Added by Adi IRCtest about 8 years ago

Focus newly opened windows did the trick for startup script.

However, when losing connection or on Internet disconnect, the CPU high usage goes up. Not sure how to fix this, but isn't there a way to take this temporary CPU usage to ram instead of CPU? I'm not a technical guy, but this would be a much better on performance side.

Thank you for the trick Per Amundsen, saved me time especially in startup.

RE: AdiIRC high CPU usage on connection! - Added by Per Amundsen about 8 years ago

It's not that simple.

To pinpoint where/why the CPU is being used, AdiIRC must be run in a profiler during the high CPU usage, I don't know of a free/easy one unfortunately.

    (1-3/3)