nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

Specific Linux Startup Priorities

This is a discussion on Specific Linux Startup Priorities within the CentOS / RHEL / Fedora forums, part of the Linux Distribution category; Hello, Its my first time posting on here, thank you for taking the time reading what I'm about to post. ...


Go Back   nixCraft Linux Forum > Linux Distribution > CentOS / RHEL / Fedora

Linux answers from nixCraft.


CentOS / RHEL / Fedora Discussion about Redhat Enterprise Linux or CentOS or Fedora Linux related problems.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-01-2009, 01:56 AM
Junior Member
User
 
Join Date: Jan 2009
OS: Debian
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
nitoxys is on a distinguished road
Default Specific Linux Startup Priorities

Hello,
Its my first time posting on here, thank you for taking the time reading what I'm about to post.

I have a Centos 5 server running a 2.6.24-rt kernel. (Will recompile if necessary)

I'm looking to modify the scheduler (instead of SCHED_OTHER) and the priority for either a user or a process when it runs without having to do it on the fly or having root priv.

I.E. apache starts with user apache, the priority is 0 and the scheduler is OTHER. I want it to be if apache starts a thread, I want it to be -1 priority and the SCHEDULER FIFO.

I want to be modify the kernel or have a script/config so that when that user runs the binary is runs with the default scheduler and priority (Kind of like kthreads). When the system starts up soft-irq is RT and has a different scheduler. I want to be able to change the priority/scheduler of a user without doing it on the fly. I have a control panel that starts the server under a jailed user to a directory using SSH.

Any idea how about going about this. I've been googling for a long time, and none of it was relevant to my situation. (I know about chrt and nice, those are on the fly and root specific (chrt only) commands.) I was looking at the RT groups, but wasn't sure if thats what I was looking for.

Thanks for the help.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Automatic startup service gthian Shell scripting 0 24-06-2007 08:21 AM
Linux shutdown computer specific time chiku Linux software 1 27-04-2007 04:53 PM
Run ntpdate startup once chimu Getting started tutorials 0 26-01-2007 07:38 PM
Select specific rows c341 Shell scripting 6 18-01-2007 02:04 AM
Ubuntu Linux control startup services or scripts chimu Shell scripting 1 06-10-2006 01:17 AM


All times are GMT +5.5. The time now is 06:31 PM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38