Hi Rodrigo,
>> How can I change the sql lockin time, I think it could be that my sql locks and that causes de web server to get so slow...
Do you have any evidence for this, or are you just guessing? (guessing is ok, but it's useful to know if it's a stronger feeling than that.)
From the performance stats you can see that currently 11 threads a re running. By looking a the Get/Post log you will be able to see what the last request for each of those threads are, and when they occurred. Perhaps you have an endless loop in your code, or an especially expensive process or report or something, that swamps the server.
In other words, let's say you have a report which takes 5 minutes to generate. A large number of request for that report would slow down the system a lot, and inhibit other requests.
However I notice you have 11 threads, but only 3 connections, which implies the others maybe abandoned the request. Which may indicate that it's a never-ending process which is happening. But not just never-ending quiet (which is what I would expect from a SQL lock) but never-ending-busy which I would expect from a simple code bug nor breaking out of a loop correctly.
You'll also see from the stats that you have a fair number of requests (274) which have a high response time. This might be a report (which makes sense) or it might be for something else you are not expecting to take long. So more investigation there is useful.
I'd start with the 11 threads though - that's where the biggest clue lies.
cheers
Bruce