Move to postgresql not mysql ;-). If I may, what is the site? I am
curious.
On Oct 22, 7:56 pm, Thadeus Burgess <
thade...@thadeusb.com> wrote:
> It seems as if now, I am not recieving any 503 errors. This must be due to
> the ammount of growth the site recieved in such a short period of time, not
> to mention i'm running it in a shared hosting environment, there is nothing
> I can do except get a dedicated server, or perhaps figure a way to limit the
> requests based on a random timer. For some odd reason, get requests load
> faster, but this could just be a fluke in the environment.
>
> I have been browsing through error tickets, and it seems that since my
> database (sqlite) grew from only 100 tracked items to 1460 tracked items in
> a little over a few hours, every ticket recieved is about migration
> EOFErrors. I will try exporting everything to csv, switching over to mysql,
> and reimporting. Perhaps this will fix some of the performance issues, and
> the EOF errors..
>
> S'Traceback (most recent call last):\n File "gluon/restricted.py",
> line 184, in restricted\n exec ccode in environment\n
> File "/home/.idiosyncrasy/thadeusb/
>
thadeusb.com/surrenderthebooty/applications/init/models/db.py",
> line 42, in <module>\n auth.define_tables()
> # creates all needed tables\n
> File "gluon/tools.py", line 601, in define_tables\n
> self.settings.table_permission_name, migrate))\n
> File "gluon/sql.py", line 1130, in define_table\n
> query = t._create(migrate=migrate)\n
> File "gluon/sql.py", line 1501, in _create\n
> sql_fields_old = cPickle.load(tfile)\nEOFError\n'
>
> -Thadeus
>
> On Thu, Oct 22, 2009 at 3:29 PM, Thadeus Burgess <
thade...@thadeusb.com>wrote:
>
> > I can post code later tonight when I get home, I can't even make any
> > changes to code until then since it is a personal project.
>
> > I will try using a GET request instead, since no data is being passed
> > through post anyways.
>
> > It is an apache thing, its just odd I only get it when using ajax. It did
> > not start happening until today when the site received a major influx of new
> > content to track.
>
> > There is no way for me to increase threads or processes since this site is
> > on shared hosting :(
>
> > -Thadeus
>