[tracker] libtracker-common: Do not apply memory limits to spawned processes



commit 37fd9c7e757a4a0c17a74ce58deef3d429d41966
Author: Jürg Billeter <j bitron ch>
Date:   Thu Apr 14 12:48:00 2011 +0200

    libtracker-common: Do not apply memory limits to spawned processes
    
    The limits broke backup functionality and they are not needed for
    processes spawned by tracker-extract as the limits are inherited from
    tracker-extract.

 src/libtracker-common/tracker-os-dependant-unix.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/libtracker-common/tracker-os-dependant-unix.c b/src/libtracker-common/tracker-os-dependant-unix.c
index d6d740a..ff87ad4 100644
--- a/src/libtracker-common/tracker-os-dependant-unix.c
+++ b/src/libtracker-common/tracker-os-dependant-unix.c
@@ -164,8 +164,6 @@ tracker_spawn_child_func (gpointer user_data)
 		alarm (timeout + 2);
 	}
 
-	tracker_memory_setrlimits ();
-
 	/* Set child's niceness to 19 */
 	errno = 0;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]