Apache segmentation fault

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
faris
Long Time Forum Regular
Long Time Forum Regular
Posts: 2321
Joined: Thu Dec 09, 2004 11:19 am

Unread post by faris »

Hmm... but thinking about it, Scott has httpd-debuginfo installed and he was still getting segfaults.

However, I think it may be related to moving bits of memory around, and the amount of memory installed and stuff like that.

Faris.
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>
hostingguy
Forum Regular
Forum Regular
Posts: 661
Joined: Mon Oct 29, 2007 6:51 pm

Unread post by hostingguy »

aus-city wrote:Its STILL behaving :(
This is the only time I can remember where some one reported that something was working with a frown :p
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

Haha :P we were trying to get a repeatable environment of it crashing so we could test fixes.
faris
Long Time Forum Regular
Long Time Forum Regular
Posts: 2321
Joined: Thu Dec 09, 2004 11:19 am

Unread post by faris »

I think I can add a little more info now, though in a relatively non-technical and somewhat "guessful" way.

From my monitoring of memory usage and segfaults, it would appear that one possible cause of the problem is that apache is failing to release memory it no longer needs, or at any rate is getting confused when it comes to memory.

Where this comes into the equation, and why adding the debug stuff solves the problem for some people is beyond my knowledge.


Faris.
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>
aus-city
Forum Regular
Forum Regular
Posts: 685
Joined: Thu Oct 26, 2006 11:56 pm

Unread post by aus-city »

faris,

Its still behaving with the debug running - go figure it must be changing the memory enough its not happening anymore.
hostingguy
Forum Regular
Forum Regular
Posts: 661
Joined: Mon Oct 29, 2007 6:51 pm

Unread post by hostingguy »

Are you guys using the httpd-2.2.3-11.el5_2.centos.4 build ?
faris
Long Time Forum Regular
Long Time Forum Regular
Posts: 2321
Joined: Thu Dec 09, 2004 11:19 am

Unread post by faris »

No.

I'm on httpd-2.0.63-2.el4s1.centos.2 for these particular ones.

I think this is from the centosplus repo (for centos 4)

Faris.
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>
hostingguy
Forum Regular
Forum Regular
Posts: 661
Joined: Mon Oct 29, 2007 6:51 pm

Unread post by hostingguy »

are you able to use the 2.2.x branch on centos/rhel 4 or are you limited to 2.0 ?

is the problem only occuring on 2.0 ?
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

neat, I hadn't been tracking the 2.2.x packages for C4. Does that work with Plesk?
faris
Long Time Forum Regular
Long Time Forum Regular
Posts: 2321
Joined: Thu Dec 09, 2004 11:19 am

Unread post by faris »

We are starting to see segfaults again, but only occasionally. I had put a freeze on updating the rules since this started, but recently did some updates.

Although I'm still disabling the domain-blacklists I guess the other rules files have increased in size or complexity since I last updated.

Over the weekend I'm going to try adding the debug thing to see if that helps.

There also seems to be a new version of httpd for centos. Who knows, that may also help.

Faris.
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>
hostingguy
Forum Regular
Forum Regular
Posts: 661
Joined: Mon Oct 29, 2007 6:51 pm

Unread post by hostingguy »

scott wrote:neat, I hadn't been tracking the 2.2.x packages for C4. Does that work with Plesk?
Seems to work ok. I get only a couple of seg faults across a lot of servers and am not sure it even applies to this situation.
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

Thats awesome, where did that come from, centosplus?
User avatar
mikeshinn
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 4155
Joined: Thu Feb 07, 2008 7:49 pm
Location: Chantilly, VA

For those that see the segfaults

Unread post by mikeshinn »

What apache modules are you using? We've found that mod_memcache definitely causes this to happen on all systems its used on.
faris
Long Time Forum Regular
Long Time Forum Regular
Posts: 2321
Joined: Thu Dec 09, 2004 11:19 am

Unread post by faris »

removing mod_memcache doesn't seem to have any effect with respect to the segfaults on VPSes.

And as I recall it didn't have any effect on hostinguy's dedicated server either.
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>
User avatar
mikeshinn
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 4155
Joined: Thu Feb 07, 2008 7:49 pm
Location: Chantilly, VA

Any other modules installed?

Unread post by mikeshinn »

And does this only happen with VPS systems?
Post Reply