[wp-hackers] ajax hanging
fris
fris at fris.net
Mon Feb 6 03:22:28 UTC 2012
I actually disabled a few of the apache modules, and did a reboot of the
server, now its working.
-----Original Message-----
From: wp-hackers-bounces at lists.automattic.com
[mailto:wp-hackers-bounces at lists.automattic.com] On Behalf Of James Collins
Sent: Sunday, February 05, 2012 8:41 PM
To: wp-hackers at lists.automattic.com
Subject: Re: [wp-hackers] ajax hanging
If any of your active plugins (or theme) use the session_start() function,
then its possible that its contributing to your slow ajax requests. Try
deactivating any plugin(s) that use PHP sessions, and see if your ajax
requests speed up.
The issue is dependent on how PHP's session storage mechanism is configured,
which is why it might be an issue on some hosts but not others.
James
On 6 February 2012 12:37, Daniel Fenn <danielx386 at gmail.com> wrote:
> I would say it more a php issue than mysql issue.
>
> On 06/02/2012, fris <fris at fris.net> wrote:
> > So this is a mysql config issue?
> >
> > Im doing the exactly same code, and it works on other servers.
> >
> > -----Original Message-----
> > From: wp-hackers-bounces at lists.automattic.com
> > [mailto:wp-hackers-bounces at lists.automattic.com] On Behalf Of James
> Collins
> > Sent: Sunday, February 05, 2012 5:47 PM
> > To: wp-hackers at lists.automattic.com
> > Subject: Re: [wp-hackers] ajax hanging
> >
> > Are any of your plugins or theme(s) using PHP sessions?
> >
> > If so, this post may be relevant:
> >
> http://shout.setfive.com/2012/01/18/ajax-request-slow-with-php-heres-w
> hy/
> >
> > Reconfiguring your server to store PHP sessions in a MySQL database
> (instead
> > of on the filesystem) may help.
> >
> > James
> >
> >
> >
> > On 6 February 2012 09:01, fris <fris at fris.net> wrote:
> >
> >> Has anyone experienced any issues with an ajax request taking
> >> forever on some hosts?
> >>
> >> On localhost, and a few other servers my code works fine.
> >>
> >> But on one freebsd box (php 5.3.10, apache 2.2)
> >>
> >> The ajax itself works, its just very slow to complete.
> >>
> >> Curious if anyone else has run into this issue and what the problem
> >> may
> > be?
> >>
> >> Thanks.
> >>
> >>
> >> _______________________________________________
> >> wp-hackers mailing list
> >> wp-hackers at lists.automattic.com
> >> http://lists.automattic.com/mailman/listinfo/wp-hackers
> >>
> > _______________________________________________
> > wp-hackers mailing list
> > wp-hackers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-hackers
> >
> > _______________________________________________
> > wp-hackers mailing list
> > wp-hackers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-hackers
> >
>
>
> --
> Regards,
> Daniel Fenn
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
_______________________________________________
wp-hackers mailing list
wp-hackers at lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-hackers
More information about the wp-hackers
mailing list