Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 10-10-2011, 02:00 PM   #1
Registered: Jan 2009
Location: New York
Distribution: Red Hat, CentOS,Fedora, Ubuntu, SUSE, linux mint
Posts: 60

Rep: Reputation: 0
Server restarted but uptime shows different output


I have an oracle application server, our application processes got killed suddenly for some reason....when i checked the /var/log/messages this is what is saw:

Oct 9 04:02:05 adc212-ldb syslogd 1.4.1: restart.

But the uptime gives me a different output :

14:47:53 up 42 days, 20:55, 6 users, load average: 0.41, 0.43, 0.72

And last reboot was at :
reboot system boot 2.6.18-194.el5 Sun Aug 28 17:54 (42+20:54)

Did anyone experience anything similar to this ? any reasons why this would happen, would it be a wrong sysctl.conf setting ?

These are my current settings:

## Kernel Parameters for Application Server
kernel.shmmax = 16850616320
kernel.sem = 250 320000 100 1024
kernel.msgmni = 2878
kernel.msgmnb = 65535
kernel.msgmax = 65536
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 262144
net.ipv4.ip_local_port_range = 9000 65500

When i run sosreport i get the below message.

One or more plugins have detected a problem in your configuration.
Please review the following messages:

* one or more processes are in state D (sosreport might hang)

Please advise, if you have any opinions about this.

Thank You
Sam Pappachan
Old 10-10-2011, 02:15 PM   #2
Senior Member
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
Oct 9 04:02:05 adc212-ldb syslogd 1.4.1: restart.
that just says that syslogd was restarted, not that the server was rebooted.
Old 10-10-2011, 02:16 PM   #3
Registered: Aug 2010
Location: Atlanta
Distribution: ubuntu, debian
Posts: 142
Blog Entries: 2

Rep: Reputation: 22
I think that just means syslog got restarted. It happened 4:02am sunday morning, which is the default time for daily cronjobs in /etc/cron.daily. I'd guess it's a result of logrotate, and it stopped syslog so there was no gap in log files during the rotate.
Old 10-10-2011, 03:32 PM   #4
Registered: Jan 2009
Location: New York
Distribution: Red Hat, CentOS,Fedora, Ubuntu, SUSE, linux mint
Posts: 60

Original Poster
Rep: Reputation: 0
Yes i think so too, probably just the syslogd service was restarted, just fyi.. i think this could be a problem with memory limits setup for oracle user. I setup hard and soft limits for oracle user to only use 90% of the total memory. i am still waiting on red hat support's feedback, will post if they find anything different...

Thank You
Sam Pappachan


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
uptime cmd shows 5 users but thats wrong thoron! Slackware 7 02-21-2012 02:58 PM
Tool that shows in the logs when a system panicked, restarted unscheduled? browny_amiga Linux - General 2 01-05-2011 08:27 PM
How to tell who or what restarted a server rjo98 Linux - Newbie 3 10-02-2010 10:27 PM
Uptime/shutdown question - server restarted without my permission hedron Slackware 7 12-05-2009 01:39 AM
uptime shows 3 users on system when there is only me. Is this normal? MichaelD Linux - Security 3 05-21-2005 11:05 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:57 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration