Re: publicfile on OpenBSD

[email protected] (Paul Jarc) Mon, 22 Apr 2002 16:00:27 -0400
Newsgroups gmane.comp.djb.publicfile
Organization What did you have in mind? A short, blunt, human pyramid?
Message-ID <[email protected]>
David Benfell <[email protected]> wrote:
> I have installed publicfile (unpatched) on an OpenBSD 3.0 system.  I
> tried starting it, but all I get are "/usr/libexec/ld.so: tcpserver:
> libc.so.28.0: Cannot allocate memory" errors, repeated every second.
>
> Looking on the web, I saw a bug report filed with OpenBSD on this
> issue, to which they responded by saying to raise the softlimit.

You could remove the -d option completely.  Then if you still get this
error, it means either you really don't have enough memory, or there
is a limit being set earlier.  If it works without -d, you could try
to find a value that works, or you could do without it.  The risk with
that is that *if* there is an exploit of some kind in publicfile, then
an attacker might be able to use all your memory.


paul