[pve-devel] iscsi, some hang : pvestatd always do iscsi_session_rescan

Dietmar Maurer dietmar at proxmox.com
Fri Apr 27 10:12:46 CEST 2012


> I check more deeply,
> the main problem seem to be that iscsiadm have a long timeout.

Well, I think the problem is that you iscsi server is slow.

> (In fact the iscsi timeout, so it can be huge in some config with iscsi failover,
> or if a path fail).
> 
> Maybe can we implemented some kind of "kill process iscsiadm" if it take too
> much time ?
> 
> 
> I see that "timelimit" package exist in debian, "timelimit  /usr/bin/iscsiadm/
> ...."
> 
> maybe this can add some protections to iscsiadm command?

Forcing a timeout is easy (we have a timeout parameter for run_command()).

The question is what timeout do you want?

- Dietmar


More information about the pve-devel mailing list