LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-29-2017, 04:25 AM   #1
Alexandertheog
LQ Newbie
 
Registered: Mar 2017
Posts: 2

Rep: Reputation: Disabled
Post Linux Server crashing 2 till 3 times a day


Hey Guys

So our Linux server keep crashing a couple times a day. We are currently renting the server through an external company. I've contacted our provider and they cannot seem to find the problem. Although I did manage to get a crash log.

Do any of you guys have experience with this issue ?
66.102.9.19 - - [17/Feb/2017:09:58:20 +0100] "GET / HTTP/1.0" 500 561 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.75 Safari/537.36 Google Favicon"
66.102.9.8 - - [17/Feb/2017:09:58:16 +0100] "GET / HTTP/1.0" 500 564 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.75 Safari/537.36 Google Favicon"
66.102.9.29 - - [17/Feb/2017:09:58:16 +0100] "GET / HTTP/1.0" 500 564 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.75 Safari/537.36 Google Favicon"
66.102.9.5 - - [17/Feb/2017:09:58:28 +0100] "GET / HTTP/1.0" 500 564 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.75 Safari/537.36 Google Favicon"
66.102.9.27 - - [17/Feb/2017:09:58:28 +0100] "GET / HTTP/1.0" 500 564 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.75 Safari/537.36 Google Favicon"
66.102.9.5 - - [17/Feb/2017:09:58:50 +0100] "GET / HTTP/1.0" 500 564 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.75 Safari/537.36 Google Favicon"
66.102.9.27 - - [17/Feb/2017:09:58:57 +0100] "GET / HTTP/1.0" 500 564 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.75 Safari/537.36 Google Favicon"
66.102.9.8 - - [17/Feb/2017:09:58:07 +0100] "GET / HTTP/1.0" 503 1374 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.75 Safari/537.36 Google Favicon"
66.102.9.27 - - [17/Feb/2017:09:58:07 +0100] "GET / HTTP/1.0" 503 1374 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.75 Safari/537.36 Google Favicon"

Hope you can help me out

Cheers from Denmark!
 
Old 03-29-2017, 04:51 AM   #2
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 217Reputation: 217Reputation: 217
This is an access log, sure it is returning things in the 500s (internal server error/service unavailable), but that'll give you no answer to what you are looking for.

I think you needa give more information, what distribution are you using, what web daemon and please describe what you mean by the "server keeps crashing"? As I doubt you mean the server is rebooting/restarting.
 
Old 03-29-2017, 05:40 AM   #3
Alexandertheog
LQ Newbie
 
Registered: Mar 2017
Posts: 2

Original Poster
Rep: Reputation: Disabled
@r3sistance

Hi r3sistance

Thanks for the fast respond. I wasn't aware of that, but the problem is that we are hosting alot of websites and the server keep going down 2 - 3 a day. In the beginning we though it was a RAM problem but after upgrading that the problem does still occur. After the RAM upgrade we experienced a change in the crashing. Beforehand we had to restart the server when it went down by calling our external server company, but after the upgrade it seems like it crashing and restarting by its self a process that take around 2-5 mins.
But ill immediately contact our server provider and see if the can give me more information, as I understand that the access log cant be used to much.
Ill keep you guys updated !

Best Regards
Alexander
 
Old 03-29-2017, 06:06 AM   #4
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 217Reputation: 217Reputation: 217
Hi Alexander,

No problem, you haven't said what distribution you are using, but one thing to check will be the uptime. The uptime command is the simple method to do this but will only show you how long the server has currently been up. To get a better idea of if the server is actually crashing/rebooting, then I would recommend getting the output of the last command with the -x flag

Code:
$ last -x | grep -v pts
runlevel (to lvl 3)   3.10.0-327.el7.x Fri Mar 17 00:38 - 12:05 (12+10:26)
reboot   system boot  3.10.0-327.el7.x Fri Mar 17 00:37 - 12:05 (12+10:27)
runlevel (to lvl 3)   3.10.0-327.el7.x Tue Jan  1 00:01 - 00:38 (5554+00:37)
reboot   system boot  3.10.0-327.el7.x Tue Jan  1 00:01 - 12:05 (5566+11:04)
shutdown system down  3.10.0-327.el7.x Mon Jan 16 22:12 - 00:01 (-5494+-22:-
runlevel (to lvl 3)   3.10.0-327.el7.x Mon Jan 16 20:47 - 22:12  (01:24)
reboot   system boot  3.10.0-327.el7.x Mon Jan 16 20:46 - 22:12  (01:25)
runlevel (to lvl 3)   3.10.0-327.el7.x Sun Jan 15 10:36 - 20:47 (1+10:10)
reboot   system boot  3.10.0-327.el7.x Sun Jan 15 10:36 - 22:12 (1+11:36)
runlevel (to lvl 3)   3.10.0-327.el7.x Mon Jan  9 18:26 - 10:36 (5+16:09)
reboot   system boot  3.10.0-327.el7.x Mon Jan  9 18:26 - 22:12 (7+03:45)
runlevel (to lvl 3)   3.10.0-327.el7.x Thu Dec  1 06:38 - 18:26 (39+11:48)
 
Old 03-29-2017, 02:53 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,981

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
Try to access /var for any other logs maybe??
 
  


Reply



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
several times a day "server DNS address could not be found" for 5 mins (Xen-Hosted Debian) oneindelijk Linux - Networking 1 07-19-2016 10:30 AM
? high server load + sites being unaccessible so many times in the day woshka Linux - Server 22 12-05-2009 12:20 PM
If a script is already running 3 times wait till one finishes before starting another Techno Guy Linux - Newbie 3 04-21-2009 07:58 PM
Server crashing once a day. CentOS 4.4 Kandahar Linux - General 5 09-25-2008 09:16 PM
My system is crashing 5 times a day! Is linux really more stable than windows? little_penguin Linux - Software 25 07-29-2005 04:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:26 PM.

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