From: Ben B. <tek...@ya...> - 2017-07-14 00:21:27
|
ps. Some more diagnostics. This is in a VPS, FreeBSD jails environment. # ulimit -n 3771540 On 07/13/2017 04:26 PM, Ben Brink via naviserver-devel wrote: > 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 > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-devel |