TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,223
  • Total Topics: 21,352
  • Online today: 633
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 200
  • Total: 201
  • @rjen

Internal Server Error 500 every 5 minutes

Started by youngjoonshi, July 07, 2006, 08:49:24 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

youngjoonshi

I don't know if this is TP related or not but it occured since TP was installed..

This is the help post I posted at the SMF support forum:

Quote(This is urgent! :'( :'()

Hi,

And before I start, yes, I contacted the hosting company (bluehost) first, they did everything they could, they restarted the servers, fixed the .htaccess file and so on and will no longer give support:

QuoteThe problem is resolved on the server, you may want to optimize your MySQL database or upgrade your versions. You may want to consult a developer or do some research on the matter of optimization, the server error is resolved and the admins are unable to find any issues with the server. We are not responsible for your coding or fixing the bad code which is on your account. We have corrected any issues on the server it is your responsiblity to resolve the coding issues.

I can't understand - what's causing this problem??

I checked, optimized, analysed and repaired the mysql databse...

It seems like SMF is exceeding the allowed CPU quota (20%), causing trouble to the hosting servers...but why is it so bad coded????

At the server options, there is an option for "Persistent Connection" - problem occurs both off and on.

Some other options seems to cause trouble as well..



This just happens randomly, sometimes it lasts for a whole day and sometimes it comes up every 5 minutes.. :'( :'( :'( :'(

IchBin

You can check to see if TP is the problem by uninstalling it. :) All your settings will be kept in the database if you decide to re-install it after testing. I would suggest you disable any custom articles or blocks and see if that fixes anything.

youngjoonshi

Tried it but does not seem to make much difference...I think this is a more SMF/Server related issue. Still, help would be greatly appreciated.

RoarinRow

What other modifications do you have installed?

SMF 2.0 RC3
TP 1.0 beta 5-1
Wordpress 3.0

youngjoonshi

I have quite a bunch of Mods installed...71, in fact. Should I list them all??


Crip

Quote from: YJ on July 07, 2006, 11:00:55 PM
I have quite a bunch of Mods installed...71, in fact. Should I list them all??

Like I said before, your site will always have errors with so many mods..how many are installed on TP??.. 0 - none I'd say. :)
I have become comfortably numb!

Cripzone | Crip's Free 2.0.2 Themes



youngjoonshi

Yes, but I think it is more of the servers causing this problem.

I am currently building a clone on a free host to reporoduce the problem.

If it really is a server problem, I will move to other host straight away.

RoarinRow

Quote from: WSAÂÃ,° on July 07, 2006, 11:04:46 PM
71  :o

Surprised you didn't see any other issue at say even 10 mods.  :o  You should list them out.  Just copy and paste the list of packages.

Then maybe you could delete the latest ones before the 500 error occured until the error stops.

SMF 2.0 RC3
TP 1.0 beta 5-1
Wordpress 3.0

youngjoonshi

Finally got a new reply from my host:

QuoteHello,

I've removed the .htaccess file in your home directory, but the problem is not caused by this file. You are receiving the error because of this:

/index.php?action=keepalive

If you look at your ~/tmp/cpu_exceeded_logs file, you will notice in the file dated today's date this file repeated numerous times, seconds apart. After 20 processes are running at any given time, a 21st process will trigger a 500 error. If the 20 processes total over 40% of the CPU Quota at any given time, you'll get a CPU Exceeded message instead. Please consider removing any modules/plugins you've added to the software on your site as the problem you're experiencing is not caused by the server.

And here is the long Mod list:

Quote1.     SMF 1.0.7 / 1.1 RC2 Update     1.0     [ Uninstall ]
2.    TinyPortal    0.86    [ Uninstall ]
3.    Active Members In Topic    1.2    [ Uninstall ]
4.    Ad Managment    1.5    [ Uninstall ]
5.    All Topics Unsubscriber    1.1    [ Uninstall ]
6.    AutoSig    1.1    [ Uninstall ]
7.    BBC edit tag    1.0    [ Uninstall ]
8.    Board Notes    1.0.4    [ Uninstall ]
9.    Board Viewers    0.6    [ Uninstall ]
10.    CAPTCHA (code verification)    0.1    [ Uninstall ]
11.    Custom Action Mod    2.0    [ Uninstall ]
12.    GeSHiSmf    0.0.8    [ Uninstall ]
13.    Googlebot & Spiders Mod    1.0.5    [ Uninstall ]
14.    ssi_grabMessage    1    [ Uninstall ]
15.    Hide Board    1.0    [ Uninstall ]
16.    Hide Post    1.0.7    [ Uninstall ]
17.    Ignore Boards    2.0.1    [ Uninstall ]
18.    Karma On Memberlist    1.0    [ Uninstall ]
19.    Location Mod    1.2    [ Uninstall ]
20.    Max Subject Length    1.1    [ Uninstall ]
21.    Merge Double Posts    1.05    [ Uninstall ]
22.    Current Location on Own Line    1.0    [ Uninstall ]
23.    Remove Jumpto Box Catagory Separator    1.0    [ Uninstall ]
24.    Capital Title to Title Case    1.0    [ Uninstall ]
25.    Enlarge Font    1.1    [ Uninstall ]
26.    Pie Chart Mod    1.22    [ Uninstall ]
27.    Post By Email    1.02 (Beta)    [ Uninstall ]
28.    Reason For Editing Mod    1.11    [ Uninstall ]
29.    Simple ImageShack    1.2.1    [ Uninstall ]
30.    SMF Any Where    0.1    [ Uninstall ]
31.    SMF Shoutbox    1.04    [ Uninstall ]
32.    SMFShop    2.1    [ Uninstall ]
33.    Shop Item: Change Display Name CSS    0.1    [ Uninstall ]
34.    Shop Item: Profile Image    0.1    [ Uninstall ]
35.    SMF Staff Page    1.2    [ Uninstall ]
36.    Topic Digest    1.1.2    [ Uninstall ]
37.    Users Online Today Mod    1.4.0 Beta 2    [ Uninstall ]
38.    Buddy Message Highlight    1.2    [ Uninstall ]
39.    ed2k links support    1.2    [ Uninstall ]
40.    EmailFlash    1.0    [ Uninstall ]
41.    Enchanced post template    1.0    [ Uninstall ]
42.    Karma Buttons    1.01    [ Uninstall ]
43.    Karma Description Mod    1.9.7    [ Uninstall ]
44.    Member list by registration    1.0    [ Uninstall ]
45.    Resample Big Attached Images    0.1    [ Uninstall ]
46.    Sticky First Post (extends sticky topic)    1.2.2    [ Uninstall ]
47.    Gmail Field    1.1    [ Uninstall ]
48.    LiveJournal Mod    1.0    [ Uninstall ]
49.    Post Count in Different Bases    1.1    [ Uninstall ]
50.    Show Multiple Badges (Aka Stars)    1.0    [ Uninstall ]
51.    Minimum Characters/Words Per Post    1.0.0    [ Uninstall ]
52.    Unreplied Questions    0.2    [ Uninstall ]
53.    Attachments Mod    1.1    [ Uninstall ]
54.    nwsw.nwswAdminAttachAnything    1.0    [ Uninstall ]
55.    BBC-Google for SMF 1.1 RC2 (ver. 2.5.1)    2.5.1    [ Uninstall ]
56.    Registered Links    1.0    [ Uninstall ]
57.    Create Topic on Report to Moderator    0.2    [ Uninstall ]
58.    PM Online Moderators on Message Report    1.1    [ Uninstall ]
59.    2DTV 100px    1.0.100    [ Uninstall ]
60.    Custom Profile Field Mod    3.11    [ Uninstall ]
61.    BBC ebay tag    1.0    [ Uninstall ]
62.    SMF Trader System    1.0    [ Uninstall ]
63.    SMF Archive    1.0    [ Uninstall ]
64.    Referral Module    1.1    [ Uninstall ]
65.    ShowTopics    1.1    [ Uninstall ]
66.    Global Headers Footers    1.0    [ Uninstall ]
67.    MessagePreview    1.0    [ Uninstall ]
68.    RSS Feed Icon    1.0

This website is proudly hosted on Crocweb Cloud Website Hosting.