#872036 AH00060: seg fault or similar nasty error detected in the parent process

Package:
apache2-mpm-event
Source:
apache2
Submitter:
lkcl
Date:
2025-08-01 21:27:02 UTC
Severity:
important
Tags:
#872036#5
Date:
2017-08-13 16:35:38 UTC
From:
To:
i have a slightly off-the-beaten-track setup on a live-running i386 (not amd64)
server which has (had) apache-mpm-event activated using the standard
debian configuration for that module.

there was (is) absolutely NO threading modules enabled or in use with
the exception of google's mod_pagespeed, where the developers inform
me that they do regular testing of mod_pagespeed in both the mpm-event
and mpm-worker configuration

the modules utilised for the main web serving are mod-fcgid (WSGI) and
standard CGI-bin for running PGP (not the normal way to do it but it
works very well with mpm_worker and mpm_event).  the FCGI application
is a python2.7 WSGI web service NOT USING ANY FRAMEWORK.  it uses
absolutely standard python 2.7 modules that come *with* python, such
as the cgi module and other standard HTML-parsing and processing modules,
where absolutely no use of threading is made whatsover.  mysql access
is performed with python-mysqldb, and, again, does not use any threading
of any kind.

unfortunately it is not... convenient... to do experimentation on the
live server.  this is more of an "informational" report that "Something
Bad Happened" - apache2 segfaulted and left the customer completely
without service... twice.... and switching off apache2-mpm-event
and going back to apache2-mpm-prefork "solved" the problem.

it's also worth noting that absolutely no problems whatsoever have been
noted with prefork.  stable as a rock, both before mod_pagespeed was
deployed and after.

#872036#10
Date:
2017-08-19 11:18:58 UTC
From:
To:
ok so a little more info here: the segfault occurs *directly* after a
logrotate-inspired signal is received.

[Sat Aug 19 06:25:37.746265 2017] [mpm_event:notice] [pid 21345:tid
3074504512] AH00493: SIGUSR1 received.  Doing graceful restart
[Sat Aug 19 06:25:39.647852 2017] [core:notice] [pid 21345] AH00060:
seg fault or similar nasty error detected in the parent process

an attempt to get more information by using mod_pagespeed's crash
handler *failed*.  one of the developers mentioned that there's an
option to get stack trace output put into the error logs, but
bizarrely (no explanation yet) we got.... absolutely no output when
the segfault occurred: just the standard apache2 AH00060 notice.

this is all very strange.... and i can't keep risking a live-running
client's system by using unstable software.  so, apologies, i'm going
to have to return to using mpm_prefork (i.e. can't risk doing further
tests with mpm_event on the live system).  performance was
*significantly* degraded around the time of the segfault.

#872036#15
Date:
2017-11-06 12:48:07 UTC
From:
To:
  Apparently this can be caused by something like logrotate sending many
"reload" signals to apache in quick succession:

<https://access.redhat.com/solutions/2626601>

I experienced such an apache crash this morning when the logs were
rotated.  I've now adjusted my logrotate config to only reload apache
once (despite many sections for different web site's logs, some of which
have specifically different user/group settings for the files) and will
see if that avoids another crash tomorrow.

#872036#20
Date:
2017-11-08 13:33:24 UTC
From:
To:
  mpm-event based apache has now survived two nightly runs of logrotate
doing '/etc/init.d/apache2 reload' since I ensured it will only do that
once per run.

  So what is it about mpm-event that causes apache2 to crash when
multiple '/etc/init.d/apache2 reload' invocations happen in very quick
succession ?  Smells like an upstream bug, yes ?
  Not that I can seem to reproduce this with:

COUNT=1 ; while [ $COUNT -lt 80 ] ; do ( /etc/init.d/apache2 reload &); COUNT=`expr $COUNT + 1` ; done

  Perhaps it's not just the rapid reloads, but combining those with
needing to create new log files ?

Although it does leave me with only processes like:

	/usr/sbin/apache2 -k graceful

running, rather than the more usual:

	/usr/sbin/apache2 -k start

And some instances of the init.d script complaining "Apache2 is not
running" on subsequent invocations.

#872036#25
Date:
2018-02-15 09:26:57 UTC
From:
To:
Laba diena,


Noriu Jus informuoti apie šių metų pasikeitimą dėl atnaujintos visos Lietuvos įmonių bazės 2018 metų sausio vidurio.
Visi juridiniai asmenys pateikti bazėje yra veikiantys, realiai vykdantys veiklą, turintys įdarbintų darbuotojų. Duomenys pagal Sodrą, Registrų centrą.

Bazėje nurodoma ir apyvarta, darbuotojų atlyginimai, darbuotojų skaičius, transporto skaičius ir daug kitų duomenų, kuriuos matysite pavyzdyje.

Duomenis galima filtruoti pagal veiklas, miestus ir kitus duomenis.


Šią bazę verta turėti visoms įmonėms. Pateiksiu priežastis:

1) Kontaktai pateikti bazėje direktorių ir kitų atsakingų asmenų, didelė tikimybė Jums surasti naujų klientų, partnerių, tiekėjų, kai tiesiogiai bendrausite su direktoriais, komercijos vadovais.

2) Konkurentų analizavimas, tiekėjų atsirinkimas pagal Jums reikalingus kriterijus, galite atsifiltruoti pagal įmonės dydį, bazėje nurodoma kiek įmonės skolingos Sodrai.

3) Lengva, greita ir patogu dirbti su šia baze, elektroninius pašto adresus galite importuoti į elektroninių laiškų siuntimo programas ar sistemas iš kurių siunčiate elektroninius laiškus.
Taip pat galite importuoti mobiliųjų telefonų numerius į SMS siuntimo programas.


Išsirinkite iš "Veiklų sąrašo" veiklas kurių Jums reikia.
( Sąrašas prisegtas laiške excel faile )

Parašykite, kurias veiklas išsirinkote
ir atsiųsime pavyzdį ir pasiūlymą su sąlygomis įmonių bazei įsigyti



Pagarbiai,
Tadas Giedraitis
Tel. nr. +37067881041

#872036#30
Date:
2018-08-21 15:17:32 UTC
From:
To:
This sounds a lot like
https://bugzilla.redhat.com/show_bug.cgi?id=1376835 which includes a
potential patch (unfortunately no indication if this got upstreamed,
or whether it's reproducible with newer Apache releases).

#872036#35
Date:
2018-12-10 08:48:51 UTC
From:
To:
In case that helps, I just noticed a similar error.

I have a maintenance script that

- modifies a config file to put the application in maintenance mode
- systemctl reload apache2
- performs database maintenance
- sets the old config back
- systemctl reload apache2

When using this on a new installation where the DB is empty, the
maintenance task takes an instant, and the script basically does

     systemctl reload apache2; systemctl reload apache2

which is enough to reproduce the crash.


Jeremy Stanley wrote:

This bug report reads :

However, I'm using Debian Stretch's 2.4.25-3+deb9u6 so AFAIU, this
should include the patch.


Unless there is something specific to my configuration, the issue can be
easily reproduced with

     systemctl reload apache2; systemctl reload apache2

When adding a sleep of a few hundreds milliseconds in between, the crash
does not happen.

Also worth noting that despite the error message, apache is up and
running at the end of the process, so AFAICT, this is just noise in the
logs.

#872036#40
Date:
2019-06-17 07:37:49 UTC
From:
To:
Hello,

Our partners referred your company to us. Regarding your great products.
Please see required products, quantity and specifications as attached.

Kindly give us your lowest possible prices for FCL shipment.


Best Regards,

Wanda Rodriguez
Purchase Assistant

Hidroconta Trading Ltd.
Av. de Sta. Catalina,
60, 30012 Murcia, Spain
Phone: +34 968 26 77 66
Fax: +34 968 26 77 06

#872036#45
Date:
2020-05-03 15:10:39 UTC
From:
To:

#872036#50
Date:
2020-05-10 08:34:21 UTC
From:
To:
Good day,

My associate from China wants to discuss a business investment deal with
you. I awaiting your response to enable us discuss about this business
investment

Nael M. Al Homoud
Executive Director & High Investment Committee Member@
The Arab Investment Co
www.taic.com [1]



Links:
------
[1] http://www.taic.com

#872036#55
Date:
2021-09-24 07:40:18 UTC
From:
To:
Dzień dobry,

kontaktuję się z Państwem, ponieważ dostrzegam możliwość redukcji opłat za prąd.

Odpowiednio dobrana instalacja fotowoltaiczna to rozwiązanie, które pozwala wygenerować spore oszczędności w skali roku.

Chciałbym porozmawiać z Państwem o tego typu rozwiązaniu, a także przedstawić wstępne kalkulacje.

Czy są Państwo zainteresowani?

Pozdrawiam,
Dorian Kwiatkowski

#872036#60
Date:
2021-10-14 07:36:04 UTC
From:
To:
Dzień dobry,

jakiś czas temu zgłosiła się do nas firma, której strona internetowa nie pozycjonowała się wysoko w wyszukiwarce Google.

Na podstawie wykonanego przez nas audytu SEO zoptymalizowaliśmy treści na stronie pod kątem wcześniej opracowanych słów kluczowych. Nasz wewnętrzny system codziennie analizuje prawidłowe działanie witryny.  Dzięki indywidualnej strategii, firma zdobywa coraz więcej Klientów.

Czy chcieliby Państwo zwiększyć liczbę osób odwiedzających stronę internetową firmy? Mógłbym przedstawić ofertę?


Pozdrawiam serdecznie,
Patryk Górecki

#872036#65
Date:
2021-10-20 07:45:32 UTC
From:
To:
Dzień dobry,

jakiś czas temu zgłosiła się do nas firma, której strona internetowa nie pozycjonowała się wysoko w wyszukiwarce Google.

Na podstawie wykonanego przez nas audytu SEO zoptymalizowaliśmy treści na stronie pod kątem wcześniej opracowanych słów kluczowych. Nasz wewnętrzny system codziennie analizuje prawidłowe działanie witryny.  Dzięki indywidualnej strategii, firma zdobywa coraz więcej Klientów.

Czy chcieliby Państwo zwiększyć liczbę osób odwiedzających stronę internetową firmy? Mógłbym przedstawić ofertę?


Pozdrawiam serdecznie,
Patryk Górecki

#872036#70
Date:
2021-11-08 08:40:58 UTC
From:
To:
Dzień dobry!

Czy mógłbym przedstawić rozwiązanie, które umożliwia monitoring każdego auta w czasie rzeczywistym w tym jego pozycję, zużycie paliwa i przebieg?

Dodatkowo nasze narzędzie minimalizuje koszty utrzymania samochodów, skraca czas przejazdów, a także tworzenie planu tras czy dostaw.

Z naszej wiedzy i doświadczenia korzysta już ponad 49 tys. Klientów. Monitorujemy 809 000 pojazdów na całym świecie, co jest naszą najlepszą wizytówką.

Bardzo proszę o e-maila zwrotnego, jeśli moglibyśmy wspólnie omówić potencjał wykorzystania takiego rozwiązania w Państwa firmie.


Z poważaniem,
Dawid Rowicki

#872036#75
Date:
2021-11-18 08:45:59 UTC
From:
To:
Dzień dobry!

Czy mógłbym przedstawić rozwiązanie, które umożliwia monitoring każdego auta w czasie rzeczywistym w tym jego pozycję, zużycie paliwa i przebieg?

Dodatkowo nasze narzędzie minimalizuje koszty utrzymania samochodów, skraca czas przejazdów, a także tworzenie planu tras czy dostaw.

Z naszej wiedzy i doświadczenia korzysta już ponad 49 tys. Klientów. Monitorujemy 809 000 pojazdów na całym świecie, co jest naszą najlepszą wizytówką.

Bardzo proszę o e-maila zwrotnego, jeśli moglibyśmy wspólnie omówić potencjał wykorzystania takiego rozwiązania w Państwa firmie.


Z poważaniem,
Dawid Rowicki

#872036#80
Date:
2021-12-14 08:30:53 UTC
From:
To:
Dzień dobry,

kontaktuje się z Państwem, ponieważ jako osoba zajmująca się usprawnieniem procesów, chciałbym zaprezentować nowoczesne rozwiązanie dla Państwa firmy.

System został stworzony z myślą o przedsiębiorstwach z sektora MŚP, aby zapewnić bezpieczeństwo danych, niezawodność i optymalizację procesów. Dzięki bogatym funkcjonalnościom usprawnia i przyspiesza obsługę zleceń.

Jeśli chcieliby Państwo zwiększyć tempo rozwoju swojej działalności i poszerzyć rynek zbytu chętnie opowiem więcej. Kiedy mogę się skontaktować?


Pozdrawiam,
Arkadiusz Stryj

#872036#85
Date:
2021-12-14 08:30:11 UTC
From:
To:
Dzień dobry,

zapoznałem się z Państwa ofertą i z przyjemnością przyznaję, że przyciąga uwagę i zachęca do dalszych rozmów.

Pomyślałem, że może mógłbym mieć swój wkład w Państwa rozwój i pomóc dotrzeć z tą ofertą do większego grona odbiorców. Pozycjonuję strony www, dzięki czemu generują świetny ruch w sieci.

Możemy porozmawiać w najbliższym czasie?


Pozdrawiam
Adam Furgalski

#872036#46
Date:
2025-08-01 21:25:14 UTC
From:
To:
control: tags -1 + moreinfo
control: tags -1 + unreproducible

Hi,

Can you give me moreinformation with recent apache ?