Announcement

Collapse
No announcement yet.

Darkplaces on Linux - niceness

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

  • Darkplaces on Linux - niceness

    Does anyone know what value the darkplaces dedicated server tries to set for niceness?

    Output in server console:

    Code:
    Current nice level is below the soft limit - cannot use niceness
    It seems OK but I've only had 3 people on it so far. There's a bit of a bug with ulimits in Slackware so the only way to change the soft limit would be edit a file and then reboot, as far as I know anyway. Still looking into that.

    -r0t.uk- cOOp - Mapvote - r0t.uk:26001
    -r0t.uk- DM - Mapvote - r0t.uk:26000

  • #2
    If you need someone to run around the server making noise and blowin shit up,I'm 1 of your guys. but we'll need an IP etc to hop on and cause some ruckus!
    Want to get into playing Quake again? Click here for the Multiplayer-Startup kit! laissez bon temps rouler!

    Comment


    • #3
      It's up at r0t.co.uk:26000 at the moment. Might move it, but it's easier to test there.

      I started on nightmare level and left it 3 or 4 maps in.

      -r0t.uk- cOOp - Mapvote - r0t.uk:26001
      -r0t.uk- DM - Mapvote - r0t.uk:26000

      Comment


      • #4
        On my way to blast some baddies before bedtime

        PS~Darkplaces!
        Want to get into playing Quake again? Click here for the Multiplayer-Startup kit! laissez bon temps rouler!

        Comment


        • #5
          Incidentally, in case anyone else if looking for this, it was solved by the following:

          Add:

          ALL /home/david/quake/darkplaces-linux-x86_64-dedicated nice=29
          max_rt=-1
          max_mlock=-1

          to /etc/set_rlimits.conf

          and then use

          set_rlimits darkplaces-linux-x86_64-dedicated [etc...]

          in the startup script.

          -r0t.uk- cOOp - Mapvote - r0t.uk:26001
          -r0t.uk- DM - Mapvote - r0t.uk:26000

          Comment


          • #6
            Ah i never saw this post! Nice fix!

            Comment


            • #7
              Why bother setting it to 29?
              Not only is it out of range,but is so low as to reduce CPU time to nothing even if it was.
              Last edited by bluntz; 09-10-2014, 06:36 PM.
              WARNING
              May be too intense for some viewers.
              Stress Relief Device
              ....BANG HEAD HERE....
              ---------------------------
              .
              .
              .
              .
              .--------------------------

              Comment


              • #8
                Originally posted by bluntz View Post
                Why bother setting it to 29?
                Not only is it out of range,but is so low as to reduce CPU time to nothing.
                It's a different scale to normal nice or renice command. (I've no idea why set_rtlimits does it that way). 29 is -10.

                -r0t.uk- cOOp - Mapvote - r0t.uk:26001
                -r0t.uk- DM - Mapvote - r0t.uk:26000

                Comment

                Working...
                X