publicfile on OpenBSD

David Benfell <[email protected]> Mon, 22 Apr 2002 12:54:10 -0700
Newsgroups gmane.comp.djb.publicfile
Message-ID <[email protected]>
Hello all,

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.

I tried that.  The run file now looks like:

#!/bin/sh
exec 2>&1
exec envuidgid ftp softlimit -o20 -d100000 tcpserver -vDRHl0 -b50 -c100 0 80 /usr/local/publicfile/bin/httpd /public/file

And still no joy.  If I recall correctly, the installation put in
-d30000, so I've more than tripled the available memory allocation.

Has anyone succeeded with this?

-- 
David Benfell, LCP
[email protected]
---
Resume available at http://www.parts-unknown.org/resume.html
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

iQEXAwUBPMRqYnw5zqzgtjVOFAPliQP/VaDNdjgu7o3R8EyJNsZRWGP/2sCuhRyg
W8OcXhd4UHJuWbDWhDKnQoMwejzQpSaPYvTP1auqBgpS/iC9LSL7UoYYhhZpYU6s
RmaE4JKbD/c0jiv5BX2bUPBjksdfM4A0zQE070hyevpN4Ugn2Un/ddO77P3tkA6N
Sby4/uGcJNgD/0HK+Ql8Mch9npMK072e32TXOeAE8R4lk+CKbnsEpZfBTHREF6bV
T9IV0Hmb1vAYV5Pe1+EZY98an2pwtu0P4duFRMq8MqkPTj1oTbe9xL89ENkT4jIn
zS9mJz6mPquOzIHZwEXozptkDJpXNY1Q4SFZjdwik1FJoqQzyvdNP6vt
=BEnQ
-----END PGP SIGNATURE-----