Re: tgtd memory usage

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

 



Neil Skrypuch wrote:
To the original poster: more likely you ran out of file descriptors and the error message is just deceptive. The default per process fd limit is 1024 (2 fds per thread = ~500). Try ulimit -n 20000, then restart tgtd in the same shell.

I wasn't sure to follow on the "2 fds per thread" part of your comment, specifically, it looks like in tgt the number of fds grows by one per non controller lun. So the over number of fds used is a constant number opened either on init or when the first target/lun are defined, and then another one per lun. This could be easily seen/verified using "lsof -p PID" with PID being the tgtd process-id

Or.
--
To unsubscribe from this list: send the line "unsubscribe stgt" 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]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux