> > > ucomp :
> > >    Error at line 0  : memory exhausted at 65536 Kbytes; try increasing
> > > swap space or the maxdsiz kernel parameter (8203)
> > > *** Error exit code 254
> > >
> > It's not an openssl bug and you simply should take the ucomp's advice
> > literally and increase maxdsiz kernel parameter.
> 
> Do you really mean that when building openssl from object code
> at the size of 5 MB it actually needs over 65 MB to be linked??
I think only HP can answer this question:-) I mean what's *actually
needed* to link it. I just want to point out here that we're talking
*virtual* memory here, not working set and not even resident working
set...
> ...
> > Another alternative is to drop optimization level...
> 
> I've already tried removing _all_ optimization. It still goes over the
> top...
As far as I understand noone in the devopment team has an access to
HP-UX box and support for HP-UX is a result of feedback provided by the
users. As dropping optimization level helped another user (he reported
he managed fine with +O2), but not you, I'm puzzled... The only
explanation I can think of now is that the other user had maxdsiz high
enough to get through with lower optimization level, but not high enough
to get +O4 through. Therefore I really appreciate if you could share
*further* experience with [EMAIL PROTECTED], i.e. write about
which maxdsiz values you've tried and how did it go.
> 
> But I will try increasing the size, but I'm kind of stumbled if openssl
> actually needs more than 65 MB to be linked.
Can it be that ucomp uses mmap and kernel starts mmaping files close
enough to the 64MB edge to hit the boundary when ucomp asks to mmap yet
another .o module? Can it be that increasing maxdsiz also increases this
mmap pool? There might even be a kernel parameter which tells where in
the maxdsiz files are to be mmaped to... Could one change that parameter
instead? I don't know as I'm not an HP-UX kind of guy:-) What I'm trying
to say is that you probably don't need even to allocate 64MB of memory
in order to hit the maxdsiz limit.

A lot of thanks in advance. Andy.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to