From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24519 invoked by alias); 3 Mar 2010 14:35:46 -0000 Received: (qmail 24488 invoked by uid 22791); 3 Mar 2010 14:35:44 -0000 X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=BAYES_05 X-Spam-Check-By: sourceware.org Received: from hermes.csrv.ucy.ac.cy (HELO hermes.csrv.ucy.ac.cy) (194.42.13.180) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 03 Mar 2010 14:35:38 +0000 Received: from ucy.ac.cy ([127.0.0.1]) by hermes.csrv.ucy.ac.cy (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0KYP009DRN1RSK00@hermes.csrv.ucy.ac.cy> for gcc-help@gcc.gnu.org; Wed, 03 Mar 2010 16:32:15 +0200 (EET) Received: from [213.7.234.48] by hermes.csrv.ucy.ac.cy (mshttpd); Wed, 03 Mar 2010 16:32:15 +0200 Date: Wed, 03 Mar 2010 14:35:00 -0000 From: Anna Sidera Subject: cannot run many programs simultaneously To: gcc-help@gcc.gnu.org Message-id: MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2010-03/txt/msg00039.txt.bz2 Hello, I wrote a gcc program and I am running it on a unix server that has 8 cpus. I have to run the program for different sets of input paramters. I run the program 6 times simultaneously with 6 different sets of input parameters. They run for some time and then they stop. However when I run only 3 of them simultaneously, and then run the other 3, they all finish successfully. Can you please advise me what to do? I do not know if it is a bug or a problem with the memory the system allows me to use. The output of the ulimit -a command is the following: core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 88063 max locked memory (kbytes, -l) 32 max memory size (kbytes, -m) unlimited open files (-n) 1024 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) 88063 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited Thanks, Anna