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

Re: [Condor-users] help about too many open files/ulimit by condor_starter

After comparing with Timothy mentioned method, I don't think Greg's
way to run condor as
/bin/su root -c /path/to/condor_master
would work in Ubuntu 9.04, since my condor_master is started by root
in /etc/init.d/condor and run under root

In sum, thanks for your kind help, Greg, Timothy.

On Thu, Jul 15, 2010 at 9:36 PM, Greg Thain <gthain@xxxxxxxxxxx> wrote:
> On 07/15/2010 07:23 AM, dawnsong wrote:
>> Dear Condor Experts,
>> Recently, I always encountered too many open files error when submit jobs
>> to
>> condor pool, no matter how many I have set nofile in
>> /etc/security/limits.conf.
> The problem here is that your job is run as a child of the condor daemons,
> which aren't PAM enabled, so the condor daemons don't read
> /etc/security/limits.conf.  A quick hack is to launch the condor_master as a
> child of a process which is PAM enabled, like the "su" program.  So, in your
> startup script, instead just launching the condor_master, you can run
> /bin/su root -c /path/to/condor_master
> As init starts the master as root, the su is essentially a no-op, except
> that it reads the /etc/security.limits file.
> -greg
> _______________________________________________
> Condor-users mailing list
> To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> https://lists.cs.wisc.edu/mailman/listinfo/condor-users
> The archives can be found at:
> https://lists.cs.wisc.edu/archive/condor-users/

Xiao-Wei Song
Ping Zhu's Lab, Center for Structural and Molecular Biology
Institute of Biophysics, Chinese Academy of Sciences
15 Datun Road, Chaoyang District, Beijing, China 100101
Tel:  +86-10-64888353, E-mail: dawnsong@xxxxxxxxxxxxxx