Doug Douglass | 1 May 18:37
Picon
Gravatar

[Trac] Re: Trac + Apache 2 + mod_python + 800Mhz == TOO_SLOW

Search ML archives for tips on speed, performance, etc. I can speak from experience that our biggest Trac (0.9.x) performance problems were related to misconfiguration of serving static Trac resources (css, images, js) -- such resources request were being handled by mod_python, which is certainly not a good thing ;)

HTH,
Doug

On Thu, Apr 30, 2009 at 3:03 PM, <ahdumbledore-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

Hello, I'm running this stuff on a 800Mhz machine with about 512mb
pc2200 ram.  It's about 10 years old now?

Anyway, all the pages in my trac site take > 15 seconds to load, which
is obviously too long.  I know the bottleneck is the software, because
I have served other pages at blistering speed on this machine...
custom pages I wrote using PHP.

So my question is, how would I get this thing working faster?  How can
I optimize the software?  (Are there caching settings I can tweak in
apache?  Are their bloated components I can strip off of the Trac
install? Or something else?)

I'm guessing mod_python does not cache anything, because it runs about
the same speed as an ASP.NET page the first time you load it up
(before it has been compiled and cached) WHICH IS MEGA SLOW.

Thanks in advance for any help!




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to trac-users+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

abalter | 1 May 20:34
Picon

[Trac] Help on how to use features AND plugins


I'm finding the documentation on how to use some built-in features AND
how to use some plugins kind of sparse.  I was asked to NOT post
tickets for usability issues, only bugs.

For features, is this the best place to ask for help?  Where can I
post requests that the Trac project add additional documentation or
explanations?  If I figure things out myself, can I add to the online
documentation by editing the wiki pages?  Would I do this through
tickets?

For plugins, how can I contact the plugin author to ask for help?  I
could not find an email link.  When you click on the author's name,
you get a list of their other plugins, but not a way to contact them.
Should I post tickets?

Thanks, Ariel

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users@...
To unsubscribe from this group, send email to trac-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

abalter | 1 May 20:35
Picon

[Trac] Still receiving emails


I'm receiving email updates from this group even though I have my
membership set to "No Emails".  Any idea how to fix?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users@...
To unsubscribe from this group, send email to trac-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

abalter | 1 May 20:44

[Trac] Re: Problems after ubuntu distribution upgrade


1) What version of trac do you have installed?

2) Have you done aptitude update, aptitude dist-upgrade?  Sometimes
everything doesn't get upgraded.

3) I have had problems with permissions sometimes changing after upgrade. 
Check the permissions on all relevant folders such as where trac is
installed and /etc/apache2/

4) Check your apache2.conf file (/etc/apache2/apache2.conf).  It may have
been overwritten.  If you are lucky, the old one might be there as a ~ file. 
Also, why is the client 127.0.0.1?  You may need to set your ServerName in
apache2.conf, or in /etc/hosts.

Dan King-3 wrote:
> 
> 
> Hi everyone,
> 
> I recently upgraded ubuntu from 8.10 to 9.04 and can't seem to access
> trac anymore. When I navigate to the site on my browser I get an
> internal server error. Here are the logs from apache
> 
> [Fri Apr 24 12:22:19 2009] [error] [client 127.0.0.1] mod_python
> (pid=23592, interpreter='main_interpreter', phase='PythonHandler',
> handler='trac.web.modpython_frontend'): Application error
> [Fri Apr 24 12:22:19 2009] [error] [client 127.0.0.1] ServerName:
> '127.0.1.1'
> [Fri Apr 24 12:22:19 2009] [error] [client 127.0.0.1] DocumentRoot: '/
> var/www/'
> [Fri Apr 24 12:22:19 2009] [error] [client 127.0.0.1] URI: '/projects/
> supermarker'
> [Fri Apr 24 12:22:19 2009] [error] [client 127.0.0.1] Location: '/'
> [Fri Apr 24 12:22:19 2009] [error] [client 127.0.0.1] Directory: None
> [Fri Apr 24 12:22:19 2009] [error] [client 127.0.0.1] Filename: '/var/
> www/projects'
> [Fri Apr 24 12:22:19 2009] [error] [client 127.0.0.1] PathInfo: '/
> supermarker'
> [Fri Apr 24 12:22:19 2009] [error] [client 127.0.0.1] Traceback (most
> recent call last):
> [Fri Apr 24 12:22:19 2009] [error] [client 127.0.0.1]   File "/usr/lib/
> python2.6/dist-packages/mod_python/importer.py", line 1537, in
> HandlerDispatch\n    default=default_handler, arg=req,
> silent=hlist.silent)
> [Fri Apr 24 12:22:19 2009] [error] [client 127.0.0.1]   File "/usr/lib/
> python2.6/dist-packages/mod_python/importer.py", line 1202, in
> _process_target\n    module = import_module(module_name, path=path)
> [Fri Apr 24 12:22:19 2009] [error] [client 127.0.0.1]   File "/usr/lib/
> python2.6/dist-packages/mod_python/importer.py", line 304, in
> import_module\n    return __import__(module_name, {}, {}, ['*'])
> [Fri Apr 24 12:22:19 2009] [error] [client 127.0.0.1] ImportError: No
> module named trac.web.modpython_frontend
> dan <at> chimp:/var/log/apache2$
> 
> > 
> 
> 

--

-- 
View this message in context: http://www.nabble.com/Problems-after-ubuntu-distribution-upgrade-tp23222201p23337926.html
Sent from the Trac Users mailing list archive at Nabble.com.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users@...
To unsubscribe from this group, send email to trac-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

abalter | 1 May 20:45

[Trac] Re: No handler matched request


I'm not familiar with fcgi.  However, I noticed that you are running
Python2.4.  You might need to upgrade python.  What version of Trac are you
using?

fsanders@... wrote:
> 
> 
> I've recently setup a new trac environment, my first, and have succeed
> it getting it working. I can browse source, create and modify tickets,
> update the wiki, view the timeline and roadmaps, and all the css and
> images appear just fine.
> 
> The only problem that i have is that when I visit the root directory
> of the project, I get the following:
> 
> Error: Not Found
> 
> No handler matched request to /cmdb/cgi-bin/trac.fcgi
> 
> Looking at my trac log the only reference i can find to this is the
> following:
> 
> 2009-04-21 11:47:18,424 Trac[__init__] DEBUG: Loading
> trac.mimeview.txtl from /h
> omepages/26/d160548031/htdocs/usr/lib/python2.4/site-packages/
> Trac-0.11.4-py2.4.
> egg
> ?
> 2009-04-21 11:36:25,492 Trac[__init__] WARNING: HTTPNotFound: 404 Not
> Found (No
> handler matched request to /cmdb/cgi-bin/trac.fcgi)
> 2009-04-21 11:36:25,660 Trac[__init__] DEBUG: Prepare chrome data for
> request
> 2009-04-21 11:36:25,662 Trac[__init__] DEBUG: action controllers for
> ticket work
> flow: ['ConfigurableTicketWorkflow']
> 2009-04-21 11:36:25,700 Trac[__init__] DEBUG: Retrieving session for
> ID 'admin'
> 2009-04-21 11:46:42,384 Trac[__init__] DEBUG: Loading
> trac.ticket.web_ui from /h
> omepages/26/d160548031/htdocs/usr/lib/python2.4/site-packages/
> Trac-0.11.4-py2.4.
> egg
> 
> (If more of the log would be helpful let me know.)
> 
> Not sure if this will help, but according to the apache access logs
> the 404 is generated when trying to access /cmdb/
> 
> I've also configured a .htaccess file within the cmdb directory that
> looks like this:
> 
> DirectoryIndex cgi-bin/trac.fcgi
> AuthType Basic
> AuthName "CMdb Trac"
> AuthUserFile /path/to/htpasswdfile
> Require valid-user
> 
> I know that's not exactly a documented solution to how to setup trac,
> but due to the fact that I'm trying to set this up on a hosted shell
> account it was the only thing that got me as far as I am. Accessing /
> cmdb/cgi-bin/trac.fcgi directly results in many many 404s and no CSS
> being returned/applied.
> 
> If anything sticks out here, or you can point me in a general
> direction or possible causes for this error I would greatly appreciate
> it. Thanks in advance.
> 
> -fs
> 
> > 
> 
> 

--

-- 
View this message in context: http://www.nabble.com/No-handler-matched-request-tp23165410p23337927.html
Sent from the Trac Users mailing list archive at Nabble.com.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users@...
To unsubscribe from this group, send email to trac-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

osimons | 1 May 20:47
Picon

[Trac] Re: milestone print categories box also.


On Apr 30, 5:27 pm, yoheeb <yoh...@...> wrote:
> Anyone know how, when printing a milestone, to also get the section on
> the right that shows the sorted breakout?
>
> the "ticket by status" box?
>
> I am not sure where to look into the css files.

In the trac.css stylesheet at the very bottom it defines '@media
print' styles, and the <form> tag is set as display:none - that is why
it gets stripped from the printout.

:::simon

https://www.coderesort.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users@...
To unsubscribe from this group, send email to trac-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

yoheeb | 1 May 20:54
Picon

[Trac] Re: milestone print categories box also.


On May 1, 1:47 pm, osimons <oddsim...@...> wrote:
> On Apr 30, 5:27 pm, yoheeb <yoh...@...> wrote:
>
> > Anyone know how, when printing a milestone, to also get the section on
> > the right that shows the sorted breakout?
>
> > the "ticket by status" box?
>
> > I am not sure where to look into the css files.
>
> In the trac.css stylesheet at the very bottom it defines '@media
> print' styles, and the <form> tag is set as display:none - that is why
> it gets stripped from the printout.
>
> :::simon
>
> https://www.coderesort.com

Thanks, I found this also on my own, but I don't know what to do about
it :D  ahh well, it's a minor thing at this point.  our last project
milestone had like 10 hardware tasks, 25 documentation tasks, and 390+
software tasks.  Wanted to print the milestone with that as a little
reminder how much software work has to get done to ship product :D

I mean, I could remove that, but I would more correctly want to
exclude that specific form from the "none" display-type in media print
as not to mess up other ones, which I suspect would involve some
change elsewhere that I just don't want to much with.  I just took a
screenie :D
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users@...
To unsubscribe from this group, send email to trac-users+unsubscribe <at> googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

jevans | 2 May 03:32
Picon

[Trac] Re: No handler matched request


abalter wrote:
> I'm not familiar with fcgi.  However, I noticed that you are running
> Python2.4.  You might need to upgrade python.  What version of Trac are you
> using?
>
>
>
> fsanders@... wrote:
 <snip>
> >
> > The only problem that i have is that when I visit the root directory
> > of the project, I get the following:
> >
> > Error: Not Found
> >
> > No handler matched request to /cmdb/cgi-bin/trac.fcgi
> >
> > Looking at my trac log the only reference i can find to this is the
> > following:
> >
> > 2009-04-21 11:47:18,424 Trac[__init__] DEBUG: Loading
> > trac.mimeview.txtl from /h
> > omepages/26/d160548031/htdocs/usr/lib/python2.4/site-packages/
> > Trac-0.11.4-py2.4.
> > egg
> > ?
 <snip>

Looks like Trac 0.11.4.  Python 2.4 should be fine.
- jevans

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users@...
To unsubscribe from this group, send email to trac-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

agile | 1 May 20:16

[Trac] How to define dependencies for custom fields?


Running trac 0.12dev-r7850. We want to define some field dependencies in the
workflow and we aren't able to find the plugin that provides this
capability.  For example, a custom field for Support Group and depending on
what Support Group is selected, the assign-to drop-down is populated only
with the names of the people in that support group.  Another example, is a
custom field for school district and another custom field for schools where
the drop-down list of schools are only those belonging to the school
district selected.  Both require some dependencies to be defined for the
fields.  We'd appreciate any help/guidance on how to implement these
requirements.
--

-- 
View this message in context: http://www.nabble.com/How-to-define-dependencies-for-custom-fields--tp23302607p23302607.html
Sent from the Trac Users mailing list archive at Nabble.com.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users@...
To unsubscribe from this group, send email to trac-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Gravatar

[Trac] Re: Still receiving emails


-On [20090501 21:01], abalter (ariel.balter@...) wrote:
>I'm receiving email updates from this group even though I have my
>membership set to "No Emails".  Any idea how to fix?

Try setting it to receive emails, applying, and then back again?

[But in the end you'll have to ask the Groups help about this issue since it
is not something the list managers can fix, since you are indeed set to 'No
Email'.]

--

-- 
Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625B
In every stone sleeps a crystal...

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users@...
To unsubscribe from this group, send email to trac-users+unsubscribe <at> googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Gmane