search for: do_fork

Displaying 20 results from an estimated 36 matches for "do_fork".

Did you mean: do_for
2004 Nov 13
1
[Bug 2033] no error check for do_fork in do_recv
https://bugzilla.samba.org/show_bug.cgi?id=2033 ------- Additional Comments From samba@arbruijn.dds.nl 2004-11-13 14:02 ------- Created an attachment (id=771) --> (https://bugzilla.samba.org/attachment.cgi?id=771&action=view) proposed patch -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA
2012 Nov 16
5
[ 3009.778974] mcelog:16842 map pfn expected mapping type write-back for [mem 0x0009f000-0x000a0fff], got uncached-minus
...a0 [ 3009.905134] [<ffffffff8111c8fa>] exit_mmap+0x9a/0x180 [ 3009.914706] [<ffffffff81064e72>] mmput+0x52/0xd0 [ 3009.924252] [<ffffffff810652b7>] dup_mm+0x3c7/0x510 [ 3009.933839] [<ffffffff81065fd5>] copy_process+0xac5/0x14a0 [ 3009.943430] [<ffffffff81066af3>] do_fork+0x53/0x360 [ 3009.952843] [<ffffffff810b25c7>] ? lock_release+0x117/0x250 [ 3009.962283] [<ffffffff817d26c0>] ? _raw_spin_unlock+0x30/0x60 [ 3009.971532] [<ffffffff817d3495>] ? sysret_check+0x22/0x5d [ 3009.980820] [<ffffffff81017523>] sys_clone+0x23/0x30 [ 3009.990046]...
2003 Jan 21
1
ext3 is still locking up
...d: 650, stackpage=ca5fd000) Stack: 0000001b 00000003 00000000 00000360 c7bcf0a0 cd37aac0 00000000 00000011 00000000 c29fa000 c011763e 00000011 c29fa000 fffffff4 c1aa4480 ca5fdf60 00000008 0003aa21 00000001 ca5fc000 ca5fdfa8 bfffb7d8 ca5fc000 40013020 Call Trace: [<c011763e>] do_fork [kernel] 0x2ce (0xca5fdf6c)) [<c0107515>] sys_fork [kernel] 0x15 (0xca5fdfac)) [<c010893b>] system_call [kernel] 0x33 (0xca5fdfc0)) And now and then I see this messages (sometimes without any effects) EXT3-fs error (device ide0(3,2)): ext3_free_blocks: Freeing block in system zone...
2006 Oct 01
4
Kernel BUG at arch/x86_64/mm/../../i386/mm/hypervisor.c:197
...00210e9dd8 ffffffff80285622 1 20:53:48 waff Call Trace: 1 20:53:48 waff [<ffffffff80285573>] mm_pin+0x183/0x220 1 20:53:48 waff [<ffffffff80285622>] _arch_dup_mmap+0x12/0x20 1 20:53:48 waff [<ffffffff802220b0>] copy_process+0xc50/0x1870 1 20:53:48 waff [<ffffffff8023680f>] do_fork+0xef/0x210 1 20:53:48 waff [<ffffffff8029c652>] recalc_sigpending+0x12/0x20 1 20:53:48 waff [<ffffffff8022005d>] sigprocmask+0xfd/0x110 1 20:53:48 waff [<ffffffff80269662>] system_call+0x86/0x8b 1 20:53:48 waff [<ffffffff802767c3>] sys_clone+0x23/0x30 1 20:53:48 waff [<ff...
2006 May 09
5
ParaGuest cannot see 30GB memory
Hi, I have buit Xen (32 bit) with PAE and can start multiple Paraguests with 4 gig memory, but cannot launch a single VM with more than 4 gb memory. I would like to launch 1 VM with 30GB or so memory. Are there any config paramters like kernel,/inittrd that need to be changed. I have the ramdisk set to the initrd I used to boot xen with PAE. Thanks - padma
2017 May 21
2
Crash in CentOS 7 kernel-3.10.0-514.16.1.el7.x86_64 in Xen PV mode
...fff811af8e6>] ? copy_pte_range+0x286/0x5a0 [ 32.305004] [<ffffffff811b24d2>] ? copy_page_range+0x312/0x490 [ 32.305004] [<ffffffff81083012>] ? dup_mm+0x362/0x680 [ 32.305004] [<ffffffff810847ae>] ? copy_process+0x144e/0x1960 [ 32.305004] [<ffffffff81084e71>] ? do_fork+0x91/0x2c0 [ 32.305004] [<ffffffff81085126>] ? SyS_clone+0x16/0x20 [ 32.305004] [<ffffffff816974d9>] ? stub_clone+0x69/0x90 [ 32.305004] [<ffffffff81697189>] ? system_call_fastpath+0x16/0x1b [ 32.305004] Code: 20 e9 2f ff ff ff 44 89 fa 44 89 ee 48 c7 c7 10 45 8c 81 31...
2015 Jul 21
17
[Bug 91413] New: INFO: task Xorg:2419 blocked for more than 120 seconds.
...e/0x30 Jul 21 10:11:42 dioo-XPS kernel: [ 2195.316224] [<ffffffff8106dd54>] flush_tlb_mm_range+0x64/0x170 Jul 21 10:11:42 dioo-XPS kernel: [ 2195.316226] [<ffffffff81078642>] copy_process.part.25+0x13c2/0x1aa0 Jul 21 10:11:42 dioo-XPS kernel: [ 2195.316227] [<ffffffff81078ed5>] do_fork+0xd5/0x340 Jul 21 10:11:42 dioo-XPS kernel: [ 2195.316228] [<ffffffff810791c6>] SyS_clone+0x16/0x20 Jul 21 10:11:42 dioo-XPS kernel: [ 2195.316231] [<ffffffff817cffb2>] system_call_fastpath+0x16/0x75 Jul 21 10:11:42 dioo-XPS kernel: [ 2195.316231] Code: 30 5b 41 5c 5d c3 0f 1f 44 00 0...
2007 Jan 31
1
SIGUSER1 and rsync
Hi, What is the behaviour of rsync on receiving SIGUSER1 signal? Can I block it in someway so that my application that repeatedly calls rsync and rsync itself will run smoothly. Regards, Preeti -------------- next part -------------- HTML attachment scrubbed and removed
2013 Jan 31
0
File descriptors in pipe.c
...----------- --------------------- if (fd_pair(to_child_pipe) < 0 || fd_pair(from_child_pipe) < 0) { rsyserr(FERROR, errno, "pipe"); exit_cleanup(RERR_IPC); } //to_pipe_child[]={3,4} //from_pipe_child[]={5,6} pid = do_fork(); printf("value of pid is %d",pid); if (pid == -1) { rsyserr(FERROR, errno, "fork"); exit_cleanup(RERR_IPC); } if (pid == 0) { printf("\n inside the if statement"); if...
2014 Apr 03
0
RFC: Mount namespace option
...uys, I'm working a lot with Linux Containers(LXC) and find it extremely nice to have the ability to rsync files from the host machine to the container without the need of SSH. What I did was a simple patch, which added the new option --mount-ns-pid=PID and also added a call to setns() in the do_fork() function. The idea is, that rsync will use the PID to create a path (/proc/PID/ns/mnt), open that path and give the file descriptor to setns(), which in turn will switch to the new mount namespace and so, the file operations will be done in the new mount namespace instead of the host's own...
2006 May 12
0
kernel crash
...5:34:18 ioana.slack.i kernel: [<c011ef60>] copy_mm+0x101/0x14f May 12 15:34:18 ioana.slack.i kernel: [<c012017e>] copy_process+0x709/0xd4f May 12 15:34:18 ioana.slack.i kernel: [<c01879b4>] inode_update_time+0x80/0x87 May 12 15:34:18 ioana.slack.i kernel: [<c01208bd>] do_fork+0x9b/0x1a5 May 12 15:34:18 ioana.slack.i kernel: [<c0176f9b>] pipe_write+0x1c/0x20 May 12 15:34:18 ioana.slack.i kernel: [<c0168d21>] vfs_write+0xda/0xe2 May 12 15:34:18 ioana.slack.i kernel: [<c0104923>] sys_clone+0x22/0x26 May 12 15:34:18 ioana.slack.i kernel: [<c0311...
2003 Jun 27
5
PATCH/RFC: Another stab at the Cygwin hang problem
...e_after; extern int recurse; *************** *** 416,426 **** --- 417,435 ---- exit_cleanup(RERR_SOCKETIO); } + if (pipe(cleanup_pipe) < 0) { + rprintf(FERROR,"cleanup pipe failed in do_recv\n"); + exit_cleanup(RERR_SOCKETIO); + } + io_flush(); if ((pid=do_fork()) == 0) { + char tmp; + close(recv_pipe[0]); close(error_pipe[0]); + close(cleanup_pipe[1]); if (f_in != f_out) close(f_out); /* we can't let two processes write to the socket at one time */ *************** *** 436,450 **** write_int(recv_pipe[1],1); close(recv_...
2009 Jul 29
2
out of memory
...[<ffffffff8000f2eb>] __alloc_pages+0x245/0x2ce [<ffffffff8002303f>] alloc_page_interleave+0x3d/0x74 [<ffffffff8003c061>] __get_free_pages+0xe/0x71 [<ffffffff8001eb82>] copy_process+0xc6/0x15b8 [<ffffffff8009b8bc>] alloc_pid+0x1ee/0x28a [<ffffffff80030cdb>] do_fork+0x69/0x1c1 [<ffffffff8009d98c>] keventd_create_kthread+0x0/0xc4 [<ffffffff8005df3d>] kernel_thread+0x81/0xeb [<ffffffff8009d98c>] keventd_create_kthread+0x0/0xc4 [<ffffffff80032282>] kthread+0x0/0x132 [<ffffffff8005dfa7>] child_rip+0x0/0x11 [<ffffffff8009d9a9&...
2006 Oct 04
6
RE: Kernel BUGatarch/x86_64/mm/../../i386/mm/hypervisor.c:197
...3:27:52 tuek <ffffffff80158cf4>{__pmd_alloc+36} > > <ffffffff8015e55e>{copy_page_range+1262} > > Oct 3 23:27:52 tuek <ffffffff802a6bea>{rb_insert_color+250} > > <ffffffff80127cb7>{copy_process+3079} > > Oct 3 23:27:52 tuek <ffffffff80128c8e>{do_fork+238} > > <ffffffff801710d6>{fd_install+54} Oct 3 23:27:52 tuek > > <ffffffff80134e8c>{sigprocmask+220} > > <ffffffff8010afbe>{system_call+134} > > Oct 3 23:27:52 tuek <ffffffff801094b3>{sys_clone+35} > > <ffffffff8010b3e9>{ptregscall...
2017 Oct 23
0
Crash in CentOS 7 kernel-3.10.0-514.16.1.el7.x86_64 in Xen PV mode
...opy_pte_range+0x286/0x5a0 > [ 32.305004] [<ffffffff811b24d2>] ? copy_page_range+0x312/0x490 > [ 32.305004] [<ffffffff81083012>] ? dup_mm+0x362/0x680 > [ 32.305004] [<ffffffff810847ae>] ? copy_process+0x144e/0x1960 > [ 32.305004] [<ffffffff81084e71>] ? do_fork+0x91/0x2c0 > [ 32.305004] [<ffffffff81085126>] ? SyS_clone+0x16/0x20 > [ 32.305004] [<ffffffff816974d9>] ? stub_clone+0x69/0x90 > [ 32.305004] [<ffffffff81697189>] ? system_call_fastpath+0x16/0x1b > [ 32.305004] Code: 20 e9 2f ff ff ff 44 89 fa 44 89 ee 48 c...
2002 Mar 20
3
[PATCH] rsync kills all user processes on fork failure
I filed this as bug 4150 http://rsync.samba.org/cgi-bin/rsync/ We had a few hundred hung processes and reached the limit for "max user processes" (see the ulimit command). rsync did not handle this very well. It passed -1 as a PID to kill(). When kill() gets -1, it kills all of the processes owned by that user, or if run by root, all processes. I attached a one line fix. Let me
2004 Feb 17
1
[patch] Make robust_rename() handle EXDEV.
All callers of robust_rename() call copy_file() if EXDEV is received. This patch moves the copy_file() call into robust_rename(). Patch Summary: -12 +1 backup.c -15 +2 rsync.c -9 +33 util.c -------------- next part -------------- patchwork diff util.c --- util.c 2004-02-17 09:58:44.000000000 -0500 +++ util.c 2004-02-17 10:21:22.000000000 -0500 @@ -355,16 +355,40 @@
2008 Mar 17
1
Running CentOS 4.6 domUs on CentOS 5.1 dom0 and domUs crash
...mem_cache_alloc+0x67/0x97 [<c0111671>] pgd_alloc+0x17/0x336 [<c01199d4>] mm_init+0xd7/0x116 [<c01199e4>] mm_init+0xe7/0x116 [<c0119c8a>] copy_mm+0xbb/0x396 [<c0141f1f>] cache_alloc_refill+0x154/0x19c [<c011aa5a>] copy_process+0x6b5/0xb0b [<c011af9d>] do_fork+0x8a/0x16b [<c020f4c4>] sys_socketcall+0x113/0x202 [<c0105d2c>] sys_clone+0x24/0x28 [<c010737f>] syscall_call+0x7/0xb Code: 74 02 66 a5 a8 01 74 01 a4 5e 5b 5e 5f c3 80 3d 04 07 2f c0 00 75 1c 6a 20 6a 00 ff 74 24 0c e8 ce 37 00 00 83 c4 0c 85 c0 74 08 <0f> 0b 32 01 ed...
2008 Mar 17
1
Running CentOS 4.6 domUs on CentOS 5.1 dom0 and domUs crash
...mem_cache_alloc+0x67/0x97 [<c0111671>] pgd_alloc+0x17/0x336 [<c01199d4>] mm_init+0xd7/0x116 [<c01199e4>] mm_init+0xe7/0x116 [<c0119c8a>] copy_mm+0xbb/0x396 [<c0141f1f>] cache_alloc_refill+0x154/0x19c [<c011aa5a>] copy_process+0x6b5/0xb0b [<c011af9d>] do_fork+0x8a/0x16b [<c020f4c4>] sys_socketcall+0x113/0x202 [<c0105d2c>] sys_clone+0x24/0x28 [<c010737f>] syscall_call+0x7/0xb Code: 74 02 66 a5 a8 01 74 01 a4 5e 5b 5e 5f c3 80 3d 04 07 2f c0 00 75 1c 6a 20 6a 00 ff 74 24 0c e8 ce 37 00 00 83 c4 0c 85 c0 74 08 <0f> 0b 32 01 ed...
2004 May 29
1
[patch] Filename conversion
...gistered for autocleanup. **/ -pid_t piped_child(char **command, int *f_in, int *f_out) +pid_t piped_child(char **command, int *f_in, int *f_out, int blocking_io, int register_child) { pid_t pid; int to_child_pipe[2]; @@ -57,7 +58,7 @@ pid_t piped_child(char **command, int *f } - pid = do_fork(); + pid = register_child ? do_fork() : fork(); if (pid == -1) { rprintf(FERROR, "fork: %s\n", strerror(errno)); exit_cleanup(RERR_IPC); diff -rupNP rsync-2.6.2/syscall.c rsync-2.6.2-fnameconv.clean/syscall.c --- rsync-2.6.2/syscall.c 2004-02-19 00:33:21.000000000 +0200 +++ rsync-...