[pca] new --threads config
Greg Matthews
gmatt at nerc.ac.uk
Fri May 9 13:04:51 CEST 2008
Martin Paul wrote:
> Greg Matthews wrote:
> Any instance of pca-proxy.cgi will always download a single patch from
> SunSolve, so threads within pca-proxy.cgi won't speed up anything.
ok
> What you *can* do is to use threads on the pca client. This will cause
> multiple instances of pca-proxy.cgi to be spawned, which will result in
> parallel downloads from SunSolve (unless the patches are at the proxy
> already, of course).
which I have tested and works well.
>> [Thu May 08 15:27:02 2008] [error] [client a.b.c.d] Undefined
>> subroutine &main::share called at /var/www/cgi-bin/pca-proxy.cgi line
>> 215.
>> [Thu May 08 15:27:02 2008] [error] [client a.b.c.d] Premature end of
>> script headers: pca-proxy.cgi
>
> It's a stupid bug in the threads code; I still wonder how this could
> slip through. It shows up when a certain combination of options (threads
> being one of them ) is used with pca (normal or proxy mode). It's fixed
> now in the current development release of pca. Anybody using threads and
> seeing the above error should use that version.
ok, thanks for the explanation. Its a great util.
GREG
>
> Thanks for the report!
>
> Martin.
>
>
--
Greg Matthews 01491 692445
Head of UNIX/Linux, iTSS Wallingford
--
This message (and any attachments) is for the recipient only. NERC
is subject to the Freedom of Information Act 2000 and the contents
of this email and any reply you make may be disclosed by NERC unless
it is exempt from release under the Act. Any material supplied to
NERC may be stored in an electronic records management system.
More information about the pca
mailing list