Error starting DevSvr



  • Hi,

    I upgrade my NSM to communicate with SRS (both 2007.1). Both server run on dedicated machines. If I start (or restart) NSM the guiSvr starts without problems, but the devSvr with these problem:

    # /usr/netscreen/DevSvr/bin/devSvr.sh restart
    Stopping apps...
    Stopped devSvrLogWalker (pid 17926)       Stopped devSvrDataCollector (pid 18067)                                                             Stopped devSvrProfilerMgr (pid 18631)     Stopped devSvrDbSvr (pid 17650)                                                                     Stopped devSvrStatusMonitor (pid 18899)   Starting apps...
    Starting devSvrDbSvr...............................OK
    Starting devSvrManager.............................OK
    Starting devSvrLogWalker...........................OK
    Starting devSvrDataCollector...................Error occurred during initialization of VM
    Could not reserve enough space for object heap
    failed
    Starting devSvrDirectiveHandler....................OK
    Starting devSvrProfilerMgr.........................OK
    Starting devSvrStatusMonitor.......................OK
    #
    

    I can connect with NSM-Gui, but cannot add a new Device. The manager ended after receiving the SSH-Key.
    NSM runs on centos 5.0 with 2 GB RAM on a HP DL360.

    Can anybody help me?



  • OK,

    I think I found the problem. In file /usr/netscreen/DevSvr/bin/.devSvrDataCollector there’s the function

    if [ -f /etc/redhat-release ]
    then
            JAVA_MAXMEM="-Xmx170000000"
    else
            JAVA_MAXMEM="-Xmx160000000"
    fi
    
    

    I changed the value in -Xmx17000000 and Xmx16000000.
    At moment he startet without problems.


 

21
Online

38.4k
Users

12.7k
Topics

44.5k
Posts