Linux server reboot


 
Thread Tools Search this Thread
Operating Systems Linux Linux server reboot
# 8  
Old 12-23-2011
Do those servers start to swap a lot in the evening? Are all servers hosting both webserver and database or are there dedicated boxes that run only one component? Did you investigate why tomcat / postgres / system reboot themself?
The most common reason I've seen systems reboot themself without a hardware issue was them running out of paging space.
# 9  
Old 12-23-2011
Have you looked at the contents of /var/log/messages when this occurs?

If this is happening, perhaps splitting the app from the DB could help. Also, what about setting things like the java heap size to be more normalized, or perhaps using a different garbage collection algorithm?

What is the output of dmesg?

Your server might be horribly undersized.
# 10  
Old 01-02-2012
i once worked at a shop which had a server that got hung up everytime this 1 particular java application ran ... the developers kept asking the sa in charge of this server to tweak the server some more but it kept getting hung anyway ... it was only when the developers revised the application to better utilize and then free memory did the server stop hanging as soon as the application ran ...

anyways ...

somebody should monitor this server for cpu and memory utilization throughout the day ... the company might not want to redo the application but giving it more ram or moving it to a newer box may help it perform better ...

or ...

just stick to daily reboots .... Smilie
# 11  
Old 01-03-2012
Quote:
Originally Posted by linuxadmin
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.
Sounds like you might have problem with Big app. here are the ways to check problems.
Code checks:
1. Check if app open lots of temp files or creates cache which is required to be cleared.
2. If it is a web based app. check if connection to DB is closed after usage. If database is slow or causing slowness to a page.
3. if you have any file called via n/w may be network is slow connecting the server at certain time as n/w might be busy.
4. Check if static pages also load slow if web based app.
5. Check your app logs for more errors
6. Check if you have any fork bomb etc

H/W and S/W check
Install something like MRTG or cacti etc to monitor:
1. Check if your DB is slowing down after certain queries
2. Check if your app server tomcat / weblogic is properly configured.
3. Check if /tmp and /var /usr/local/apachec etc etc where log files are written is having enough space.
4. Check lsof to see files open.

I usually try to blame this way Smilie
1. Hardware (check bad mem or disk or any n/w) etc
2. Developers.
3. DBA bad indexing/configurations
4. kiddy perl/shell scripts which cause problems.
5. unnecessary services.

if nothing else the SYS Admin, Data center...

last but not least .... my FATE Smilie
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