vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   Apache crashes? (https://vborg.vbsupport.ru/showthread.php?t=178544)

snunhuck 05-08-2008 02:46 PM

Apache crashes?
 
Hi, I seem to have a really wierd problem here. For a long time now, everytime I wake up in the morning, I have to restart httpd (apache 2.0.63).

The reason behind this is that the server fails to serve PHP pages, so the forum on the server is innaccessible. Checking the child thread processes, only 52 at maximum is formed. The server itself is fine and responds well, but it just fails to serve Apache pages.

One of my staff has noticed that it stops serving PHP pages between approximately 10:40 and 10:45 EST (what time is this GMT?)

What is going on?

I'm in a CentOS 4 VPS, with 386 RAM, cPanel/WHM (VPS Optimized). 10GB Hard drive.

Paul M 05-08-2008 04:20 PM

What do the logs say ?

snunhuck 05-08-2008 06:56 PM

The logs don't show anything abnormal - in fact, they don't really show apache crashing. All seems normal in it. I'll post a copy in the morning if is crashes.

kermitklein 05-08-2008 07:45 PM

I had the same problem some time ago, something was using all the memory available and that was the reason. The logs didn't say anything too.

If you can install software on your server I recommend you to install webmin, and then configure one monitor on Apache to issue a restart command when it detects that the server is down.

Other -> System and Server Status -> Click on Apache Webserver ->

If monitor goes down, run command -> apachectl -k restart

This is doing the job for me...

roger

Lynne 05-08-2008 07:45 PM

Not the apache logs for you site, the actual apache log itself. For instance, mine is located at /etc/httpd/logs/error_log

DieselMinded 05-08-2008 08:07 PM

When my old server did this i exceeded my Database Size

Do you have your Attachments in the File System ?

snunhuck 05-08-2008 08:47 PM

Ty all - the attachments are in the file system :) I'll install webmin - and I'll check the apache log right now :)

--------------- Added [DATE]1210287396[/DATE] at [TIME]1210287396[/TIME] ---------------

There don't seem to be any memory related issues, but I see a lot of this:

[Wed May 07 06:33:27 2008] [notice] child pid 21725 exit signal Segmentation fault (11)
[Wed May 07 06:33:38 2008] [notice] child pid 21734 exit signal Segmentation fault (11)
[Wed May 07 06:35:03 2008] [notice] child pid 11433 exit signal Segmentation fault (11)
[Wed May 07 06:36:53 2008] [notice] child pid 21985 exit signal Segmentation fault (11)
[Wed May 07 06:38:07 2008] [notice] child pid 21574 exit signal Segmentation fault (11)
[Wed May 07 06:40:07 2008] [notice] child pid 22170 exit signal Segmentation fault (11)
[Wed May 07 06:41:11 2008] [notice] child pid 24311 exit signal Segmentation fault (11)
[Wed May 07 06:43:16 2008] [notice] child pid 26310 exit signal Segmentation fault (11)
[Wed May 07 06:43:22 2008] [notice] child pid 22143 exit signal Segmentation fault (11)

--------------- Added [DATE]1210289340[/DATE] at [TIME]1210289340[/TIME] ---------------

I think XCache is causing this - so I'll be removing that and replacing it with APC :)


All times are GMT. The time now is 01:04 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01107 seconds
  • Memory Usage 1,722KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete