search for: getpid

Displaying 20 results from an estimated 466 matches for "getpid".

Did you mean: getppid
2004 Feb 24
4
Pam trouble
...= 15 [16] 29964: fork1() = 29981 29964: lwp_schedctl(SC_STATE|SC_PREEMPT, 0, 0xFFBFF7AC) = 0 29964: close(16) = 0 29981: fork1() (returning as child ...) = 29964 29981: getpid() = 29981 [29964] 29981: close(15) = 0 29981: lwp_schedctl(SC_STATE|SC_PREEMPT, 0, 0xFFBFF4A4) = 0 29981: open("/etc/pam_debug", O_RDONLY) Err#2 ENOENT 29981: stat64("/etc/pam.conf",...
2002 Feb 22
0
Trouble with Samba 2.2.2 under HPUX (high cpu utilization)
...uot;.., 51, 0) .... = 51 select(21, 0x68ff07c8, NULL, NULL, 0x68ff08cc) ........... = 1 read(12, "\0\0\b@ ", 4) .................................. = 4 read(12, "ffS M B / \0\0\0\018\a\b\0\0\0\0".., 2112) ..... = 2112 gettimeofday(0x4009ff80, NULL) ........................... = 0 getpid() ................................................. = 16906 (26051) getpid() ................................................. = 16906 (26051) lstat("/tmp/.winbindd", 0x68ff21b8) ...................... ERR#2 ENOENT getpid() ................................................. = 16906 (26051)...
2006 Oct 17
0
[PATCH] misc compile fixes for tools on Solaris
...for domain-%d", dom->domid); diff --git a/tools/console/daemon/utils.c b/tools/console/daemon/utils.c --- a/tools/console/daemon/utils.c +++ b/tools/console/daemon/utils.c @@ -95,7 +95,7 @@ void daemonize(const char *pidfile) exit(1); } - len = sprintf(buf, "%d\n", getpid()); + len = sprintf(buf, "%ld\n", (long)getpid()); if (write(fd, buf, len) < 0) exit(1); diff --git a/tools/ioemu/vl.c b/tools/ioemu/vl.c --- a/tools/ioemu/vl.c +++ b/tools/ioemu/vl.c @@ -3028,7 +3028,7 @@ void net_slirp_smb(const char *exported_ } /* XXX: better tmp...
2003 Oct 15
1
rsync freezes on solaris
...ot; ?\0\0\b r s y n c : c".., 67) Err#32 EPIPE Received signal #13, SIGPIPE [ignored] write(2, " r s y n c : w r i t e".., 81) Err#32 EPIPE Received signal #13, SIGPIPE [ignored] sigaction(SIGUSR1, 0xFFBEDAF8, 0xFFBEDB78) = 0 sigaction(SIGUSR2, 0xFFBEDAF8, 0xFFBEDB78) = 0 getpid() = 7970 [7969] Received signal #18, SIGCLD [caught] siginfo: SIGCLD CLD_EXITED pid=7971 status=0x000C waitid(P_ALL, 0, 0xFFBED6D8, WEXITED|WTRAPPED|WNOHANG) = 0 waitid(P_ALL, 0, 0xFFBED6D8, WEXITED|WTRAPPED|WNOHANG) Err#10 ECHILD setcontext(0xFFBED890) kill(7971, SIGUSR1) Err#3 ES...
2017 Jan 26
1
[PATCH] Use srandom (time (NULL) + getpid ()) throughout.
...clude <libintl.h> +#include <sys/types.h> #include <sys/time.h> #include <sys/stat.h> #include <utime.h> @@ -103,7 +104,7 @@ main (int argc, char *argv[]) textdomain (PACKAGE); /* We use random(3) below. */ - srandom (time (NULL)); + srandom (time (NULL) + getpid ()); enum { HELP_OPTION = CHAR_MAX + 1 }; diff --git a/fish/fish.c b/fish/fish.c index b7d63cf..52a9093 100644 --- a/fish/fish.c +++ b/fish/fish.c @@ -181,7 +181,7 @@ main (int argc, char *argv[]) textdomain (PACKAGE); /* We use random(3) in edit.c. */ - srandom (time (NULL)); + sr...
2013 Jul 31
1
pre 1 OSX errors
...8.jpg) send_files mapped /Users/astrid/Desktop/robdutoit/photo_28.jpg of size 31740 [sender] _exit_cleanup(code=2, file=io.c, line=599): about to call exit(2) and often with calling match sums... sender finished /Users/astrid/Desktop/ccc/CHase_05_22_13.html send_files(6, /Users/astrid/Desktop/ccc/GetPID.c.html) send_files mapped /Users/astrid/Desktop/ccc/GetPID.c.html of size 96214 calling match_sums /Users/astrid/Desktop/ccc/GetPID.c.html ccc/GetPID.c.html I can restart and then it stalls again on same line or a few files down. Sometimes it stalls and no error is generated in stderr. Thanks, R...
2000 Jan 26
2
[2.0.6] doesn't run under Solaris 7/sparc, Internal Error
Is the following a known problem: =============================================================== [2000/01/26 09:41:03, 0] lib/fault.c:fault_report(41) INTERNAL ERROR: Signal 11 in pid 22273 (2.0.6) Please read the file BUGS.txt in the distribution [2000/01/26 09:41:03, 0] lib/fault.c:fault_report(43) =============================================================== This is using the same
2018 Oct 24
0
imap-hibernate returned failure: Failed to parse client input: Invalid peer_dev_minor value
...0 }) = 1 (0x1) accept(7,{ AF_UNIX \"\" },0x7fffffffe7fc) = 11 (0xb) getsockname(11,{ AF_UNIX \"/var/run/dovecot/imap-hibe\" },0x7fffffffe7fc) = 0 (0x0) fcntl(11,F_GETFL,) = 6 (0x6) fcntl(11,F_SETFL,O_NONBLOCK|0x2) = 0 (0x0) getpid() = 3446 (0xd76) __sysctl(0x7fffffffe7b0,0x4,0x0,0x0,0x42034000,0x20) = 0 (0x0) write(5,\"v\\r\\0\\0004\\0\\0\\0\\M-g\\^C\\0\\0\",12) = 12 (0xc) fstat(11,{ mode=srw-rw-rw- ,inode=13188,size=27,blksize=8192 }) = 0 (0x0) fcntl(11,F_GETFL,)...
2011 Jul 26
2
python-libvirt for 0.9.3 leaking file descriptors
...ot; or "license" for more information. >>> import libvirt >>> libvirt.getVersion() 9003 >>> def openclose(): ... c = libvirt.open('qemu:///system') ... c.close() ... >>> import os >>> os.system('lsof -p %d | wc -l' % os.getpid()) 37 >>> openclose() >>> os.system('lsof -p %d | wc -l' % os.getpid()) 40 >>> openclose() >>> os.system('lsof -p %d | wc -l' % os.getpid()) 43 every time I open and close a connection to libvirt, i loose 3 file descriptors. these are a socket an...
2019 Oct 24
3
winbind : suspend nightmare
On Wed, 2019-10-23 at 22:21 -0700, Jeremy Allison wrote: > On Wed, Oct 23, 2019 at 11:58:33PM +0000, Jon Gerdes wrote: > > winbind has a concept of offline and online but I don't know what > > that > > is, nor how nss works with it. I've tried using smbcontrol to tell > > winbind it is offline or online but that does not seem to work. > > Restarting
2002 Jul 24
0
Weird: cron or sendmail don't work properly after I installed winbind
...t seems that somehow some file handles get all mixed up when winbind is used. I did an strace of the cron daemon and the trace of the child that becomes the actual cron-job is most interesting - there is no close() on the unix socket handle for /tmp/.winbindd/pipe. This is the head of the strace: getpid() = 1017 time([1027529160]) = 1027529160 getpid() = 1017 rt_sigaction(SIGPIPE, {0x400ee270, [], 0x4000000}, {SIG_DFL}, 8) = 0 send(9, "<78>Jul 24 18:46:00 /USR/SBIN/CR"..., 66, 0) = 66 rt_sigaction(SI...
2018 Oct 24
2
imap-hibernate returned failure: Failed to parse client input: Invalid peer_dev_minor value
Nothing, the same error Oct 24 10:11:16 server dovecot: imap(email at example.com)<82402><Nhu9MPR4KuaASO/q>: Error: kevent(-1) for notify remove failed: Bad file descriptor Oct 24 10:11:16 server dovecot: imap(email at example.com)<82402><Nhu9MPR4KuaASO/q>: Error: close(-1) for notify remove failed: Bad file descriptor Oct 24 10:11:16 server dovecot: imap-hibernate:
2012 Aug 02
4
[problem in `xl_cmdimpl.c`] Why pid return by fork() in parent process is not the same with pid returned by getpid()?
.../*it''s in the parent*/ 1593 printf("Daemon running with PID %d\n", child1); /**it''s in the child/ 1643 LOG("Waiting for domain %s (domid %d) to die [pid %ld]", 1644 d_config.c_info.name, domid, (long)getpid()); After input `xl create xp-101.hvm`, you got `Daemon running with PID 26622` following the command line in the screen; but the xl log file lies in /var/log/xen/xl-xp-101.log contains a line `Waiting for domain xp-101 (domid 1) to die [pid 26624]`. Why 26622 != 26624? And 26622 could not be f...
2020 Jan 10
2
SUGGESTION: Settings to disable forked processing in R, e.g. parallel::mclapply()
...the other suggestions in this thread, would my proposal of being able to disable forked processing via an option or an environment variable make sense? I've prototyped a working patch that works like: > options(fork.allowed = FALSE) > unlist(parallel::mclapply(1:2, FUN = function(x) Sys.getpid())) [1] 14058 14058 > parallel::mcmapply(1:2, FUN = function(x) Sys.getpid()) [1] 14058 14058 > parallel::pvec(1:2, FUN = function(x) Sys.getpid() + x/10) [1] 14058.1 14058.2 > f <- parallel::mcparallel(Sys.getpid()) Error in allowFork(assert = TRUE) : Forked processing is not allowed...
2002 Mar 06
1
samba 2.2.3a on PPC
...0x8915, 0x7fffbc88) = 0 ioctl(7, 0x8913, 0x7fffbc88) = 0 ioctl(7, 0x891b, 0x7fffbc88) = 0 ioctl(7, 0x8915, 0x7fffbc68) = 0 ioctl(7, 0x8913, 0x7fffbc68) = 0 ioctl(7, 0x891b, 0x7fffbc68) = 0 close(7) = 0 getpid() = 1715 getpid() = 1715 getpid() = 1715 lstat64(0x1004ace8, 0x7fffdb48) = 0 lstat64(0x7fffdbb8, 0x7fffdb48) = 0 socket(PF_UNIX, SOCK_STREAM, 0) = 7 connect(7, {sin_family=AF_UNIX, p...
2015 May 25
0
foreach hangs when using doMPI on Windows with Microsoft MPI
...\mpiexec" -n 3 "C:\Program Files\R\R-3.2.0\bin\x64\Rterm.exe" --no-save -q -f "MPI Test.r" The script is: library(Rmpi) library(doMPI) library(foreach) cl <- startMPIcluster() print(cl) registerDoMPI(cl) mpi.remote.exec(paste(Sys.info()[['nodename']], Sys.getpid(), mpi.comm.rank(), "of", mpi.comm.size())) # Hangs at this point # Main process and worker processes are all idle ni <- foreach(i=1:10) %dopar% { paste(Sys.info()[['nodename']], Sys.getpid(), mpi.comm.rank(), "of", mpi.comm.size()) } mpi.close.Rslaves() mpi.q...
2003 Aug 21
0
More character conversion oddness
...I'm getting the following (looped) when stracing the smbd -D process it runs (see end of message) Any ideas? TIA. Mike write(5, " convert_string: Required 2, av"..., 42) = 42 time(NULL) = 1061444707 time([1061444707]) = 1061444707 getpid() = 28508 rt_sigaction(SIGPIPE, {0x420db0d0, [], SA_RESTORER, 0x420276f8}, {SIG_DFL}, 8) = 0 send(4, "<30>Aug 21 15:45:07 smbd[28508]:"..., 92, 0) = 92 rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0 geteuid32() = 0 write(5, &...
2017 Feb 01
2
net ads and wbinfo are painfully slow -- but they work
On Wed, 1 Feb 2017 09:47:38 +0100 "L.P.H. van Belle via samba" <samba at lists.samba.org> wrote: > We are missing the content of /etc/nsswitch.conf > Can you post that also. > > But you probely see: > hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4 > > i suggest > hosts: files dns mdns4_minimal [NOTFOUND=return] mdns4 > > since your using
2003 Dec 01
0
No subject
...d_mmap(0x401fe000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, = 3, 0x2000) =3D 0x401fe000 old_mmap(0x401ff000, 7216, PROT_READ|PROT_WRITE, = MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) =3D 0x401ff000 close(3) =3D 0 munmap(0x40013000, 79092) =3D 0 getpid() =3D 6736 getpid() =3D 6736 getpid() =3D 6736 lstat64("/tmp/.winbindd", {st_mode=3DS_IFDIR|0755, st_size=3D4096, ...}) = =3D 0 lstat64("/tmp/.winbindd/pipe", {st_mode=3DS_IFSOCK|0777, s...
2003 Oct 27
0
Asterisk behind nat with hole, hardcoding solution
...;, p->exten, inet_ntoa(p->ourip)); } 4. Now find the function add_sdp( ) and replace the variable strings with the ?outside? ip address (two times) as indicated below: snprintf(v, sizeof(v), "v=0\r\n"); // snprintf(o, sizeof(o), "o=root %d %d IN IP4 %s\r\n", getpid(), getpid(), inet_ntoa(dest.sin_addr)); snprintf(o, sizeof(o), "o=root %d %d IN IP4 213.84.4.39\r\n", getpid(), getpid()); snprintf(s, sizeof(s), "s=session\r\n"); // snprintf(c, sizeof(c), "c=IN IP4 %s\r\n", inet_ntoa(dest.sin_addr)); snpr...