Do I need to reboot Solaris 10 server for changes in /etc/systems ?


 
Thread Tools Search this Thread
Operating Systems Solaris Do I need to reboot Solaris 10 server for changes in /etc/systems ?
# 1  
Old 02-25-2008
Do I need to reboot Solaris 10 server for changes in /etc/systems ?

Hi,

I have upgraded my Solaris 10 2005 to Solaris 10 2007. I am facing one bug, id: 6550904. To override this issue I have done following changes in /etc/systems:
set max_uheap_lpsize = 0x2000
set max_ustack_lpsize = 0x2000
set max_privmap_lpsize = 0x2000
set max_shm_lpsize = 0x2000
set use_brk_lpg = 0
set use_stk_lpg = 0

Do I need to reboot the server for these changes ?Is there any way to do it without rebooting ?
I had heard that Solaris 10 donesn't need reboot for changes in /etc/systems.
Please help me.

Thanks
NeeleshG
# 2  
Old 02-26-2008
yes, any change to /etc/system needs a reboot, but you should check that in /etc/system is the reccommended way to apply your setting in solaris 10, there are relatively few that need to be set this way these days.
# 3  
Old 02-26-2008
Mr reborg is saying absolutely right
# 4  
Old 02-26-2008
the changes effect how init hand out memory....

all you have to do is re-start init

and that would be a re-boot.
# 5  
Old 02-27-2008
Bug

Thanks all.

I asked this because in Linux we can change kernel parameters without rebooting servers. So I thought there may be some way to resolve this in Solaris 10.

Thanks again.
Neelesh
# 6  
Old 03-11-2008
You could also take a look at using projects in Solaris 10 (projadd, projmod, projdel) which just edit /etc/project, but in a safe way. Then you can control almost all kernel parameters and you do not need to reboot to use or change them. You will need to relaunch the process(es) after you make the change, but you do not have to reboot. There is a whole section in the Solaris 10 manual about using projects. What is even better about them is you can assign them to users, groups, processes, groups of processes, etc. and give different projects different kernel params or different users hard stops on using system resources without messing with containers or domains and what not. So for example, you could tell the oracle user that it has 3GB of RAM and the jboss app server it has 2GB of RAM and they will not fight each other.

Last edited by synchro; 03-11-2008 at 06:36 PM..
# 7  
Old 03-12-2008
Quote:
Originally Posted by neel.gurjar
I asked this because in Linux we can change kernel parameters without rebooting servers. So I thought there may be some way to resolve this in Solaris 10.
Actually, you certainly can dynamically change kernel parameters under Solaris like you can do it with the Linux kernel. mdb is one of the tools used to do it.
Of course, some of the changes won't have any effect in these cases where the parameter is used only at boot time while changing some others will badly panic the machine.

As syncho already wrote, resource controls (projects) are a better way to tune the system.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Red Hat

Server reboot

Hi, The server got rebooted and below messages can be seen in /var/log/messages Sep 7 10:49:12 minersville kernel: Call Trace: <IRQ> <ffffffff80167420>{__alloc_pages+796} Sep 7 10:49:12 minersville kernel: <ffffffff80182814>{kmem_getpages+106} <ffffffff80183c16>{fallback_alloc+304}... (3 Replies)
Discussion started by: admin_db
3 Replies

2. Shell Programming and Scripting

Script to Run Multiple Systems Checks and mail me the results after every reboot- Linux

Hello, I'm trying to create a mechanism wherein a set of Production servers will email me the results of system checks like Uptime, NFS Mounts and a Process after every scheduled reboot. For this, I figured I'd use the @reboot parameter that crond comes with. I have added the below onliner... (3 Replies)
Discussion started by: pocodot
3 Replies

3. Solaris

Validate mountpoints on solaris server after server reboot

Hi, anyone please let us know how to write shell script to find the missing mountpoints after server reboot. i want to take the mountpount information before server reboot, and validate the mountpoints after server reboot if any missing.please let us know the shell script from begining to end as... (24 Replies)
Discussion started by: VenkatReddy786
24 Replies

4. Linux

Linux server reboot

We reboot our linux servers daily. Is it needed ? (10 Replies)
Discussion started by: linuxadmin
10 Replies

5. Solaris

Reboot the server through console

Hi All, I want to know the procedure like if server is down, i want to reboot the server through console ($rsc or $sc prompt).Could you please help me out. I would really appreciate your cooperation. thanks for understanding regards krishna (5 Replies)
Discussion started by: murthy76
5 Replies

6. AIX

IP setting changes after server reboot

I've recently changed my gateway setting using SMIT. Everything went fine except that the gateway setting kept reverting back to the old one everytime I reboot the server. I'm on AIX 5.2 running p-Series. Thanks for any info. (3 Replies)
Discussion started by: dereklow
3 Replies

7. UNIX for Advanced & Expert Users

server reboot

hi all, :) for a reboot of sun box for patch installation i would like to know where do the reboot logs apart from /var/adm/messages and patch run messages would be available, i would like to know the sequence of messages logged in the file like requesting the users to log out sending a... (1 Reply)
Discussion started by: matrixmadhan
1 Replies

8. Shell Programming and Scripting

Server Reboot Alert

I want to get an email alert from a cronjob when a server got rebooted unexpectedly. Please help. Thanks! :confused: (2 Replies)
Discussion started by: angloi
2 Replies

9. SCO

Reboot the sco server

Dear sir, I am using sco open server 5.06.How we can reboot the system without using root password? Whar are the permision need to change to do this. Thanks, Mostafizur Rahman (3 Replies)
Discussion started by: rahmanm
3 Replies
Login or Register to Ask a Question