TinyPortal

Development => Support => Servers & hosts => Topic started by: Skal Tura on May 27, 2006, 09:43:13 AM

Title: TINYPORTAL/BLOCZONE SERVER ERRORS LATELY
Post by: Skal Tura on May 27, 2006, 09:43:13 AM
Hi,
  I'm the guy who administers this server, bart.artichost.net

Lately, we updated MySQL which required us to update Apache etc. we decided to up PHP & Zend also at the same run.

Zend caused random PHP scripts to hang, and consume 100% CPU time. We hunted for this problem for a long time etc. we downgraded PHP + Zend for the timebeing, to just get things work(TM). Which failed, an We didn't notice until first trouble tickets!

This caused this site to have session problems (fixed now, as you can see!), it was really simple, i cleared all the server PHP sessions + upgraded PHP to newest 4.x series PHP. It did the trick, and everything works now.

The main reason why this happened was file ownership changes -> phpSuExec was temporally off at one point.

Anyways, this is fixed now :)

- Skal / http://www.artichost.net (http://www.artichost.net)
Title: Re: TINYPORTAL/BLOCZONE SERVER ERRORS LATELY
Post by: G6Cad on May 27, 2006, 09:53:17 AM
And we from the TinyPortal Team cant thank you enough for fixing this :)

And also, thank you for loging in and tell us what went wrong and how you fixed it.

Regards
//Carina
Title: Re: TINYPORTAL/BLOCZONE SERVER ERRORS LATELY
Post by: Skal Tura on May 27, 2006, 10:02:20 AM
Any one from Tinyportal dev-team is welcome to contact me personally and ask what's going on also :)
Title: Re: TINYPORTAL/BLOCZONE SERVER ERRORS LATELY
Post by: G6Cad on May 27, 2006, 11:18:00 AM
Still seem to be problems using Firefox with sessions verifications error, cant post or reply to posts, nor use the shoutbox.
(Have cleared the loggs, cach, temp internet files, but still the same with errors.

In IE it work fine though.
Title: Re: TINYPORTAL/BLOCZONE SERVER ERRORS LATELY
Post by: Skal Tura on May 27, 2006, 11:51:13 AM
Ahaa! If it works in IE it then cannot be a definate server problem, as it seems to be in your end. You should've mentioned that in the PM.

Try clearing FFOX caches, cookies etc. again, without having Tinyportal.net open.

I'm using ffox 1.5.0.3 @ Windows XP SP2 and no problems.
Title: Re: TINYPORTAL/BLOCZONE SERVER ERRORS LATELY
Post by: Skal Tura on May 27, 2006, 12:12:52 PM
I have now tried both FFOX & IE, checked error_logs etc. and nothing on this yet. Looking deeper and deeper.

I was sure problems were fixed already.

Also tried from my laptop: no problems. no trying from different network alltogether.
Title: Re: TINYPORTAL/BLOCZONE SERVER ERRORS LATELY
Post by: G6Cad on May 27, 2006, 12:13:33 PM
Had problems until now, both in IE and FF after clearing out everything in the browsers.

But you seem to have found something taht caused it i think ?
This post made in FF
Title: Re: TINYPORTAL/BLOCZONE SERVER ERRORS LATELY
Post by: G6Cad on May 27, 2006, 12:15:04 PM
This testpost made in IE
Title: Re: TINYPORTAL/BLOCZONE SERVER ERRORS LATELY
Post by: G6Cad on May 27, 2006, 12:15:38 PM
Seem to be working in both IE and FF right now, even the shoutbox
Title: Re: TINYPORTAL/BLOCZONE SERVER ERRORS LATELY
Post by: Skal Tura on May 27, 2006, 12:18:27 PM
I have not done anything since my initial post except updated system software (the very basic parts of the system, libraries etc.)

So i HIGHLY doubt they affect in ANY way.

I'm thinking that why people has been having problems is due to ISP caches/proxies etc. things like that, but i'm still looking for the possibility of this being a server problem. I also contacted 2 outside consults about these problems, might there be something i've missed and/or don't know?
Title: Re: TINYPORTAL/BLOCZONE SERVER ERRORS LATELY
Post by: Skal Tura on May 27, 2006, 12:19:12 PM
Oh yeah, read http://www.skaltura.net my personal blog, i posted about some problems (which has led to these) sometime ago, it's about Zend. nothing much, but a little bit more details.
Title: Re: TINYPORTAL/BLOCZONE SERVER ERRORS LATELY
Post by: Skal Tura on May 27, 2006, 12:23:24 PM
Those still getting errors: restart your browsers and try again.
Title: Re: TINYPORTAL/BLOCZONE SERVER ERRORS LATELY
Post by: Skal Tura on May 27, 2006, 12:28:49 PM
tests from outside my network was successfull. Everyone has been reporting that no problems anymore.
Title: Re: TINYPORTAL/BLOCZONE SERVER ERRORS LATELY
Post by: G6Cad on May 27, 2006, 12:30:03 PM
Seem to work now  8) Although something still doesent seem to be right, When posting i come to a blank screen where it "thinks" for about 3 or 4 se before it actually make the post. Just like it stands there thinking about what to do. This i get in FF only
Title: Re: TINYPORTAL/BLOCZONE SERVER ERRORS LATELY
Post by: eldacar on May 27, 2006, 12:47:26 PM
Hey skal, didn't know you hosted this site ;)
Title: Re: TINYPORTAL/BLOCZONE SERVER ERRORS LATELY
Post by: Skal Tura on May 27, 2006, 12:49:44 PM
Quote from: eldacar on May 27, 2006, 12:47:26 PM
Hey skal, didn't know you hosted this site ;)

Hahaha, not many do actually x)
You use TP?
Title: Re: TINYPORTAL/BLOCZONE SERVER ERRORS LATELY
Post by: eldacar on May 27, 2006, 12:50:57 PM
Been using it a long time.

Btw, you should upgrade the paradox forum to 1.0.7. Not that anyone posts there anymore.. :(
Title: Re: TINYPORTAL/BLOCZONE SERVER ERRORS LATELY
Post by: Crip on May 27, 2006, 12:51:49 PM
test......
Title: Re: TINYPORTAL/BLOCZONE SERVER ERRORS LATELY
Post by: thelenshar on May 27, 2006, 12:53:49 PM
Quote from: G6 on May 27, 2006, 12:30:03 PM
Seem to work now  8) Although something still doesent seem to be right, When posting i come to a blank screen where it "thinks" for about 3 or 4 se before it actually make the post. Just like it stands there thinking about what to do. This i get in FF only
I just had the same problem on another of my sites, hosted with Artichost. But, it seems to have 'quickened up' now.

Yes, how awesome is that, Skal hosts TP :D Hehehhe, i remember the first day Skal PMed me about his little hosting business, seems so long ago. But, slowly and surely he is taking over the net. Soon he will be hosting everything!!
Title: Re: TINYPORTAL/BLOCZONE SERVER ERRORS LATELY
Post by: Crip on May 27, 2006, 12:55:12 PM
Yes it does seem to be working correct Now..thanks for your help, really, really appreciate it very very Much! ;)
Title: Re: TINYPORTAL/BLOCZONE SERVER ERRORS LATELY
Post by: Crip on May 27, 2006, 01:03:05 PM
I think (AH) is a decent webhost ...
Title: Re: TINYPORTAL/BLOCZONE SERVER ERRORS LATELY
Post by: Skal Tura on May 27, 2006, 01:04:39 PM
Good that everything works again.

I'm just thinking about measures to take that this never ever happens again. What would be the best way to do, not sure. Perhaps a load balancer, and servers behind that would not be updated at the sametime, but one server per 2 days only or so.

bart.artichost.net (where TP is) :
07:02:30  up 102 days, 22:26,  9 users,  load average: 0.59, 0.58, 0.35
144 processes: 141 sleeping, 3 running, 0 zombie, 0 stopped
CPU states:  cpu    user    nice  system    irq  softirq  iowait    idle
           total    0.0%    0.0%    0.3%   0.0%     0.0%    0.0%   99.6%
Mem:  1016540k av,  898584k used,  117956k free,       0k shrd,  207828k buff
       475612k active,             346048k inactive
Swap: 1052248k av,  147724k used,  904524k free                  452320k cached

Server uptime: 4 hours 13 minutes 31 seconds
Total accesses: 61245 - Total Traffic: 296.7 MB
CPU Usage: u62.04 s33.63 cu1350.62 cs466.19 - 12.6% CPU load
4.03 requests/sec - 20.0 kB/second - 5079 B/request
25 requests currently being processed, 12 idle servers


Uh, i think Zend is causing a bit of slowing down still... Well, i'm off to install eAccelerator on bart ;)



Quote from: crip on May 27, 2006, 01:03:05 PM
I think (AH) is a decent webhost ...


Thank you for your kind words crip :)
Title: Re: TINYPORTAL/BLOCZONE SERVER ERRORS LATELY
Post by: Crip on May 27, 2006, 01:09:35 PM
I checked the server status the day all this happened and took a screen-shot via cPanel -

Title: Re: TINYPORTAL/BLOCZONE SERVER ERRORS LATELY
Post by: IchBin on May 27, 2006, 01:10:09 PM
Skal, thank you for coming here and taking care of things. I wondered if my email got through to you. :) Seems you are a good host, one of the few who cares about their customers. I'll be sure to let Bjorn know how good you've taken care of him. Everything seems to be working fine on my side of the world again.
Title: Re: TINYPORTAL/BLOCZONE SERVER ERRORS LATELY
Post by: Crip on May 27, 2006, 01:17:23 PM
Yes,
I seemed to be in a state of limbo during the down time here.. ;D
Title: Re: TINYPORTAL/BLOCZONE SERVER ERRORS LATELY
Post by: Skal Tura on May 27, 2006, 01:19:36 PM
Quote from: IchBinâââ,¬Å¾Ã,¢ on May 27, 2006, 01:10:09 PM
Skal, thank you for coming here and taking care of things. I wondered if my email got through to you. :) Seems you are a good host, one of the few who cares about their customers. I'll be sure to let Bjorn know how good you've taken care of him. Everything seems to be working fine on my side of the world again.

Thanks for your kind words, i'm really taken ^^
Title: Re: TINYPORTAL/BLOCZONE SERVER ERRORS LATELY
Post by: Crip on May 27, 2006, 01:19:56 PM
So Zend was the problem.. thanks again.
Title: Re: TINYPORTAL/BLOCZONE SERVER ERRORS LATELY
Post by: Crip on May 27, 2006, 01:21:35 PM
Quote from: Skal Tura on May 27, 2006, 01:19:36 PM
Thanks for your kind words, i'm really taken ^^

Lmao! ;D
Title: Re: TINYPORTAL/BLOCZONE SERVER ERRORS LATELY
Post by: G6Cad on May 27, 2006, 01:42:52 PM
Yes, thanks again for the great response on this, and that you actually came in here and explained what the errors were and looked for your selfe that it actually worked as it did before :)

I big flower to you from me :)
Title: Re: TINYPORTAL/BLOCZONE SERVER ERRORS LATELY
Post by: gerrymo on May 27, 2006, 04:29:39 PM
Quote from: Skal Tura on May 27, 2006, 12:18:27 PM
I have not done anything since my initial post except updated system software (the very basic parts of the system, libraries etc.)

So i HIGHLY doubt they affect in ANY way.

I'm thinking that why people has been having problems is due to ISP caches/proxies etc. things like that, but i'm still looking for the possibility of this being a server problem. I also contacted 2 outside consults about these problems, might there be something i've missed and/or don't know?

So we all get the same problems at the same time? I think not.
Title: Re: TINYPORTAL/BLOCZONE SERVER ERRORS LATELY
Post by: Skal Tura on May 27, 2006, 05:42:08 PM
Quote from: gerrymo on May 27, 2006, 04:29:39 PM
So we all get the same problems at the same time? I think not.

Yes, i remember your e-mails. You are quite pissed, and i understand that.

But the thing is, as i said manytimes before, i was unable to reproduce the problems really, i looked into deep, made many tests etc. went thru configs & logs etc. etc.

At first, there was problems, those session verification problems, i fixed those, but after that, i was unable to reproduce that condition, even tho, people was still reporting about that.

I asked many people i know to try & test, and still no errors.

I'm not denying the possibility, just that i was unable to reproduce it. and it seems, no one has the problem anymore, so didn't i fix it or not?

At first, it was server side problem, i never said anything that it wouldn't be, but after i failed to reproduce it (local or remote), i was forced to believe that it was somekind of caching problem at somewhere.
Title: Re: TINYPORTAL/BLOCZONE SERVER ERRORS LATELY
Post by: IchBin on May 27, 2006, 07:34:16 PM
Top Notch service Skal. Thank you for taking the time to respond in these situations. If anything arises again and Bjorn is not around, I'll be sure to contact you. Thank you for your patience with us and for working everything out in such a professional matter.

Cheers
Title: Re: TINYPORTAL/BLOCZONE SERVER ERRORS LATELY
Post by: anunlike on May 27, 2006, 08:26:32 PM
I agree, well done, very good service. Thank you.

I was thinking TP was going to be down until Bloc got back.
Title: Re: TINYPORTAL/BLOCZONE SERVER ERRORS LATELY
Post by: ontap on May 27, 2006, 08:33:06 PM

Excellent, was wonderin who fixed it if bloc was away....

thanks Skal
Title: Re: TINYPORTAL/BLOCZONE SERVER ERRORS LATELY
Post by: Skal Tura on May 27, 2006, 10:04:17 PM
Quote from: IchBinâââ,¬Å¾Ã,¢ on May 27, 2006, 07:34:16 PM
Top Notch service Skal. Thank you for taking the time to respond in these situations. If anything arises again and Bjorn is not around, I'll be sure to contact you. Thank you for your patience with us and for working everything out in such a professional matter.

Cheers

No problem, it's very important for me too, you know.
Besides, it was basicly caused by me. (Missing the fact that there will be permission problems when phpSuExec is temporally off and then turned back on).

Quote from: anunlike on May 27, 2006, 08:26:32 PM
I agree, well done, very good service. Thank you.

I was thinking TP was going to be down until Bloc got back.

The problem wasn't with the PHP code, so it was still well within my reach to fix it :)
If it actually would be a bug in website's code, there isn't much i can do, as i don't know the systems "intimately" like those who develop them, it would take hours just to read & comprehend enough code to make the proper adjustments, atleast in most cases.