Announcement

Collapse
No announcement yet.

Error message in file log Queue full and jobQueue.size() = 10000

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Error message in file log Queue full and jobQueue.size() = 10000

    Hi,

    I don't know much about nxfilter and currently I have 2 errors in the logs


    ERROR [05-28 11:59:41] - LogFacade.add2, jobQueue.size() = 10000.

    ERROR [05-28 11:59:41] - RequestQueue.add, java.lang.IllegalStateException: Queue full


    How can I fix this? Could it be due to insufficient disk space?

    I have 2 servers, 1 master and 1 slave, and I can't connect to the master, I keep getting stuck on the authentication screen.


    Thanks in advance

  • #2
    If you have many users, you may have that or if you have an unstable network connection, you also could have it. It's basically, there are too many requests waiting to be processed in the queue. You could have really too many requests from having so many users in the network or NxFilter may have hard time to process all the requests fast enough.

    One solution you could try is to allocate more memory to NxFilter. https://tutorial.nxfilter.org/h-perf...-tuning.php#me

    If it has enough memory and no network issue, it can deal with several thousand users easily.

    Comment


    • #3
      Actually 768m allocated, i can try to increase this value to 2048m and the startup.bat file would look like this ?

      #!/bin/sh
      cd $(dirname $0)
      cd ..
      export NX_HOME=$PWD
      export PATH=$PATH:/usr/bin:/usr/local/bin
      case $1 in
      '-d')
      nohup java -Djava.net.preferIPv4Stack=true -Xmx2048m -Djava.security.egd=file:/dev/./urandom -cp $NX_HOME/nxd.jar:$NX_HOME/lib/*: nxd.Main > /dev/null 2>&1 &
      ;;
      *)
      java -Djava.net.preferIPv4Stack=true -Xmx2048m -Djava.security.egd=file:/dev/./urandom -cp $NX_HOME/nxd.jar:$NX_HOME/lib/*: nxd.Main
      ;;
      esac

      Comment


      • #4
        Yes. It seems to be correct.

        Comment

        Working...
        X