Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: CentOS halt time to time
PostPosted: Wed Apr 01, 2009 10:24 am 
Offline

Joined: Wed Apr 01, 2009 10:16 am
Posts: 1
Hello, linode community,

this is my first post to this forum. here is my problem:

I'm running centos on linode 360. I have several sites which doesn't get more thatn 70GB traffic each month. The "biggest" site I host is an web rss reader. Time to time my centos halts, and I have to login in linode panel to reboot it. I did several things I found in the wiki: apache linode optimization, then I increased the value ot max open files, even stopped the planetplanet python deamon (which I doubt is the problem).

So my question is.. how to debug this halts? After reboot I can't find anything in the logs..

Any ideas will be very welcomed because now I get nightmares that my server might be down :)

Greetings,
hash h8r


Top
   
 Post subject:
PostPosted: Wed Apr 01, 2009 10:28 am 
Offline
Senior Member
User avatar

Joined: Sat Oct 16, 2004 11:13 am
Posts: 176
If the server freezes again, try and look at the console through LISH. You will probably get some sort of error message on the console if the kernel panics.


Top
   
 Post subject:
PostPosted: Thu Sep 24, 2009 1:06 pm 
Offline
Senior Newbie

Joined: Wed Apr 22, 2009 12:24 am
Posts: 11
I am having exactly the same problem.

Was you able to fix it?

I am looking for a solution to this problem in the last two weeks... not sure why this started to happen very often, I need to reset the server from Linode account panel.

I am using CentOS 5.3 (final)

Thanks.


Top
   
 Post subject:
PostPosted: Thu Sep 24, 2009 1:07 pm 
Offline
Senior Newbie

Joined: Wed Apr 22, 2009 12:24 am
Posts: 11
I have a Linode 560 box, running CentOS and only need Apache, PHP and MySQL in that server.

Julian


Top
   
 Post subject:
PostPosted: Thu Sep 24, 2009 9:32 pm 
Offline
Senior Member
User avatar

Joined: Sun Jan 18, 2009 2:41 pm
Posts: 830
You may need to lower the MaxClients directive for Apache. The correct number depends on what exactly you're running, but one Linode 360 I manage running CentOS, MySQL, and Apache/MediaWiki works well at MaxClients 25. The default for the prefork MPM is 256, which is too large for most Linodes, which tend to be memory-limited.


Top
   
 Post subject:
PostPosted: Thu Sep 24, 2009 9:52 pm 
Offline
Senior Member
User avatar

Joined: Tue Apr 13, 2004 6:54 pm
Posts: 833
There is an occasional linode problem. Just the other day my (CentOS) instance froze. Not an application issue, not a memory issue. Nothing on the console. Won't respond to pings. Nothing. Just a freeze. Hard reboot required.

What causes it, I don't know. There's never anything logged. Activity before the freeze appears nominal. Definitely no OOM issue or death-swap.

Which makes me think it's a kernel or Xen issue.

It's infrequent, but still non-zero.

_________________
Rgds
Stephen
(Linux user since kernel version 0.11)


Top
   
 Post subject:
PostPosted: Sat Sep 26, 2009 1:23 am 
Offline
Senior Member

Joined: Sun Aug 02, 2009 1:32 pm
Posts: 222
Website: https://www.barkerjr.net
Location: Connecticut, USA
Yeah, and what's even weirder is that the past two days' /var/log/messages was missing. It was only locked up for 3 hours, but missing two days' worth of logs. Something in the disk must have had problems.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group