I am using Trac 1.0.15 version.
Apache 2.4.38 with modules like mpm_event etc.,
SVN/1.9.3,
OpenSSL/1.1.1a,
mod_wsgi/4.5.2,
Python/2.7.12


Apache configuration file or virtual host configuration will be similar to 
this <https://groups.google.com/d/msg/trac-users/hSQXEfkP7ME/BTxodo0lBwAJ> 
in my previous question.

Time To First Byte(TTFB) for the first request after I restart my apache2 
server would be like 17 - 25 or 35 sec. But next few requests will take 8 - 
9 sec. Then it will take 3 - 5 sec normally.

Apart from all what I am facing is an extreme slowness. I want to 
understand what is causing this slowness but I don't know how to 
troubleshoot this. Please share me some thoughts. 


On Wednesday, February 5, 2020 at 8:07:09 PM UTC+5:30, Jun Omae wrote:
>
> On Tue, Feb 4, 2020 at 10:51 PM Velu Narasimman <[email protected] 
> <javascript:>> wrote: 
> > 
> > Hi, 
> > 
> >     I have hosted a trac instance in apache server with mod-wsgi. The 
> first request to the application takes a huge time. Then subsequent 
> requests also taking more time(TTFB - Time To First Byte is very high). Not 
> sure what is going on. I have already gone through the Performance 
> improvement suggestion page. But still I am not able to find what is wrong 
> with the application. It stays very slow. I have already posted few threads 
> in this group regarding this slowness. 
> > 
> >     Also, I have no idea about profiling a python script. Please guide 
> me to make my site more faster. 
>
>  - Are you using what version of Trac? 
>  - Please share configuration of Apache and Trac. 
>  - Your time to first byte is how many seconds/minutes? 
>  - Enable [trac] use_chunked_encoding option. 
>
> -- 
> Jun Omae <[email protected] <javascript:>> (大前 潤) 
>

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/bda5ab83-00e2-4a10-a7b2-da791a67bbf8%40googlegroups.com.

Reply via email to