[操作疑難] centos apache每隔幾個鍾就hang一次

最近隻apache web server唔知點解每隔幾個鍾就load唔到個網頁,每次都要service httpd restart先解決問題,但我唔冇理由每日要人手restart咁多次.請問咁多位師兄,究竟我隻apache咩事?我應該可以點做?隻server係centos 6.9底行apache.Thank you

log rotate既bug?
以前apache試過每次log rotate後都會自炒stop左

TOP

Centos 6.9 版本真係太舊...
即使係Centos7 bundle 的packages 版本我有時都嫌舊...
真係做Webhost, 我建議用CentOS8 或 Debian10

TOP

log rotate既bug?
以前apache試過每次log rotate後都會自炒stop左
KinChungE 發表於 2020-11-23 16:57


log rotate係apache default set左?因為隻server係呢兩日先出事,每個鍾頭死一次,要service restart httpd先得

TOP

師兄,當出問題時有沒有看看apache service state和Log到底發生了甚麼事﹖

TOP

最近隻apache web server唔知點解每隔幾個鍾就load唔到個網頁,每次都要service httpd restart先解決問題,但 ...
kratos 發表於 2020-11-23 16:29


Centos 6 好似 EOL ?

TOP

回覆 6# Kin_2012

未EOL

TOP

同埋點解唔睇下log folder 有啲乜output?
default location /var/log/httpd

同埋好多時間 logratelogs (program) 唔係bug,係通常啲人pipe 佢嘅時候misconfigure/唔夠disk space 之類之後 apache 就將log嘅buffer放係memory,久而久之你就oom

TOP

回覆  Kin_2012

未EOL
chunkymunkey 發表於 2020-12-15 18:17


CENTOS 唔係咁講 ?

As has been announced everywhere for the past year (and more!) CentOS 6 has been moved to End Of Life (EOL) status as of November 30th, 2020. During the first week in December 2020, the 6.10 directory will move to vault.centos.org

Packages will still be available at: http://vault.centos.org/centos/6.10/. However, once moved, there will be no more updates pushed to vault.centos.org. Therefore, security issues will no longer be fixed.

https://wiki.centos.org/About/Product
https://blog.centos.org/2020/12/ ... december-2020-2012/

TOP

回覆 9# Kin_2012

係喎,不知不覺間已經年尾...

TOP