Ron Ridley

Forum Replies Created

Viewing 5 replies – 1 through 5 (of 5 total)
  • Author
    Replies
  • in reply to: TCP/IP connection stuck open in Linux OS #75790
    Ron Ridley
    Participant

      If you want a command, try lsof and grep for the port you see it connected to.

      #lsof | grep 10158

      hciengine 917628

      in reply to: hcimonitord Virtual Memory too full error #74466
      Ron Ridley
      Participant

        What is the output of either ‘free’ or ‘vmstat’?

        in reply to: Subtracting one minute #74129
        Ron Ridley
        Participant

          Have you tried passing in -format $format in your clock scan call?

          Code:


          set time [clock format [clock scan “-1 minute” -base [clock scan $time -format $format]] -format $format]

          in reply to: open file limits on RedHat #73732
          Ron Ridley
          Participant

            To see if it is a kernel mis-reporting values or if it is an issue with CL reading the ulimit changes, can you recreate the opening of more than 1024 files with another application?

            Here’s an example using python:

            import os

            f = {}

            #create a lot of files and open them

            for x in range(1050):

               f[x] = open(‘%s’ % x, ‘w’)

            # Close the open files

            for x in range(1050):

               f[x].close()

            # Remove created files

            for x in iter(f):

               os.unlink(x)

            in reply to: open file limits on RedHat #73727
            Ron Ridley
            Participant

              Besides checking your ulimit for those users:

              ulimit -n

              Try also checking your sysctl settings:

              sysctl fs.nr_open

              sysctl fs.file-max

              Do any of the above values seem to be at that 1024 file limit?

            Viewing 5 replies – 1 through 5 (of 5 total)