Re: Mitigating excessive iSCSI initiator connection failed errors.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2016-03-08 at 18:57 +0000, Benjamin ESTRABAUD wrote:
> Hi,
> 
> I've been facing with a small issue lately when working with 128 iSCSI 
> targets on a single system with multiple iscsi initiators connecting to 
> it (3, 4 inits). If I remove the iSCSI targets or even just the ACLs 
> from the system even temporarily I get flooded by thousands upon 
> thousands of connection failures from the hosts trying to login to the 
> system with messages like:
> 
> [  923.560908] iSCSI Initiator Node: iqn.1994-05.com.redhat:c87d91366225 
> is not authorized to access iSCSI target portal group: 1.
> [  923.561124] iSCSI Login negotiation failed.
> 
> These are fine in small number but when all of the hosts are combined to 
> so many targets the system gets overwhelmed, the kernel logger gets 
> flooded and the network portal thread's CPU usage ramps up to close to 100%.
> 
> Is there a way to limit those, say for instance add a timer between the 
> login attempt processing that gradually increases with each login failure?
> 
> I can control the hosts but it's not always evident as a solution 
> (sometimes the initiators have been improperly configured and I get back 
> in the same situation).
> 
> Thanks in advance!

All these network portal login failures should be using
pr_warn_ratelimited() instead of pr_err().

Care to send a patch for that..?

--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux