Hi
Today I've used Apache's JMeter to stress my server and looked what's
happening. (I'm on a virtual server)
With 50 users x 100 requests, it slows down but behaves nicely.
With 200 users x 20 requests (with a ramp-up period of 600sec) I have a
strange behaviour : after all threads finished (well some didn't do all
requests), the cpu came back to calm (0%)
It looks like the application works like before. But every time I go
back to the server, the first request is very very slow. After about 10
seconds, the page appears and I can see in the info log :
[18:59:48.663] {http-my1-80-101} ConnectionPool[mp_db_pool] pool overflow
After that, the navigation works fine. I understand that my database
pool is not configured correctly, this is the config :
<prepared-statement-cache-size>8</prepared-statement-cache-size>
<max-connections>20</max-connections>
<max-idle-time>30s</max-idle-time>
But I don't know what values to set, should I use max-overflow-
connections, max-pool-time, etc ? and should this related to values set
in thread-max ?
(I use mysql on linux)
Any advice would be greatly appreciated.
Thanks.
--
Riccardo Cohen
Architecte du Logiciel
http://www.architectedulogiciel.fr
+33 (0)6.09.83.64.49
_______________________________________________
resin-interest mailing list
[email protected]
http://maillist.caucho.com/mailman/listinfo/resin-interest