[SAC] trac.osgeo.org with load average of 24

Sandro Santilli strk at kbt.io
Sat Nov 5 12:17:00 PDT 2016


On Sat, Nov 05, 2016 at 06:57:39PM +0100, Markus Neteler wrote:

> strace -p `ps aux | grep apache | head -n 2 | tail -n 1 | cut -d' ' -f2`

It took 'awk' here instead of 'cut' as the last snippet, but
thanks !

I see many lines like these:

	stat("/usr/local/lib/python2.6/dist-packages/TracMetrixPlugin-0.1.8dev-py2.6.egg/subprocess", 0x7ffe903d3950) = -1 ENOENT (No such file or directory)
	open("/usr/local/lib/python2.6/dist-packages/TracMetrixPlugin-0.1.8dev-py2.6.egg/subprocess.so", O_RDONLY) = -1 ENOENT (No such file or directory)
	open("/usr/local/lib/python2.6/dist-packages/TracMetrixPlugin-0.1.8dev-py2.6.egg/subprocessmodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
	open("/usr/local/lib/python2.6/dist-packages/TracMetrixPlugin-0.1.8dev-py2.6.egg/subprocess.py", O_RDONLY) = -1 ENOENT (No such file or directory)
	open("/usr/local/lib/python2.6/dist-packages/TracMetrixPlugin-0.1.8dev-py2.6.egg/subprocess.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
	stat("/usr/local/lib/python2.6/dist-packages/TracSectionEditPlugin-0.2.6-py2.6.egg/subprocess", 0x7ffe903d3950) = -1 ENOENT (No such file or directory)
	open("/usr/local/lib/python2.6/dist-packages/TracSectionEditPlugin-0.2.6-py2.6.egg/subprocess.so", O_RDONLY) = -1 ENOENT (No such file or directory)

As if trac needs to find files over and over again, shouldn't it be loaded
all in memory at once instead ? Maybe it's still running as a pure cgi ?

--strk;


More information about the Sac mailing list