Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 432 for proc (0.11 sec)

  1. src/os/signal/signal_plan9_test.go

    			t.Fatalf("unexpected signal %v", s)
    		case <-time.After(100 * time.Millisecond):
    			// nothing to read - good
    		}
    	}
    }
    
    func postNote(pid int, note string) error {
    	f, err := os.OpenFile("/proc/"+itoa.Itoa(pid)+"/note", os.O_WRONLY, 0)
    	if err != nil {
    		return err
    	}
    	defer f.Close()
    	_, err = f.Write([]byte(note))
    	return err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Mar 14 17:56:50 UTC 2021
    - 3.6K bytes
    - Viewed (0)
  2. src/runtime/race/output_test.go

          .*_cgo_gotypes\.go:[0-9]+ \+0x[0-9,a-f]+
      _cgoexp_[0-9a-z]+_goCallback\(\)
          <autogenerated>:1 \+0x[0-9,a-f]+
    
    Goroutine [0-9] \(running\) created at:
      runtime\.newextram\(\)
          .*/runtime/proc.go:[0-9]+ \+0x[0-9,a-f]+
    ==================`,
    		`==================
    WARNING: DATA RACE
    Read at 0x[0-9,a-f]+ by .*:
      main\..*
          .*/main\.go:[0-9]+ \+0x[0-9,a-f]+(?s).*
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 25 20:44:25 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  3. src/os/pidfd_linux.go

    // execution environment in which the above system calls are restricted by
    // seccomp or a similar technology.
    func checkPidfd() error {
    	// Get a pidfd of the current process (opening of "/proc/self" won't
    	// work for waitid).
    	fd, err := unix.PidFDOpen(syscall.Getpid(), 0)
    	if err != nil {
    		return NewSyscallError("pidfd_open", err)
    	}
    	defer syscall.Close(int(fd))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 18:08:44 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. src/cmd/trace/goroutinegen.go

    }
    
    func (g *goroutineGenerator) ProcRange(ctx *traceContext, ev *trace.Event) {
    	// TODO(mknyszek): Extend procRangeGenerator to support rendering proc ranges
    	// that overlap with a goroutine's execution.
    }
    
    func (g *goroutineGenerator) ProcTransition(ctx *traceContext, ev *trace.Event) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. cmd/kube-proxy/app/conntrack.go

    		logger.Info("Set sysctl", "entry", entry, "value", value)
    		if err := sys.SetSysctl(entry, value); err != nil {
    			return err
    		}
    	}
    	return nil
    }
    
    // isSysFSWritable checks /proc/mounts to see whether sysfs is 'rw' or not.
    func (rct realConntracker) isSysFSWritable(ctx context.Context) (bool, error) {
    	logger := klog.FromContext(ctx)
    	const permWritable = "rw"
    	const sysfsDevice = "sysfs"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/inittask.go

    	ldr := ctxt.loader
    	if ldr.Lookup("runtime.runtime_inittasks", 0) != 0 {
    		t := ctxt.inittaskSym([]string{"runtime..inittask"}, "go:runtime.inittasks")
    
    		// This slice header is already defined in runtime/proc.go, so we update it here with new contents.
    		sh := ldr.Lookup("runtime.runtime_inittasks", 0)
    		sb := ldr.MakeSymbolUpdater(sh)
    		sb.SetSize(0)
    		sb.SetType(sym.SNOPTRDATA) // Could be SRODATA, but see issue 58857.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 20:09:45 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. src/packaging/deb/init.d/fess

    	fi
    
    	if [ -n "$MAX_OPEN_FILES" ]; then
    		ulimit -n $MAX_OPEN_FILES
    	fi
    
    	if [ -n "$MAX_LOCKED_MEMORY" ]; then
    		ulimit -l $MAX_LOCKED_MEMORY
    	fi
    
    	if [ -n "$MAX_MAP_COUNT" -a -f /proc/sys/vm/max_map_count ]; then
    		sysctl -q -w vm.max_map_count=$MAX_MAP_COUNT
    	fi
    
    	# Start Daemon
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  8. src/sync/mutex_test.go

    				<-c
    			}
    		}
    	})
    }
    
    func BenchmarkMutexSpin(b *testing.B) {
    	// This benchmark models a situation where spinning in the mutex should be
    	// profitable. To achieve this we create a goroutine per-proc.
    	// These goroutines access considerable amount of local data so that
    	// unnecessary rescheduling is penalized by cache misses.
    	var m Mutex
    	var acc0, acc1 uint64
    	b.RunParallel(func(pb *testing.PB) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 16 21:25:35 UTC 2022
    - 5.9K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/optimizing-performance/file_system_watching.adoc

    File system watching uses one inotify watch per watched directory.
    You can see the current limit of inotify watches per user by running:
    
    [source,bash]
    ----
    cat /proc/sys/fs/inotify/max_user_watches
    ----
    
    To increase the limit to e.g. 512K watches run the following:
    
    [source,bash]
    ----
    echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf
    ----
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 26 16:37:56 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/server.go

    		return nil, fmt.Errorf("error initializing the host rules for health checks: %w", err)
    	}
    
    	podNetns := NewPodNetnsProcFinder(os.DirFS(filepath.Join(pconstants.HostMountsPath, "proc")))
    	netServer := newNetServer(ztunnelServer, podNsMap, iptablesConfigurator, podNetns, set)
    
    	// Set some defaults
    	s := &Server{
    		ctx:        ctx,
    		kubeClient: client,
    		isReady:    ready,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:18 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top