LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices


Reply
  Search this Thread
Old 10-18-2010, 04:49 AM   #1
jacobmukalel
LQ Newbie
 
Registered: Oct 2010
Posts: 1

Rep: Reputation: 0
Few limits (processes and cron)


Hello,

Could You tell me guys, how can i set the limits listed below?

1) I know i can limit number of processes per user, but what about background processes? When i allow user to launch 20 processes, then he will be able to start at least few screen sessions. I would like all users, who belong to specified group, to be allowed only to launch only one background process (using &, and starting it in screen). I know this is possible, but got actually no idea, how to set that.

2) I wonder if it is possible to specify max. number of cron jobs per user?


Thanks in advance!
 
Old 10-19-2010, 04:51 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by jacobmukalel View Post
I would like all users, who belong to specified group, to be allowed only to launch only one background process
The difference between "foreground" and "background" processes exists only in the scope of the shell: the kernel nor the rest of userland cares about what a process attaches its file descriptors to. For applications that may help limit things anyway see http://www.linuxquestions.org/questi...35/#post579909.


Quote:
Originally Posted by jacobmukalel View Post
I wonder if it is possible to specify max. number of cron jobs per user?
As far as I know neither Vixie, Dillon or other cron daemon versions limit the amount of user processes.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
adding a perl script to cron.daily / cron.d to setup a cron job CrontabNewBIE Linux - Software 6 01-14-2008 08:16 AM
Cron/Sendmail Defunct Processes Schiz0 Ubuntu 2 12-02-2007 07:43 PM
limits are not working (limits.conf) PkerC Red Hat 3 06-22-2006 10:14 AM
defunct processes in cron bujecas Debian 1 02-07-2006 01:59 PM
Seeing limits of running processes? tells Linux - General 2 12-05-2004 03:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo

All times are GMT -5. The time now is 09:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration