Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Apache/PHP - segmentation fault
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish)
View previous topic :: View next topic  
Author Message
nookie_pl
n00b
n00b


Joined: 24 Apr 2006
Posts: 34

PostPosted: Fri May 19, 2006 6:55 am    Post subject: [solved] Apache/PHP - segmentation fault Reply with quote

Witam,

Od jakiegoś czasu wywala mi się Apache z segmentation faultem. Jak zrestartuje Apache'a to wszystko wraca do normy, na jakieś 24 h, potem (po ok. 24 h) znowu prawie każdy request kończy się wgraniem połowy (PHP) strony i segmentation faultem w error_logu Apache'a. Co może być tego przyczyną?

Apache 2.0.58
PHP 5.1.4
eAccelerator 0.9.5_beta2


Last edited by nookie_pl on Wed Jul 05, 2006 11:48 am; edited 1 time in total
Back to top
View user's profile Send private message
qermit
Veteran
Veteran


Joined: 02 Feb 2005
Posts: 1032

PostPosted: Fri May 19, 2006 7:37 am    Post subject: Reply with quote

być może musisz php jeszcze raz skompilować, albo jakiś inny moduł apache, który dodatkowo instalowałeś.
_________________
"A co ty masz w swoim LinuXie?" - Dr Qermit
Back to top
View user's profile Send private message
kruszon
n00b
n00b


Joined: 30 Oct 2005
Posts: 5

PostPosted: Fri May 19, 2006 10:51 am    Post subject: Reply with quote

Witam,

możesz też spróbować użyć revdep-rebuild z gentoolkit:
Code:
revdep-rebuild -Dp

jeśli na liście pojawi się np. php albo jakiś moduł apache/php to daj
Code:
revdep-rebuild -D


Pozdrawiam
Back to top
View user's profile Send private message
nookie_pl
n00b
n00b


Joined: 24 Apr 2006
Posts: 34

PostPosted: Fri May 19, 2006 1:08 pm    Post subject: Reply with quote

@qermit: PHP rekompilowane już było. Ba, rekompilowałem i Apache'a. Nic nie dało.

@kruszon: revdep'a też już próbowałem, nic nie znalazł
Back to top
View user's profile Send private message
kruszon
n00b
n00b


Joined: 30 Oct 2005
Posts: 5

PostPosted: Fri May 19, 2006 1:35 pm    Post subject: Reply with quote

Zobacz czy Ci nie cieknie pamiec - poobserwuj zajetosc pamieci/swapa przez Apache/PHP.
Nie dodawales ostatnio pamięci do tego komputera? Jesli tak to koniecznie memtest86+
Moze przyczyna jest eAccelerator - z tego co piszesz jest to wersja BETA.
Próbowałeś zrobić downgrade eAccelerator'a do 0.9.4?

Jeśli nic z powyższych to może debugowanie jakieś zrobić, ale tu Ci nie pomogę już :/
Back to top
View user's profile Send private message
RakuKrak
n00b
n00b


Joined: 15 Mar 2006
Posts: 26

PostPosted: Fri May 19, 2006 4:16 pm    Post subject: Re: Apache/PHP - segmentation fault Reply with quote

nookie_pl wrote:
Witam,

Od jakiegoś czasu wywala mi się Apache z segmentation faultem. Jak zrestartuje Apache'a to wszystko wraca do normy, na jakieś 24 h, potem (po ok. 24 h) znowu prawie każdy request kończy się wgraniem połowy (PHP) strony i segmentation faultem w error_logu Apache'a. Co może być tego przyczyną?

Apache 2.0.58
PHP 5.1.4
eAccelerator 0.9.5_beta2


Jakie masz zainstalowane (aktywne) moduły Apacha ??
Mi bw_mod odpalony powodował właśnie takie problemy.
_________________
################
Raku
Kraków
Back to top
View user's profile Send private message
nookie_pl
n00b
n00b


Joined: 24 Apr 2006
Posts: 34

PostPosted: Mon May 22, 2006 9:44 am    Post subject: Reply with quote

Nie chciałbym zapeszać, ale wczoraj rano zmieniłem i do teraz działa. Prawdopodobnie problemem byl eAccelerator i pamięć shm. Ustawiłem w konfigu eAcceleratora

eaccelerator.shm_prune_period="3600"

I nie widziałem żadnych segmentation faultów jak na razie. :)
Back to top
View user's profile Send private message
nookie_pl
n00b
n00b


Joined: 24 Apr 2006
Posts: 34

PostPosted: Tue May 23, 2006 8:31 am    Post subject: Reply with quote

Eh.. no i nic z tego. Dzisiaj znowu w error logu Apache'a segmentation faulty. :( *smark*
Back to top
View user's profile Send private message
frido
n00b
n00b


Joined: 03 Apr 2006
Posts: 40

PostPosted: Tue May 23, 2006 11:50 am    Post subject: Reply with quote

Sugerowalbym memtesta i/lub podmienienie pamieci ... . Jezeli sytuacja bedzie sie powtarzac to proponuje sobie uruchomic dodatkowe statystyki obciazenie procesora, pamieci i swapa. Moze to naprowadzi na wlasciwy trop.
Back to top
View user's profile Send private message
nookie_pl
n00b
n00b


Joined: 24 Apr 2006
Posts: 34

PostPosted: Wed Jul 05, 2006 11:47 am    Post subject: Reply with quote

Stary topic, ale ktoś może szukać, a nie ma tu odpowiedzi.

Problemem był eAccelerator i jego disk cache. W eaccelerator.ini ustawiłem shm_only na 1 i wszystko gra i bucy. :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) All times are GMT
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum