Hi there,
This wad allows the use of p5p files as mirrors/origins on systems that
have non-global zones.
While waiting for legal approval to bundle mod_wsgi in Solaris, we've
done an internal code review of these bits, but I'm posting it here all
the same. I don't believe it warrants a full re-review, but comments
are welcome on:
https://cr.opensolaris.org/action/browse/pkg/timf/sysrepo-p5p/sysrepo-p5p-pkg-webrev-v4
Since the code was reviewed internally, the only changes are:
* we now depend on the final package name for mod_wsgi
* I've added a fix to the wsgi application when serving catalog parts:
we were still extracting the catalog from the p5p file for every catalog
request, despite having pre-cached the catalog parts available, which
was bad.
* I've bumped the number of threads we use with mod_wsgi to 21 - we may
want to auto-tune this later
I ran a stress test of these bits today. I created with six empty user
images on an x4150.
Using a system-repository instance on that machine, I configured it to
proxy access to a single 6.5gb p5p file containing an entire Solaris
repository (which is probably overkill: I wouldn't expect to see p5p
archives that size in the real world)
I ran one pkg(1) instance per image, all installing
'solaris-large-server' at the same time through the system repository.
The requests/responses to the mod_wsgi app aren't cached by Apache's
proxy cache, so these requests were entirely dealt with by the mod_wsgi app.
Despite being slower than the equivalent file-based repository installs,
we never hit any of the default low-speed timeouts that pkg(1) enforces,
the downloads completed for all clients, and we didn't get errors in the
server-side logs.
I'll wait till wos build 16 is available (which contains mod_wsgi)
before putting back, assuming everyone's still okay with the changes.
Alta, there's a small man-page change included here, and a removal of
some text from the dev guide (removing the text documenting the
restriction of p5p files + zones)
cheers,
tim
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss