Re: publicfile on OpenBSD

David Benfell <[email protected]> Mon, 22 Apr 2002 22:34:03 -0700
Newsgroups gmane.comp.djb.publicfile
Message-ID <[email protected]>
On Mon, 22 Apr 2002 16:00:27 -0400, Paul Jarc wrote:
> 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.
> 
That worked.  Thanks!

Is there any shortcut to finding out how much memory it actually
needs?

-- 
David Benfell
[email protected]
---
There's an old proverb that says just about whatever you want it to.
                                [from fortune]
signature.asc (application/pgp-signature, 524 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iQEXAwUBPMTyS3w5zqzgtjVOFAN0xQP9EqzbBi8B/euY1BDWFZ4GEZ5V8JGrGlV/
K7kWjTiPCX5uHpVGA9c4EyF34c6EcS0jsPHRhEtPdlQUYW8RbfymS8aTdck3g01J
Ya63ako77HBEPx0jqevJIn0fC3vmzDdWocpxFdCH6u3hwebIy6NpXf7fwmYPtr8g
orc80N0WBA4EAIFnuEr1Gh7uZ8rHGDhCdz19KEmG5PDRAMSIzSyDKF6fKypWgu2s
Xu+NUK3RFjQ5KBaD4QBN6UDf0qld7dvUGL7ftc6NJWmzNQXVY3yhyQdv3NfWC/MA
qyKKXfhPSeRKeS/zNI9lNs50REEbFKRqufMcwzUeYgyCLeCQiwas9vZp
=/gE3
-----END PGP SIGNATURE-----