- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- rebooting UNIX bad for the system?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2004 02:20 AM
02-27-2004 02:20 AM
Thanks, Ken
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2004 02:26 AM
02-27-2004 02:26 AM
Re: rebooting UNIX bad for the system?
Rebooting a UNIX system is not bad for maintenance purposes like applying patches, pdc etc., Rebooting it because it has bad code on it (applications with memory leaks etc.,) is bad.
We realized that we had a system that was running for more than 1000 days (> 3 years!!). These systems are supposed to be robust when used properly. If you keep track of the changes and configuration of the system, rebooting shouldn't be a headache. There are times when sys admins forget to update the configuration files which may create problems. For ex., add a filesystem but forget to update /etc/fstab, add an IP manually but not in /etc/rc.config.d/netconf etc.,. The chances of these human errors are more on the systems that have been running since a long time.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2004 02:26 AM
02-27-2004 02:26 AM
Re: rebooting UNIX bad for the system?
You don't need to reboot your server unless you 've just rebuild a new kernel (to chnage parameters or after patches were installed).
I would not say it's bad, I'd say you're loosing your time and time is ...
Regards,
Jean-Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2004 02:27 AM
02-27-2004 02:27 AM
Re: rebooting UNIX bad for the system?
The first question to ask is "Why are we doing this?". To clear hung processees? To free shared memory? Because we have memory leaks? or just because? The answer to all of these is the same --- fix the real problem rather than dealing with the symptoms. Production UNIX boxes run for months and often years without a reboot. My boxes come down for only one reason : scheduled maintenance windows to apply upgrades and/or patches.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2004 02:28 AM
02-27-2004 02:28 AM
Re: rebooting UNIX bad for the system?
I don not have a white paper but about how bad it is, but.... I does not "ever" solve a problem, it can be a work around at best!
It can be bad for database caches becouse they a flushed, uptime command output. Unix admin motivation.
What is the reason they want to setup the "cron of death".
Is is a application that does not give its memory back?
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2004 02:28 AM
02-27-2004 02:28 AM
Re: rebooting UNIX bad for the system?
We reboot our servers twice every night as part of our daily processing. It doesn't cause an issue. I blame the application for not cleaning up after itself properly when it shuts down. Ideally it would tidy up shared memory and semaphores, but hey what can you do!? Assuming all your start up files are intact then you shouldn't have an issue.
We found out about a corrupt /stand one night when one server failed to reboot. Not the best way of testing, but it made people sit up and listen that old hardware does eventually wear out!
HTH
Regards,
Dave.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2004 02:28 AM
02-27-2004 02:28 AM
Re: rebooting UNIX bad for the system?
# uptime
If you have a lot of defunct processes that require you to reboot. That's the sign of a badly coded application.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2004 02:30 AM
02-27-2004 02:30 AM
Re: rebooting UNIX bad for the system?
No nonsense, a reboot does not affect the health of your server. About rebooting every morning, normaly a unix server does not need to be rebooted so often <--> is there a problem with an application ? consuming to mutch memory ?
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2004 02:32 AM
02-27-2004 02:32 AM
Re: rebooting UNIX bad for the system?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2004 02:36 AM
02-27-2004 02:36 AM
Re: rebooting UNIX bad for the system?
I think that you can reboot your wks every day, but it can makes some trouble.
you surely stress the wks... it has been created to stay alive more then one day.
You can met some trouble with the configs, logs, managing files system ecc...
It's only a my opinion.
Hope this helps
L.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2004 02:37 AM
02-27-2004 02:37 AM
Re: rebooting UNIX bad for the system?
It's not that difficult to find memory leaks on the system. Run the following small script once in 6 hrs for couple of days. Put it in cron or on your schedulers if you have any.
DATE=$(date +%y%m%d%H%M)
UNIX95= ps -e -o "vsz pid args"|sort > /tmp/memleak.$DATE
Compare the first file with the last file that got generated. Identify the process whose 'vsz' has increased substantially. That process may be having memory leak and your developers should get it fixed.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2004 02:38 AM
02-27-2004 02:38 AM
Re: rebooting UNIX bad for the system?
They obviously have a problem somewhere.
As said above, reboots generally just fix the symptom, not the real underlying problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2004 02:42 AM
02-27-2004 02:42 AM
Re: rebooting UNIX bad for the system?
There is only one answer, send the code back to the developers. rebooting a server every day because of memory leak is the limit. And before you ask, YES it happened to me too, I kept giving a negative advice to go to production until they fixed the problem.
Kind regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2004 02:47 AM
02-27-2004 02:47 AM
Re: rebooting UNIX bad for the system?
Well reboot will never solve your problem. It will just hide it.
Ask the developer to find and correct the pb.
regards,
Jean-Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2004 02:49 AM
02-27-2004 02:49 AM
Re: rebooting UNIX bad for the system?
Have your developers looked at 3rd party products for detecting memory leaks:
Rational Purify comes to mind, ( http://www-306.ibm.com/software/awdtools/purifyplus/ )
And of course I'm sure there are freeware products available that do similar things
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2004 02:53 AM
02-27-2004 02:53 AM
Re: rebooting UNIX bad for the system?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2004 02:56 AM
02-27-2004 02:56 AM
Re: rebooting UNIX bad for the system?
Rebooting is never going to solve your problem. You need to say to those people (developers) to fix the appication first. You can find out which one eats the memory via Sri's script.
A good profiler is needed to find the memory leaks. Try using Rational Purify (it is costly also). It will clearly say where and when the memory is consumed.
HTH,
Umapathy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2004 03:09 AM
02-27-2004 03:09 AM
Re: rebooting UNIX bad for the system?
Anyways, I understand that the problem should be fixed instead of a workaround, but from where I sit, all I can provide is the workaround... so back to my orig question, does anyone know pro's / con's of rebooting a system daily? I am gathering from the first few posts that it does not really hurt any thing, but if something IS going to break, during a reboot is the time it will happen...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2004 03:17 AM
02-27-2004 03:17 AM
SolutionIt's not bad - even a good thing - if you have a cpu that is about to die - on a reboot - it may fail the hardware pre-test - and be deactivated - much better to happen in a "outage" window then to have the cpu fail during prime time.
I agree with others - the problem you have (memory leak) should be fixed...
If they say it's the hardware - ask for more ram - when it still "leaks" you'll see have fast management gets on your side.
We have an issue with a CICS app right now on an AIX box - with a memory leak - turns out that it is not the application, but the revision of AIX - waiting for a patch from IBM - we have to reboot box dailey....
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2004 03:22 AM
02-27-2004 03:22 AM
Re: rebooting UNIX bad for the system?
//... so back to my orig question, does anyone know pro's / con's of rebooting a system daily? //
The probability of any hardware component to fail is *greater* with frequent reboots than when the system is continuously up and running. I don't believe in their pouring water into funnel theory but looks like there isn't much you yourself can do.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2004 03:25 AM
02-27-2004 03:25 AM
Re: rebooting UNIX bad for the system?
If rebooting is the only option I would go with it, but make sure you have a good Ignite recovery tape and full system backup just incase. If you do run into trouble at least you will have a way out.
Perhaps let the users know that it's not the best option, but if the code doesn't get fixed then it's the only option!
Regards,
Dave.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2004 03:40 AM
02-27-2004 03:40 AM
Re: rebooting UNIX bad for the system?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2004 03:42 AM
02-27-2004 03:42 AM
Re: rebooting UNIX bad for the system?
I agree w/Clay. Nothing will impart a sense of urgency to these so-called developers better than the sight of a Louisville Slugger in your hands.
You don't have to use it, just routinely march by their cubes grumbling menacingly every time you have to go reboot the systems.
Cheers,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2004 03:47 AM
02-27-2004 03:47 AM
Re: rebooting UNIX bad for the system?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2004 04:10 AM
02-27-2004 04:10 AM
Re: rebooting UNIX bad for the system?
1. tell them the facts.
which is:
- reboot the system dail no problemo.
- the problem of memory leak will not dissapere it will grow, in a year we can reboot every hour (K-Class fulli loaded ½ an hour - uptime 12 hours a day).
- make a ignite tape if you want... really if the bad code...(BOFH