Home > Technical & Creative Skills > Tracking Campaigns

STM Tracker Slow (25)


11-01-2013 08:42 PM #1 kai1 (Member)
STM Tracker Slow

My Tracker is mega slow these days when logging in. Does this affect redirect speeds too?

Apart from optimising tables, what other safe and non-techie optimisations can I do to speed up my tracker?

Cheers


11-01-2013 09:24 PM #2 getzlaf15 (Member)

What sort of server do you have?

Specs?

Ram, CPU, HD's


11-01-2013 09:41 PM #3 kai1 (Member)

VPS 1024MB, 50GB RAID-10 Disk Space. Not really techie, so not sure if that's sufficient info. I'm not running that much volume through it.


11-01-2013 10:43 PM #4 thedudeabides (Moderator)

How many clicks so far?


11-02-2013 11:55 AM #5 kai1 (Member)

Around 100,000. So not much. Only around 2k a day.


11-02-2013 12:08 PM #6 caurmen (Administrator)

Hmm, that shouldn't be enough to start slowing your tracker down. The first safe, non-techie optimisation I'd suggest would be asking your hosts what's slowing everything down

What hosting company are you with?

Redirect speeds: it could do, depends what the problem is. I'd recommend running a speed test on your tracker: you can just take one of your tracking links and run it through Pingdom to get an approximate idea of how fast your tracker's redirecting.


11-02-2013 01:37 PM #7 bbrock32 (Administrator)

Check the redirect speeds with one of the tools online and post the results here.

Stats loading generally depends on the DB size while redirect speeds shouldn't be affected much.

Honestly I think with those server specs can't expect too much.

At worst make a backup of the db and clean it. That will help for sure.


11-02-2013 05:01 PM #8 kai1 (Member)

I'm with Knownhost. Redirect takes 751 ms. Total load time is 986 ms. I had nginx installed a while ago and that seemed to help the problem.

Server support tells me there aren't any issues. It's weird, some days it's retardedly slow when analyzing stats, other days it's not too bad.

Worth upgrading my VPS?

Is there a way to keep a month of stats and delete anything over that?


11-03-2013 05:24 PM #9 bbrock32 (Administrator)

Unfortunately not.

The way I usually do it is just install a new prosper and dump the old database there.
This way I can clean the "normal" prosper and use the 2nd install to check past stats.


11-03-2013 07:17 PM #10 dynamicsoul (Member)

Could just be the vps node you are on.. ask your host.. I have a good spec vps that was running slow now and again.. when host looked into it someone else on the same server was eating up all the resources. They suspended them and all was fine again..


11-04-2013 12:49 PM #11 caurmen (Administrator)

You could hire someone to set up a function to delete or archive all stats over a month old. You'd need to run it on a cron job - shouldn't be super-complicated, but it's not something that you can do without a bit of coding.

But I'd definitely investigate another hosting provider or another node first. Even given your reasonably low specs, Prosper shouldn't be slowing down much with only 100k rows of data.

I've not heard of Knownhost, but a quick search on Web Hosting Talk shows that you're not the only person complaining of slow performance.


11-04-2013 07:27 PM #12 kai1 (Member)

I sent them another email and they said that the server is running fine and that it could be my local connection that's causing the slow down. Weird because all other sites are loading fine.


11-05-2013 10:18 AM #13 caurmen (Administrator)

@kai - you've checked the loading time with Pingdom, right?

"Oh, it's probably your local connection" is a pretty classic hosting provider excuse - don't let 'em get away with it, point out you've checked the load time with external testers.


11-05-2013 02:53 PM #14 getzlaf15 (Member)

Quote Originally Posted by kai1 View Post
I'm with Knownhost. Redirect takes 751 ms. Total load time is 986 ms. I had nginx installed a while ago and that seemed to help the problem.

Server support tells me there aren't any issues. It's weird, some days it's retardedly slow when analyzing stats, other days it's not too bad.

Worth upgrading my VPS?

Is there a way to keep a month of stats and delete anything over that?

My suggestion is to find a new host, how much are they charging you a month?


11-07-2013 07:39 PM #15 bbrock32 (Administrator)

It's weird, some days it's retardedly slow when analyzing stats, other days it's not too bad.
This means most probably it's the server. When other VPSs on the same server start using more resources it slows down yours too.

As I said , try having a separate prosper install just for checking past stats.


11-07-2013 08:56 PM #16 kai1 (Member)

If I remove campaigns from the dashboard does this automatically clear the data for that particular campaign?

I think I will probably go dedi soon rather than try another vps or hosting solution.


11-08-2013 01:55 PM #17 caurmen (Administrator)

Nope, you'll have to actually remove the data from the database.

You can do that using PHP-MyAdmin, or through the command line via SSH, or you can get someone to write a script for you - extending 202-cronjobs/index.php would probably be the easiest way to do it.


11-10-2013 03:54 PM #18 kai1 (Member)

Can anyone give us a walkthrough on how to safely backup and delete a database in STMs Tracker? I'm sure it will benefit a lot of tech retards like me.

Much appreciated!


11-10-2013 04:17 PM #19 bbrock32 (Administrator)

It's super easy , just login via ssh and run this command :

mysqldump -u username -p --databases yourdbname > backup.sql

Replace username and yourdbname with the user that has access to the database and the name of the database.

Also you will be promted to enter a password. That's it.

To clean data from your prosper install just go to administration and click on "Delete All Click Data ".


11-10-2013 05:11 PM #20 kai1 (Member)

via ssh? How about via php-myadmin?


11-10-2013 06:02 PM #21 kyleirwin (Member)

Quote Originally Posted by kai1 View Post
via ssh? How about via php-myadmin?
Can be unreliable for exporting large data sets... connection timeouts and such.


11-11-2013 10:53 AM #22 caurmen (Administrator)

I seem to recall later versions of PHP-MyAdmin have put some features in to help with that. I'll add it to the Tutorials Needed list

If you're going to be doing this frequently, though, I'd definitely recommend just getting a coder to put it on a cron job instead - that way your stats get silently backed up to your server and you can just download them whenever.

Actually, you know what, that might be a good one for a tutorial too. Anyone want a tutorial on setting up automatic stats backup and cleaning from Prosper?


11-11-2013 11:41 AM #23 kai1 (Member)

I do!


11-11-2013 10:05 PM #24 sarsap (Member)

Yes caurmen
I'm tired of manually mysqldump and looking for some automation that will save us time


11-12-2013 11:27 AM #25 caurmen (Administrator)

OK, I'm on it.


Home > Technical & Creative Skills > Tracking Campaigns