Thanks Cyan,

Good that you mentioned it, but I tried after I've sent the email. Both have the same behavior.

####
sleep 4
exec /usr/local/ns/bin/nsd -it /usr/local/ns/iurix.tcl -u iurix -g web -b 192.199.241.135:80 <http://192.199.241.135:80>
####


Best wishes




On 12-10-2016 13:52, Cyan Ogilvie wrote:
Maybe add -i

Cyan

On Wed, Oct 12, 2016 at 5:59 PM, Iuri Sampaio <i...@iurix.com <mailto:i...@iurix.com>> wrote:

    Hi there,

    In order to get NS to start automatically, I installed daemontools
    (i.e.
    debian server - apt-get install). However, when I start the
    supervisor,
    it starts to boot up hundreds of NS instances until that it eats
    up all
    the memory and crashes the whole server. My intuition tells that
    there's
    a problem with apt-get installation but I'm still digging in. The
    script
    is a simple line as bellow:

    ####
    sleep 4
    exec /usr/local/ns/bin/nsd -t /usr/local/ns/iurix.tcl -u iurix -g
    web -b
    192.199.241.135:80 <http://192.199.241.135:80>
    ####

    How do I setup NS automatically start supervisor correctly?

    Best wishes
    Iuri


    
------------------------------------------------------------------------------
    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
    <mailto:naviserver-devel@lists.sourceforge.net>
    https://lists.sourceforge.net/lists/listinfo/naviserver-devel
    <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

------------------------------------------------------------------------------
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

Reply via email to