Hi Gustaf,
Thank you for clarification.
Restarted nsd with debug and dev true in config.tcl file. No other changes.
Today, no errors reported. nsd did not quit.
Old faithful is a fun place to visit.
cheers,
Ben
On 07/14/2017 09:34 AM, Gustaf Neumann wrote:
just a short message, i am on the road... the tip version of NaviServer
fails, when startup is erroneous, so the problem you are seeing might be
a consequence of an incorrect configuration of nsimap or of a jail
problem in nsimap (if this is the case, then yes, an error message is
missing).
The warning about FD_SETSIZE is just a warning, that one should not use
select() on that machine, when more than 1024 file descriptors are in
use (don't use e.g. async Tcl I/O).
greetings from old faithful
-g
Am 14.07.17 um 1:26 AM schrieb Ben Brink via naviserver-devel:
Hi,
Naviserver runs okay so far (nsimap untested) on Ubuntu 16.04 lts.
In FreeBSD, nsd quits. Details are below.
An old aolserver4 recommendation for FreeBSD seems to keep nsd running.
This is probably not a preferred solution.
Add this line to the start up script before invoking nsd:
ulimit -n 1024
Other suggestions for solution welcome.
Here are error details, on startup of nsd with nsimap configured and
enabled:
# grep -i nsimap /var/www/oacs-HEAD/log/error.log
[13/Jul/2017:22:42:54][25812.802c06400][-main-] Notice: modload:
loading module nsimap from file /usr/local/nsx/bin/nsimap.so
[13/Jul/2017:22:42:54][25812.802c06400][-main-] Notice: nsimap module
version 3.4 server: oacs-HEAD
# Only warning was in early start up:
[13/Jul/2017:22:42:54][25812.802c06400][-main-] Notice: nsmain:
NaviServer/4.99.16d8 starting
[13/Jul/2017:22:42:54][25812.802c06400][-main-] Notice: nsmain:
security info: uid=820, euid=820, gid=820, egid=820
[13/Jul/2017:22:42:54][25812.802c06400][-main-] Notice: nsmain: Tcl
version: 8.5.19
[13/Jul/2017:22:42:54][25812.802c06400][-main-] Notice: nsmain: max
files: soft limit 3771540, hard limit 3771540
[13/Jul/2017:22:42:54][25812.802c06400][-main-] Warning: nsmain:
rl_cur (3771540) > FD_SETSIZE (1024), select() calls should not be used
[13/Jul/2017:22:42:54][25812.802c06400][-main-] Notice: pool default:
queueLength 90 low water 9 high water 90
# tail /var/www/oacs-HEAD/log/error.log
[13/Jul/2017:22:42:58][25812.802c06400][-main-] Notice: QD=Postload
files to load from tcl:
[13/Jul/2017:22:42:58][25812.802c07c00][-driver:nssock_v4:0-] Notice:
starting
[13/Jul/2017:22:42:58][25812.802c07c00][-driver:nssock_v4:0-] Notice:
nssock_v4:0: listening on [188.227.186.70]:8000
[13/Jul/2017:22:42:58][25812.802c07c00][-driver:nssock_v4:0-] Notice:
driver: accepting connections
[13/Jul/2017:22:42:58][25812.802c06400][-main-] Notice: nsmain:
NaviServer/4.99.16d8 running
[13/Jul/2017:22:42:58][25812.802c06400][-main-] Notice: nsmain:
security info: uid=820, euid=820, gid=820, egid=820
[13/Jul/2017:22:42:58][25812.809c21400][-writer1-] Notice: writer1:
accepting connections
[13/Jul/2017:22:42:58][25812.802c06400][-main-] Fatal: nsmain: can't
communicate with parent process, nwrite -1, error: Broken pipe (parent
process was probably killed)
[13/Jul/2017:22:42:58][25812.809c21800][-writer0-] Notice: writer0:
accepting connections
[13/Jul/2017:22:42:58][25812.802c06c00][-sched-] Notice: sched: starting
cheers,
Ben
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel