Displaying 2 results from an estimated 2 matches for "start_port".
Did you mean:
start_popf
2007 Feb 21
3
Mongrel_Cluster PID File Creation Error.
...+ init.rb (working copy)
@@ -24,7 +24,7 @@
}
conf = YAML.load_file(@config_file)
@options.merge! conf if conf
- @pid_file = @options["pid_file"].split(".")
+ @pid_file = @options["pid_file"].split(".pid")
start_port = end_port = @only
start_port ||= @options["port"].to_i
@@ -34,7 +34,7 @@
end
def port_pid_file(port)
- "#{@pid_file[0]}.#{port}.#{@pid_file[1]}"
+ "#{@pid_file}.#{port}.pid"
end
def start
2004 Jan 06
1
[PATCH] possible bug in bindresvport
...in->sin_port = htons(port);
- if ((ret = bind(sd, (struct sockaddr *)&sin, sizeof(*sin))) != -1)
+ if ((ret = bind(sd, (struct sockaddr *)sin, sizeof(*sin))) != -1)
break;
if (port == END_PORT)
port = START_PORT;
mango:~ # strace -f /lib/klibc/bin/nfsmount -o udp,rsize=8192,wsize=8192 192.168.1.2:/nfsroot/mango /mnt
execve("/lib/klibc/bin/nfsmount", ["/lib/klibc/bin/nfsmount", "-o", "udp,rsize=8192,wsize=8192", "192.168.1.2:/nfsroot/mango", "/mnt"...