You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Jacques Le Roux <ja...@les7arts.com> on 2009/11/25 20:51:50 UTC
Clearing cache is really sloooowww
Hi,
I don't know if some of you have tried to clear caches these last times, but it's now very, very, very slow... (more than 10 times,
maybe even more than 100x...)
Jacques
Re: Clearing cache is really sloooowww
Posted by Jacques Le Roux <ja...@les7arts.com>.
This is no longer an issue, thanks Adam
Jacques
From: "Jacques Le Roux" <ja...@les7arts.com>
> Hi,
>
> I don't know if some of you have tried to clear caches these last times, but it's now very, very, very slow... (more than 10
> times,
> maybe even more than 100x...)
>
> Jacques
>
>
Re: Clearing cache is really sloooowww
Posted by Adam Heath <do...@brainfood.com>.
Jacques Le Roux wrote:
>>
>> Is this after the last set of changes I *just* did?
>
> Yes I think so, but I just saw that you did some changes in util/cache
> are they related to this message ?
Unrelated. I was just backporting changes from head to
our(brainfood's) local package, and noticed some synchronized blocks
that could be removed(I've converted a bunch of stuff in UtilCache to
be non-blocking/unsynchronized).
Re: Clearing cache is really sloooowww
Posted by Adrian Crum <ad...@hlmksw.com>.
Adam Heath wrote:
> Adrian Crum wrote:
>> On my local copy I'm seeing thousands of entitycache entries, each with
>> only one item cached.
>
> That was what I needed to fix it.
>
> When I tested it after Jacques noted the problem, I went to webtools
> immediately after starting, so it only had a small list of entries.
>
> I've fixed this in 884262.
cool - thanks!
Re: Clearing cache is really sloooowww
Posted by Adam Heath <do...@brainfood.com>.
Adrian Crum wrote:
> On my local copy I'm seeing thousands of entitycache entries, each with
> only one item cached.
That was what I needed to fix it.
When I tested it after Jacques noted the problem, I went to webtools
immediately after starting, so it only had a small list of entries.
I've fixed this in 884262.
Re: Clearing cache is really sloooowww
Posted by Adrian Crum <ad...@hlmksw.com>.
On my local copy I'm seeing thousands of entitycache entries, each with
only one item cached.
-Adrian
Jacques Le Roux wrote:
> Hi Adam,
>
>> Jacques Le Roux wrote:
>>> Hi,
>>>
>>> I don't know if some of you have tried to clear caches these last times,
>>> but it's now very, very, very slow... (more than 10 times,
>>> maybe even more than 100x...)
>>
>> Is this after the last set of changes I *just* did?
>
> Yes I think so, but I just saw that you did some changes in util/cache
> are they related to this message ?
>
>> Note, that if you clear caches from webtools, the caches will clear
>> fast, but then it has to reload a bunch of data again; it's this that
>> can be slow.
>
> I did not look at details yet
>
>> In any event, I just tried clearing all caches, and it appears to run
>> fast.
>
> Surprised, I tried on 2 local instances : same symptom.
>
> I will update your last changes, anyway...
>
> Jacques
>
>
Re: Clearing cache is really sloooowww
Posted by Jacques Le Roux <ja...@les7arts.com>.
Hi Adam,
> Jacques Le Roux wrote:
>> Hi,
>>
>> I don't know if some of you have tried to clear caches these last times,
>> but it's now very, very, very slow... (more than 10 times,
>> maybe even more than 100x...)
>
> Is this after the last set of changes I *just* did?
Yes I think so, but I just saw that you did some changes in util/cache are they related to this message ?
> Note, that if you clear caches from webtools, the caches will clear
> fast, but then it has to reload a bunch of data again; it's this that
> can be slow.
I did not look at details yet
> In any event, I just tried clearing all caches, and it appears to run
> fast.
Surprised, I tried on 2 local instances : same symptom.
I will update your last changes, anyway...
Jacques
Re: Clearing cache is really sloooowww
Posted by Adam Heath <do...@brainfood.com>.
Jacques Le Roux wrote:
> Hi,
>
> I don't know if some of you have tried to clear caches these last times,
> but it's now very, very, very slow... (more than 10 times,
> maybe even more than 100x...)
Is this after the last set of changes I *just* did?
Note, that if you clear caches from webtools, the caches will clear
fast, but then it has to reload a bunch of data again; it's this that
can be slow.
In any event, I just tried clearing all caches, and it appears to run
fast.