Re: [Speedycgi-users] Slow SpeedyCGI response / multiple parallel requests
Brought to you by:
samh
|
From: Sam H. <sa...@da...> - 2003-12-03 23:54:52
|
Three backends might be OK - it probably depends on your web browser and how many requests it makes in parallel. Usually the number of backends will increase to be the same as, or a little more than the number of parallel requests going on. I can't think of anything unusual about img tags that would break anything. When you're looking at the backends in ps, are they changing process id's, or are the pid's constant? If the pid's are changing quite a bit, then there's definitely somthing wrong there. The same backend processes should be handling the requests over and over, if all is working well. You could try running truss or strace on the backends to see what they're doing - you might get a clue there. > > --=-zc0EcASufcuaVdII3jCV > Content-Type: text/plain > Content-Transfer-Encoding: quoted-printable > > Hello, > > I've been using SpeedyCGI for years without any problems. Currently I'm > writing a new web based app that should work with Speedy and ran into a > problem: the CGI script in question calls itself back via <img> tags in > the servered HTML page (the src attribute points back to the same CGI). > Now it seems that Speedy responds very slowly (1-2 seconds?) if the > number of such <img> tags is getting higher (currently, there are 4 of > them - not too many in my eyes). I'm also surprised to see that I never > get more than 3 speedy_backends running - could this point to the > problem? > > Has anyone got an explanation for this? Thanks for any hint! > > Best regards, > Tom > --=20 > ---------------------------------------------------------------------------= > - > Thomas Aeby, Kirchweg 40, 1735 Giffers, Switzerland, Voice : (+41)26 > 4180040 > Internet: ae...@gr... PGP public key > available > ---------------------------------------------------------------------------= > - > A LISP programmer knows the value of everything, but the cost of > nothing. > > --=-zc0EcASufcuaVdII3jCV > Content-Type: application/pgp-signature; name=signature.asc > Content-Description: This is a digitally signed message part > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.7 (GNU/Linux) > > iD8DBQA/tfZE3d2qB2hF2mgRAuHvAJ0XIXm//fuEZPt+OIOsys4GTCyuKQCggKsw > Au3CvjbUI7bNeJL6SYM0Pj8= > =9Mev > -----END PGP SIGNATURE----- > > --=-zc0EcASufcuaVdII3jCV-- > > > > ------------------------------------------------------- > This SF. Net email is sponsored by: GoToMyPC > GoToMyPC is the fast, easy and secure way to access your computer from > any Web browser or wireless device. Click here to Try it Free! > https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl > _______________________________________________ > Speedycgi-users mailing list > Spe...@li... > https://lists.sourceforge.net/lists/listinfo/speedycgi-users > |