Hi Michael
On Tue, Feb 5, 2013 at 10:13 AM, Michael and Denise Winestock < [email protected]> wrote: > Eduardo, > > The part that seems to be really slow is how long it takes for the initial > access, to the website, login window to come up with Auto plug-in loaded > and being used (specified in the Monkey virtual host config file). What > hardware were you doing your tests on? I am using a PogoPlug v4 which has > a dual core 800MHz Marvel-kirkwood CPU with only 128MB RAM. I have > installed on the Pogoplug v4 Arm Linux-Kirkwood 3.7.5, Monkey 1.1.1 and > php. The Arm Linux being used is using systemd. > i used my personal laptop (MacBook Pro 2.5Mhz*4) > > With the Auth plug-in loaded and not being used (not specified in the > Monkey virtual host config file) the response time of loading web pages is > great. With the Auth plug-in loaded and being used (specified in the > Monkey virtual host config file) the response time for loading web pages is > noticeably slower. > > I am using a 2011 iMac running Mac OS X 10.8.2 for my client machine. I > use the Safari web browser on the iMac. I do have cookies enabled for > Safari and I would think that if the cookies were the issue I would see the > login window pop-up on every sub-page that I visit on my website, which > is no the case. My Pogoplug WebServer hard wired to a Airport Extreme base > station. I have not configured any sort of proxy. > > Right now I have not opened any ports on the Airport Extreme. I am > running access from the iMac to the Monkey server on the Pogoplug locally > only using the IP address of the Pogoplug to access the Monkey server. The > date/time is output on the Arm Linux is in military time for EST and seems > to be correct. When the Pogoplug does boot the initial date is 1969 but > the time does get sync'd correctly to the present date/time. When I access > the Monkey Server the date/time appears to be correct. > I will do some more deep tests on this, i think if is there any relevant delay i can trap that in the --trace mode. I expect to continue my research tonight. > > I have played around with which user to run the Monkey server under and it > seems to make no difference whether I run it as root or as a non-root > user. By the way, I do run Monkey server as a non-root user and ownership > of the files for the website are the same as the user which the Monkey > server is running under. > If you run Monkey as root and the "User" key is defined in the "[SERVER] section of monkey.conf, it will change the user. There is no difference unless the running user do not have access to the DocumentRoot files. > > I think I am going to put together a small test website and see if I can > reproduce what I am seeing and do a screen capture. > that would be great, feel free to share the details in a private msg. best, > > *From:* Eduardo Silva <[email protected]> > *To:* Michael and Denise Winestock <[email protected]> > *Cc:* "[email protected]" <[email protected]> > *Sent:* Tuesday, February 5, 2013 10:25 AM > > *Subject:* Re: [Monkey] Auth plug-in for Monkey v1.1.1 > > Hi, > > i've performed some benchmarks test but i was not able to reproduce the > problems: > > 1) Performance: i did tests of 50000 requests over the protected content > and it worked properly, no delays > 2) Protected paths: if a basic auth session is established it no longer > request the user/pass. Once a client face a basic auth request it sends the > credential, then the server sets a special Cookie, so every time the client > back to the server it sends the cookie and this last one is validated. The > only way for the server to request the auth again is if your client did not > send the auth again anymore. > > Some questions: > > - are you using some proxy reverse between your browser and the target > board ? > - If you look at the board OS, what time is it (# date) ? > > regards, > > > On Mon, Feb 4, 2013 at 10:24 AM, Michael and Denise Winestock < > [email protected]> wrote: > > Hi Eduaro, > > The relative URL addresses that I am trying: > > - protection is applied on http://something.com/ > - the videos are located at > http://something.com/Welcome/someone/mediafiles/vidoes > > Keep in mind that when I visit > http://something.com/Welcome/someone/mediafiles/pictures which has > pictures in it, no login window pops up. > > Thanks, > > Michael > > *From:* Eduardo Silva <[email protected]> > *To:* Michael and Denise Winestock <[email protected]> > *Cc:* "[email protected]" <[email protected]> > *Sent:* Monday, February 4, 2013 11:18 AM > *Subject:* Re: [Monkey] Auth plug-in for Monkey v1.1.1 > > Hi Michael, > > please find my answer between lines: > > On Mon, Feb 4, 2013 at 10:11 AM, Michael and Denise Winestock < > [email protected]> wrote: > > Hi, > > I am using Monkey HTTP v1.1.1 on Arm Linux-kirkwood 3.7.5. I am using the > Auth plug-in. I have noticed two things about the Auth plug-in that > hopefully can be clarified. > > 1) When the Auth plug-in is being used, I noticed that the performance of > Monkey is a lot slower. Is this something that is being worked on to speed > up the Auth plug-in? > > > I have not seen this performance issue but i will dedicate some time to > measure the server behavior when using the Auth plugin (you should expect > an email from me within 12 hours). > > > > 2) When the Auth plug-in is being used, a login window is shown for > verification into my website. I login and I am able to go to web pages > within my website. When I go to a web page that has some home-shot > videos on it another login windows pops up? Why is the login window coming > up again? > > > > What are the relative URL address that you are trying ?, e.g: > > - protection is applied on http://something.com/dir > - the video is located at http://something.com/videos > > for your case, what are those ? > > best, > > > > Thanks, > > Michael > > _______________________________________________ > Monkey mailing list > [email protected] > http://lists.monkey-project.com/listinfo/monkey > > > > > -- > Eduardo Silva > http://edsiper.linuxchile.cl/ > http://www.monkey-project.com/ > > > > > > -- > Eduardo Silva > http://edsiper.linuxchile.cl/ > http://www.monkey-project.com/ > > > -- Eduardo Silva http://edsiper.linuxchile.cl http://www.monkey-project.com
_______________________________________________ Monkey mailing list [email protected] http://lists.monkey-project.com/listinfo/monkey
