Hi Shanti,

all my test are started by the user root, so I don't think that is a problem
of the permissions.

About the other error, I had to modify de class UIDriver,
method doEventDetail(): old code http.fetchURL(homepageURL), new
code http.fetchURL(homepageURL+"*home*");. And after that my tests are
running fine, some errors should be related to cache improvements. I
attached one file with some results.

And finally, thank you for your time and support!

On Thu, Feb 17, 2011 at 11:44 PM, Shanti Subramanyam (gmail) <
[email protected]> wrote:

> The two ts (eventt.jpg) refers to the thumbnail images. When an image is
> added to an event, its thumbnail is automatically generated on the fly and
> stored. Errors with images usually have been due to filesystem permission
> issues (the web/app server running as a user without write privileges to
> the
> filesystem)
>
> shanti
>
> On Thu, Feb 17, 2011 at 12:26 PM, Matheus Cunha <[email protected]>
> wrote:
>
> > Yes, I am using rails version.
> >
> > And following your instructions I disabled memcached and ran the
> benchmark
> > using development profile of olio. But the log only shows errors related
> to
> > some images, curiously their names finishs with the pattern
> > *eventt.jpg,*yes, two t's. Do you have any sugestion?
> >
> > Right now I will try to figure out why this code of class
> > org.apache.olio.workload.driver.UIDriver rises IOException
> >
> > (@BenchmarkOperation(name = "EventDetail",
> >    max90th = 2,
> >    timing = Timing.AUTO)
> >    public void doEventDetail() throws Exception {
> >        //select random event
> >        logger.finer("doEventDetail");
> >        if (selectedEvent == null) {
> >            logger.warning("In event detail and select event is null ");
> >            http.fetchURL(homepageURL);
> >            StringBuilder responseBuffer = http.getResponseBuffer();
> >            selectedEvent = RandomUtil.randomEvent(random,
> responseBuffer);
> >            if (selectedEvent == null) {
> >                throw new IOException("In event detail and select event is
> > null "+homepageURL);
> >            }
> >        }
> > ....)
> >
> >
> > and why it is only happening when I turn the cache on.
> >
> >
> > Thank you!
> >
> > On Thu, Feb 17, 2011 at 2:36 AM, Shanti Subramanyam (gmail) <
> > [email protected]> wrote:
> >
> > > You are using the rails version?
> > > I believe you don't really see a big benefit using memcached here as
> you
> > > already get the caching from rails. The errors you log below don't seem
> > to
> > > be related to memcached anyway. Do you see anything in the server logs?
> > > Perhaps try running in development mode.
> > >
> > > Shanti
> > >
> > > On Wed, Feb 16, 2011 at 6:09 PM, Matheus Cunha <[email protected]>
> > > wrote:
> > >
> > > > Hi,
> > > >
> > > > I'm trying to use this benchmark and the olio non-cache configuration
> > > works
> > > > great, no error at all! But after turn the cache on (CACHED = true,
> > > > MEMCACHED = true, CACHE_SERVER = 'localhost') one error starts:
> > > >
> > > > Record:38       Level:WARNING
> > > > Message: UIDriverAgent[0].40.doEventDetail: In event detail and
> select
> > > > event
> > > > is null
> > > > Note: Error not counted in result.
> > > > Either transaction start or end time is not within steady state.
> > > > ------------------------------
> > > > Details: Host SequenceDate Millis ip-10-204-170-36 4
> > > > 2011-02-16T02:02:151297821735021
> > > > Logger: com.sun.faban.driver.engine.TimeThread.40 Thread ClassMethod
> 11
> > > > com.sun.faban.driver.engine.AgentThread logError
> > > > ------------------------------
> > > > Exception:Message: java.io.IOException: In event detail and select
> > event
> > > is
> > > > null
> > > > Stack Trace: Class MethodLine
> > > >
> > > >
> > >
> >
> org.apache.olio.workload.driver.UIDriverdoEventDetail656sun.reflect.GeneratedMethodAccessor6invoke
> > > >
> > > >
> > >
> >
> sun.reflect.DelegatingMethodAccessorImplinvoke25java.lang.reflect.Methodinvoke597com.sun.faban.driver.engine.TimeThreaddoRun169com.sun.faban.driver.engine.AgentThreadrun202
> > > > Does anybody knows if this is normal or if am I missing something?
> > > >
> > > > Thank you!
> > > >
> > > > --
> > > > Matheus Cunha.
> > > > "Serenity now!" - Frank Costanza
> > > >
> > >
> >
> >
> >
> > --
> > Matheus Cunha.
> > "Serenity now!" - Frank Costanza
> >
>



-- 
Matheus Cunha.
"Serenity now!" - Frank Costanza

Reply via email to