home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.ncftp.com
/
ftp.ncftp.com.zip
/
ftp.ncftp.com
/
ncftpd
/
end_of_life
/
ncftpd-2.8.7-freebsd3.5.1-i386-export.tar.gz
/
ncftpd-2.8.7-freebsd3.5.1-i386-export.tar
/
ncftpd-2.8.7
/
README.freebsd
< prev
Wrap
Text File
|
2011-01-17
|
2KB
|
48 lines
For FreeBSD 3.x, 4.x, and 5.x, the SYSVSHM is enabled and SHMMAXPGS is 1024,
you shouldn't need to change anything in your kernel configuration.
Unless you're running FreeBSD 2.x, you do not need to read the rest of this
document.
**********************************************************************
**********************************************************************
NcFTPd requires shared memory support in the kernel.
The FreeBSD 2.2.4 (and older) factory default kernel does not have that
compiled in. If you want to use NcFTPd you will have to build a kernel
that does have it.
For FreeBSD 2.x, you will need to inrease SHMMAXPGS from the default of
"SHMMAXPGS=64" unless you are running 50 or less NcFTPd users. If you run
more than that, you need to increase that to roughly 1 page per user.
A value of "SHMMAXPGS=384" should suffice for almost all systems. As of
this writing, FreeBSD 2.2.5 has SYSVSHM enabled now, but the SHMMAXPGS is
too low still.
**********************************************************************
**********************************************************************
From http://www.freebsd.org/FAQ/FAQ119.html#119 :
7.5. Does FreeBSD support System V IPC primitives?
Yes, FreeBSD supports System V-style IPC. This includes shared memory,
messages and semaphores. You need to add the following lines to your kernel
config to enable them.
options SYSVSHM
options "SHMMAXPGS=64" # 256Kb of sharable memory
options SYSVSEM # enable for semaphores
options SYSVMSG # enable for messaging
Recompile and install.
NOTE: You may need to increase SHMMAXPGS to some ridiculous number like
4096 (16M!) if you want to run GIMP. 256Kb is plenty for X11R6 shared memory.
**********************************************************************
**********************************************************************
See The Handbook (http://www.freebsd.org/handbook/handbook.html) for more
information on how to rebuild the kernel.