Technology Tools for Ministry

Community

Web-Empowered Church User Community
All Categories > Getting Started > Hosting > Server overload cpu @ 100%
Total Posts: 7 - Pages (1): [1]
Author: Jack Saunders
Posted: Jan 04 2008 - 08:51 AM
Subject: Server overload cpu @ 100%
I decided to go finally replace our church old website with the new WEC. All I did was have the hosting provider move all files in /www/wec/ to /www/. Before hand ofcourse all of the old web site files were removed. The website urls were not being resolved correctly so I found the .htaccess file was not present so I uploaded a new one from the WEC install package. The url issue was resolved but a few hours later the hosting provider contacted me and stated the .htaccess file was removed due to a loop condition causing a major load on the server of 100% on the cpu. All of this was working fine before the file and folder move.

The only change I made to typo3 was the site url. I removed the /wec/ from the url string. Should other changes be made due to the move.

The church site is completely down now so any help is much appreciated.

Thanks,
Jack
Author: Jack Saunders
Posted: Jan 04 2008 - 09:37 AM
Subject: re: Server overload cpu @ 100%
Output from WEC Server Check.
-= PHP Scripting Test =-
OS Linux Passed
Version 4.4.4 Passed
Server API apache Passed
Max Execution Time 30 Passed
Memory Limit 38388608 Passed
Max Upload Filesize 2097152 Warning
Max upload file size is lower than the TYPO3 default. Consider raising
upload_max_filesize to at least 10M. This can be set in the php.ini configuration
file if you can access it, or ask your hosting company to do so.
Required Functions success Passed
max_traversal success Passed

-= Email Test =-
email sending via mail() info Warning

-= MySQL Database Test =-
Status Running Passed
Client Version 4.0.26 Passed
SQL Safe Mode Passed
Persistent connection Success Passed
Server Version 4.0.26 Passed
Host Info Localhost via UNIX socket Passed

-= File Permissions Test =-
777 Permissions allowed Yes Passed
Minimum write permissions 0755 Passed
Symlinks Success Warning
When you install TYPO3, either use the .zip package or make sure that you copy the
index.php file from typo3_src to the TYPO3 root.

-= Apache Web Server Test =-
Version 1.1.2 Passed
mod_rewrite unable to determine this setting due to the server configuration Warning
mod_security not found Passed
Allow Override Success Passed
Rewrite URLs success Passed

-= Graphics Test =-
GD library found Passed
GraphicsMagick library failed Failed
GraphicsMagick not installed
ImageMagick library found Passed
Author: Jeff Segars
Posted: Jan 04 2008 - 09:39 AM
Subject: re: Server overload cpu @ 100%
Jack,
If you're on a very recent version of the Starter Package, there's may be a file at typo3conf/realurl_autoconf.php with cached RealURL settings. I would suggest deleting this file, which will cause all the settings to be generated freshly again.

Once you delete the file, the best test is to access a non-existent URL on your site (ie. mysite.com/abcd) and make sure the 404 page loads. I'd let your host know you're doing this, because if it doesn't work it will do the exact same looping again.

(We just got bit by this same thing last night, so its fresh on our mind here)

Thanks,
Jeff
Author: Jack Saunders
Posted: Jan 04 2008 - 09:53 AM
Subject: re: re: Server overload cpu @ 100%
The file typo3conf/realurl_autoconf.php does not exist. I am running the following version "wec_starter-4_1_2-1_0_0".

Thanks for the quick response!
Author: Jeff Segars
Posted: Jan 04 2008 - 10:32 AM
Subject: re: Server overload cpu @ 100%
Jack,
If you don't mind giving me a temporary backend login, I'll be happy to jump in and see if anything is out of the ordinary. Just shoot me an email with the login info.

Thanks,
Jeff
Author: Jack Saunders
Posted: Jan 04 2008 - 07:17 PM
Subject: re: re: Server overload cpu @ 100%
The file typo3conf/realurl_autoconf.php does not exist. I am running the following version "wec_starter-4_1_2-1_0_0".

Thanks for the quick response!
Author: Jack Saunders
Posted: Jan 05 2008 - 09:14 AM
Subject: re: Server overload cpu @ 100%
Thank you Jeff for resolving my issue. Below is the solution quoted by Jeff.

It looks like the TYPO3 page for handling "Page Not Found" errors got deleted. When TYPO3 can't find a URL, it tries to load this "Page Not Found" page. When that page can't be found, it tries to load the "Page Not found" page, which we already know is missing. This cycle repeats and you can see how we quickly overload the CPU.


I checked the wastebasket and found the Page Not Found there, so I went ahead and restored it
Total Posts: 7 - Pages (1): [1]
You must login to post a message to this conference.