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

Re: storagedriver domain limited to 61 "shares" - Xen 4.16.6 pre2


  • To: "J. Roeleveld" <joost@xxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxxx
  • From: Juergen Gross <jgross@xxxxxxxx>
  • Date: Mon, 12 Feb 2024 10:43:56 +0100
  • Authentication-results: smtp-out1.suse.de; dkim=pass header.d=suse.com header.s=susede1 header.b=L0ovszPv
  • Autocrypt: addr=jgross@xxxxxxxx; keydata= xsBNBFOMcBYBCACgGjqjoGvbEouQZw/ToiBg9W98AlM2QHV+iNHsEs7kxWhKMjrioyspZKOB ycWxw3ie3j9uvg9EOB3aN4xiTv4qbnGiTr3oJhkB1gsb6ToJQZ8uxGq2kaV2KL9650I1SJve dYm8Of8Zd621lSmoKOwlNClALZNew72NjJLEzTalU1OdT7/i1TXkH09XSSI8mEQ/ouNcMvIJ NwQpd369y9bfIhWUiVXEK7MlRgUG6MvIj6Y3Am/BBLUVbDa4+gmzDC9ezlZkTZG2t14zWPvx XP3FAp2pkW0xqG7/377qptDmrk42GlSKN4z76ELnLxussxc7I2hx18NUcbP8+uty4bMxABEB AAHNH0p1ZXJnZW4gR3Jvc3MgPGpncm9zc0BzdXNlLmNvbT7CwHkEEwECACMFAlOMcK8CGwMH CwkIBwMCAQYVCAIJCgsEFgIDAQIeAQIXgAAKCRCw3p3WKL8TL8eZB/9G0juS/kDY9LhEXseh mE9U+iA1VsLhgDqVbsOtZ/S14LRFHczNd/Lqkn7souCSoyWsBs3/wO+OjPvxf7m+Ef+sMtr0 G5lCWEWa9wa0IXx5HRPW/ScL+e4AVUbL7rurYMfwCzco+7TfjhMEOkC+va5gzi1KrErgNRHH kg3PhlnRY0Udyqx++UYkAsN4TQuEhNN32MvN0Np3WlBJOgKcuXpIElmMM5f1BBzJSKBkW0Jc Wy3h2Wy912vHKpPV/Xv7ZwVJ27v7KcuZcErtptDevAljxJtE7aJG6WiBzm+v9EswyWxwMCIO RoVBYuiocc51872tRGywc03xaQydB+9R7BHPzsBNBFOMcBYBCADLMfoA44MwGOB9YT1V4KCy vAfd7E0BTfaAurbG+Olacciz3yd09QOmejFZC6AnoykydyvTFLAWYcSCdISMr88COmmCbJzn sHAogjexXiif6ANUUlHpjxlHCCcELmZUzomNDnEOTxZFeWMTFF9Rf2k2F0Tl4E5kmsNGgtSa aMO0rNZoOEiD/7UfPP3dfh8JCQ1VtUUsQtT1sxos8Eb/HmriJhnaTZ7Hp3jtgTVkV0ybpgFg w6WMaRkrBh17mV0z2ajjmabB7SJxcouSkR0hcpNl4oM74d2/VqoW4BxxxOD1FcNCObCELfIS auZx+XT6s+CE7Qi/c44ibBMR7hyjdzWbABEBAAHCwF8EGAECAAkFAlOMcBYCGwwACgkQsN6d 1ii/Ey9D+Af/WFr3q+bg/8v5tCknCtn92d5lyYTBNt7xgWzDZX8G6/pngzKyWfedArllp0Pn fgIXtMNV+3t8Li1Tg843EXkP7+2+CQ98MB8XvvPLYAfW8nNDV85TyVgWlldNcgdv7nn1Sq8g HwB2BHdIAkYce3hEoDQXt/mKlgEGsLpzJcnLKimtPXQQy9TxUaLBe9PInPd+Ohix0XOlY+Uk QFEx50Ki3rSDl2Zt2tnkNYKUCvTJq7jvOlaPd6d/W0tZqpyy7KVay+K4aMobDsodB3dvEAs6 ScCnh03dDAFgIq5nsB11j3KPKdVoPlfucX2c7kGNH+LUMbzqV6beIENfNexkOfxHfw==
  • Delivery-date: Mon, 12 Feb 2024 09:44:16 +0000
  • List-id: Xen user discussion <xen-users.lists.xenproject.org>

On 12.02.24 10:22, J. Roeleveld wrote:
On Monday, February 12, 2024 7:40:39 AM CET Juergen Gross wrote:
On 11.02.24 17:21, J. Roeleveld wrote:

Hi all,

I am running into an issue with my storagedomain.
I have the HBAs assigned to the domain,
Added "driver_domain=1" to the config.

And am accessing filesystems on this domain from other domains.

This works as expected.

However, I am only able to assign 61 filesystems to other domains. As soon
as I
  attempt to assign a 62nd filesystem, it fails.

I am completely at a loss where this limit of 61 is coming from and am
unable
  to find anything with over 2 days of google searches.

I also noticed that "xl devd" isn't actually running on my storagedomain
anymore. It used to run in a previous version, but as the whole
environment
  was booting succesfully I never bothered to keep checking.

I do remember that it was running in the past. Currently, I think the
init- script is stopping because "/proc/xen/capabilities" is empty.

Please let me know which config-files are needed to troubleshoot this.


My first guess would be that the driver domain is limited by the max number
of Xenstore nodes it is allowed to own.

You can raise the default of 1000 nodes per domain (how to do that depends
on the Xenstore type you are running, xenstored or oxenstored).

Hi Juergen,

I just tested with -E set to 15000 (15k) but am still seeing the same issue.

On the storagedomain, I see the following in dmesg:
===
[58855.383841] vbd vbd-16-51729: 7 adding watch on /local/domain/16/device/
vbd/51729/state
[58855.384545] vbd vbd-16-51729: xenbus: watch_otherend on backend/vbd/
16/51729 failed.
[58855.384548] vbd: probe of vbd-16-51729 failed with error -7
===

followed by several like:
===
[58855.407134] vbd vbd-16-51730: 7 adding watch on backend/vbd/16/51730/
physical-device
[58855.408205] xen-blkback: xen_blkbk_probe failed
[58855.408242] vbd vbd-16-51730: 7 xenbus_dev_probe on backend/vbd/16/51730
[58855.408405] vbd: probe of vbd-16-51730 failed with error -7
===

The part "adding watch" makes me wonder about the option:
-W, --watch-nb <nb>     limit the number of watches per domain,

From the code, I find the default is 128. Is there any way to find out how many
are currently set on my system and what a good amount would be?

Oh, the relevant pieces have been backported due to several XSAs for
Xenstore.

You should be able to issue:

xenstore-control quota

For showing the current settings and

xenstore-control quota set watches 256

for changing the current quota value for watches. Same should work for
other quota.

xenstore-control quota <domid>

shows the current number of used up resources of a specific domain.

I am considering trying 256 for this.
Is there anything I need to be aware off before making this change?

Using above commands: no.


Juergen

Attachment: OpenPGP_0xB0DE9DD628BF132F.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.