Page 5 of 7

Re: Forum unstable again

Posted: Mon Nov 10, 2014 5:12 pm
by exxos
If you don't get anywhere with the support ticket, then try my VPS and just upload the forum onto it, then get a few people to log into it and give it some abuse for a bit.. that "copy" of the forum does not have to go live, can just access it from the VPS IP address.. I think it will prove then if its your VPS package or not.. My VPS has ubuntu 14-64bit on it, its got FTP, SQL and the rest installed, im only running a proxy on it (not even using that) but you can install a different linux flavour anyway as I brought a year VPS with another company anyway.. So its not in use.

Re: Forum unstable again

Posted: Mon Nov 10, 2014 5:47 pm
by Hippy Dave
Dal wrote:So this is what I see in top when the forum goes wobbly:
VPS Resource Usage.png


Unless I'm missing something, there is no real memory usage at all by the tasks on my box

Looking at top:
1) You need a minimum 6 GB swap partition on this box. Never use less than 2GB swap.
2) I'll bet grep is eating your lunch (something is probably recursively grep'ing files across directories).

Re: Forum unstable again

Posted: Mon Nov 10, 2014 6:13 pm
by Dal
I see your point...

Re: Forum unstable again

Posted: Tue Nov 11, 2014 7:29 am
by DrCoolZic
Dont know if useful but just i case ...
Yesterday evening I was replying to a thread ... click on submit ... and waited waited ... decided to go to bed so I shutdown my browser and computer :)
To my surprise this morning the message was there even though I never got back a confirmation window from AF!?

Re: Forum unstable again

Posted: Wed Nov 12, 2014 1:19 pm
by troed
edit: Hmm. Or rather, it seems to work from my home, but not at work. I just VNCed home to test "at the same time" - which seems to indicate that the external IP of my employer is banned. That I can't really understand ;)

In all the discussions on resource exhaustion I don't understand why sometimes I get a 403 Forbidden as reply when trying to post or logon.

(As I got just now when trying to post this)

Forbidden

You don't have permission to access /posting.php on this server.


/Troed

Re: Forum unstable again

Posted: Wed Nov 12, 2014 5:25 pm
by DrCoolZic
It looks like nobody really understand whats going on unfortunately.
You have to be motivated (Iam :)) to use AF lately

Re: Forum unstable again

Posted: Wed Nov 12, 2014 10:11 pm
by exxos
DrCoolZic wrote:It looks like nobody really understand whats going on unfortunately.
You have to be motivated (Iam :)) to use AF lately


:lol:

It takes about a hour to read a post and reply to it these days :lol: :roll: Though it seems to have random speed boosts, assume when everyone gives up, and logs off, I think the forum speed goes back to normal then. Though as I am typing, the forum seems ok again.

Re: Forum unstable again

Posted: Fri Nov 14, 2014 9:09 pm
by exxos
Is it just me, or has the forum been working OK all day today ?

Re: Forum unstable again

Posted: Fri Nov 14, 2014 9:52 pm
by DrCoolZic
same here :roll:

Re: Forum unstable again

Posted: Fri Nov 14, 2014 10:12 pm
by DarkLord
Agreed - seems better than just a day ago or so...

Re: Forum unstable again

Posted: Fri Nov 14, 2014 10:37 pm
by IFW
Could login today... twice! Fingers crossed... 8)

Re: Forum unstable again

Posted: Fri Nov 14, 2014 10:49 pm
by FedePede04
i had problems an hour ago

Re: Forum unstable again

Posted: Sat Nov 15, 2014 12:30 am
by Maartau
Have tried @ different hours of night & day since yesterday : all seems ok 8) .

Thanks Dal :thumbs:

Re: Forum unstable again

Posted: Sat Nov 15, 2014 3:47 am
by wongck
I normally read the forum between midnight and 6am UK time, and it has been good at those time.
When I read the forum at UK day time (my night time), it usually slows down and takes minutes to display a page.

Re: Forum unstable again

Posted: Sat Nov 15, 2014 11:22 am
by DrCoolZic
Seems to works fine at French time (we are slightly off compared to English people 8O )
Thanks Dal

Re: Forum unstable again

Posted: Sat Nov 15, 2014 11:41 am
by Dal
Not counting my chickens just yet. MySQL was creating a 23GB cache file in /tmp which was leading to the server crapping its pants. As far as I could tell, this query is part of the statistics function on the board.

Since disabling statistics, things have so far been behaving.

Please continue to report your findings. Each piece of information is valuable.

Thanks for your patience.

Re: Forum unstable again

Posted: Sat Nov 15, 2014 12:31 pm
by exxos
it went dead about 11pm last night, was still down up until about a hour ago. Though I am at my girlfriends now on a different ISP, but I was also getting PM's for a couple of hours to my email via the forum, so it must have still been working in the USA. I was going to try my NY proxy but the things down for some reason. But next time the forum goes down, ill try going via NY to see if that works.

Re: Forum unstable again

Posted: Sat Nov 15, 2014 12:36 pm
by Stefan jL
I have changed my avatar to a non-animated GIF... I hope this will solve all AF issues :wink:

Re: Forum unstable again

Posted: Sat Nov 15, 2014 12:52 pm
by exxos
Stefan jL wrote:I have changed my avatar to a non-animated GIF... I hope this will solve all AF issues :wink:

:thumbs: :lol:

Re: Forum unstable again

Posted: Sat Nov 15, 2014 4:35 pm
by darwinmac
So far, the forum has been stable today. I hope it continues.


Bob C

Re: Forum unstable again

Posted: Sat Nov 15, 2014 6:21 pm
by dhedberg
Dal wrote:Since disabling statistics, things have so far been behaving.

I enjoyed having a look at the statistics now and then. :-(

Re: Forum unstable again

Posted: Sat Nov 15, 2014 9:37 pm
by joska
darwinmac wrote:So far, the forum has been stable today. I hope it continues.


I haven't been able to access the forum through Tapatalk all day. It started working again an hour or so ago.

Re: Forum unstable again

Posted: Sun Nov 16, 2014 12:41 am
by Eero Tamminen
If you're suspecting resource leakage, you could check is processes memory usage with "smem" tool (PSS) column (in smem package).

If that doesn't find out the problem, start taking regular snapshots with this tool:
https://maemo.gitorious.org/maemo-tools/sp-endurance

It has separate script for taking snapshots of all resource usage information in the device, and couple of scripts for doing from those snapshots HTML reports & drawing graphs of all possible resources that could be leaked: process & kernel memory, shared & locked memory, file descriptors, CPU, network and other IO, errors in syslog (mostly relevant for phones) etc.

The snapshots can be very large, depending on your syslog size, how many processes you're running etc, so I would recommend using large enough snapshot internal that when the problem starts to show up badly, you have something like ~20 snapshots. That should be enough for showing whether there're any kind of resource leakage trends.

(If you want to package the tool, RPM & Debian packaging files are in separate branch in git, but at least Debian packaging is a bit behind master. If you're interested, I can provide a patch to apply to packaging after merging master to packaging branch.)

Re: Forum unstable again

Posted: Mon Nov 17, 2014 4:56 pm
by exxos
It seemed to be running reasonable well over the weekend. Today it seems to go for random slow downs like before, but generally only seem to be waiting 5-10 seconds. Before it was more like 5-10mins.

EDIT1, and since I said that the forum has been going painfully slow again :roll:

Re: Forum unstable again

Posted: Mon Nov 17, 2014 6:55 pm
by DrCoolZic
Not for me - today was bad :(
Seems better now but ...