Linux server reboot


 
Thread Tools Search this Thread
Operating Systems Linux Linux server reboot
# 1  
Old 12-22-2011
Linux server reboot

We reboot our linux servers daily. Is it needed ?
# 2  
Old 12-22-2011
Generally, no. Servers can operate weeks to months at a go, potentially years if it wasn't for kernel upgrades.

Often people do so because they see the value of "free" memory creeping very low and "cached" climbing very high, then reboot to forestall what they perceive as impending disaster. Many try putting strange settings into /proc/ to "flush the cache", as well. This isn't necessary, low free/high cache is normal operation, just count the value of "cached" in your estimation of free memory and usually everything is fine after all.
# 3  
Old 12-22-2011
My experience is that virtual servers need to be rebooted more often than stand alone servers. Here is an example from one stand alone linux server:

Quote:
$ uptime
16:03:28 up 754 days, 8:12, 1 user, load average: 3.34, 3.83, 3.79
Over two years since the last reboot .....
# 4  
Old 12-23-2011
The only reason I can think of to reboot a linux server that often would be lots of crashed connections (those showing state FIN_WAIT or similar with netstat -an) preventing further connections to the server - and there may be a better way to fix that without reboot.
Were you told the reasons why your company reboots that often? What kind of application are those servers hosting?
# 5  
Old 12-23-2011
We run a stand alone java application with Database.

Description
1. Stand alone web application run in apache tomcat 6..
2. A database connection in postgresql 8.3..

System configuration
CentOS 5
~ 4 to 8 GB of Ram , (Differ in each servers)
core 2 duo processor
Java 1.6 [Oracle]

Users per server
~ 100 - 200 sessions.

But daily needs to reboot.. Smilie
# 6  
Old 12-23-2011
It doesn't likely need to reboot. What ISSUE are you experiencing? Rather than telling us you reboot, tell us the problem, not some workaround you found.
# 7  
Old 12-23-2011
mark,

The application runs is not a small one. it's a big application. And the server becomes very very slow as it used from morning to evening..

Thus in some servers tomcat / postgre or the Entire system itself reboots.
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. 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

3. Red Hat

What is the optimal approach to reboot the linux server

Hi All, Our Linux server were rebooted 723 days before and now We have decided to reboot the server due to server performance. Could someone advise us what is the optimal duration of a server reboot ? Thanks for your time. Best Regards, Arun (2 Replies)
Discussion started by: arunap44
2 Replies

4. UNIX for Advanced & Expert Users

shutdown and reboot unix server

Hi, please could someone advise the best command to shutdown and then for it to reboot back online again. Note: I shall be doing this from a telent session. regards venhart (3 Replies)
Discussion started by: venhart
3 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