Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-02-06 15:13:31

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,912
Website

Certain links to same articles returning 500 errors...or something

Weird situation at wion.com, on the home page. In the left column is the title and excerpts of the last 3 articles posted. If you try and follow the title links or the “Continued…” links at the bottom of excerpts, the browser chugs and chugs. Often 500 errors result.

However, if you click the “Articles” link in the main navigation, that works quicker (if but a little delayed) as do the links in the Recently column for older articles.

It seems the problem is with the titles and excerpt links, specifically, but I can’t see the problem in code. You see the same delays?

Here’s the relevant page markup:

<div id="maincol">
<txp:article form="lstHomeExcerpts" limit="3" />
</div>

Here’s the called form (lstHomeExcerpts):

<h1><a href="articles/<txp:article_url_title />"><txp:title /></a></h1>
<p class="articleinfo"><txp:posted />  |  <txp:comments_invite /></p>
<p class="xerptspace"><txp:excerpt /> <a href="articles/<txp:article_url_title />" title="<txp:title />">Continued...</a></p>

I’ve cleared cache; no difference.
I’ve checked plugins, seems nothing wrong there.

Dunno.

Offline

#2 2009-02-06 15:19:43

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,912
Website

Re: Certain links to same articles returning 500 errors...or something

Hmmm. Now seems to be specifically this article from the home page. Odd.

Offline

#3 2009-02-06 15:23:32

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,821
Website GitHub

Re: Certain links to same articles returning 500 errors...or something

I noticed that when I tried to read your admin-side revamp article this morning (great write-up, btw). It took about 25-30 seconds before I got a response. Did the same just a minute ago too. That smacks of a timeout issue to my untrained eye. Like something is trying to be somewhere but can’t reach it and then gives up after 30s.

I take it this is the continuation/unresolved issue of your last slowdown?

Can’t really think of anything more specific because it seems a bit random in nature. Sometimes it’s fine other times it just bombs out or makes me wait. Is there any way to check the processor load / open threads of the box you’re hosting on? Perhaps it’s just overworked / underpaid like the rest of us? ;-)

P.S. I suppose the tag trace reveals nothing apart from the fact it’s overall very slow? Though you might be able to see if the time taken by any particular query is longer than others.

Last edited by Bloke (2009-02-06 15:26:57)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#4 2009-02-06 15:36:32

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,940
Website GitHub

Re: Certain links to same articles returning 500 errors...or something

Yes, I saw that too on that article. But it does load sometimes, so I too would guess it’s timing out for some reason.


TXP Builders – finely-crafted code, design and txp

Offline

#5 2009-02-06 16:05:48

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,197
Website GitHub Mastodon Twitter

Re: Certain links to same articles returning 500 errors...or something

Hi Destry it seems that both your and Stef’s links to pages i your site returned 500s to me. That was after about 45” delay/url. I guess that you do not have any “Spam blacklists” in your advanced preferences and the closest I could find was this FAQ.

ps. Your home page loads just fine from here.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#6 2009-02-06 16:45:22

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,912
Website

Re: Certain links to same articles returning 500 errors...or something

Thanks guys. It’s weird, it just seems to be an issue with the pole position article. /shrug/

I have one spam blacklist entered: sbl.spamhaus.org. I’m not sure where (Joyent forum, I think), but I recall reading this was the only one you really needed. Granted things change and I haven’t changed that in a long time. What’s the best for that? Remove it?

Offline

#7 2009-02-06 16:47:40

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,912
Website

Re: Certain links to same articles returning 500 errors...or something

Here’s a thought. This was the first article I really used the “View” feature on, and I used the shit out of it on this article too. Would that have thrown bad ju-ju into it? (Don’t see how, it’s not sandpaper or anything.)

Last edited by Destry (2009-02-06 16:51:57)

Offline

#8 2009-02-06 16:51:08

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,197
Website GitHub Mastodon Twitter

Re: Certain links to same articles returning 500 errors...or something

Hi Destry,

Delete the spamlist.. There is a FAQ somewhere about it. I think it is a Joyent issue.

Last edited by colak (2009-02-06 16:52:03)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#9 2009-02-06 16:54:42

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,912
Website

Re: Certain links to same articles returning 500 errors...or something

Did it. And WOW !!! Instant difference. Links work fast!

What gives with that? Is that spamlist field unnecessary in preferences now? Ah, a Joyent thing.

Last edited by Destry (2009-02-06 16:57:25)

Offline

#10 2009-02-06 16:56:26

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,912
Website

Re: Certain links to same articles returning 500 errors...or something

/ tips hat to Colak /

Offline

#11 2009-02-06 16:58:24

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,821
Website GitHub

Re: Certain links to same articles returning 500 errors...or something

Interesting. That was suggested last time (FAQ) but wet expressed reservations (umm, I think).

*shrug* I’m only the weekend staff. Glad it’s working anyway.

Last edited by Bloke (2009-02-06 17:00:14)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#12 2009-02-06 16:59:13

redbot
Plugin Author
Registered: 2006-02-14
Posts: 1,410

Re: Certain links to same articles returning 500 errors...or something

For the record, I have no problems at all with your site, so today as yesterday.

Offline

Board footer

Powered by FluxBB