Pyramid seems to do a fair number of system calls when you use resource overrides. For every page view in a site I have I see this in an strace:

[pid 15784] stat("/srv/software/buildout/src/m18.site/m18/site/ui/templates/common.html", {st_mode=S_IFREG|0644, st_size=52940, ...}) = 0
[pid 15784] lstat("/srv", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 15784] lstat("/srv/software", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 [pid 15784] lstat("/srv/software/buildout", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 [pid 15784] lstat("/srv/software/buildout/src", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 [pid 15784] lstat("/srv/software/buildout/src/m18.site", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 [pid 15784] lstat("/srv/software/buildout/src/m18.site/m18", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 [pid 15784] lstat("/srv/software/buildout/src/m18.site/m18/site", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 [pid 15784] lstat("/srv/software/buildout/src/m18.site/m18/site/ui", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 [pid 15784] lstat("/srv/software/buildout/src/m18.site/m18/site/ui/templates", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 [pid 15784] lstat("/srv/software/buildout/src/m18.site/m18/site/ui/templates/common.html", {st_mode=S_IFREG|0644, st_size=52940, ...}) = 0

this only seems to happen for that single template, which is an XInclude used from chameleon.genshi. Does this ring a bell for anyone?

Wichert.

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

Reply via email to