Hi,
 
I am using Apache/2.2.13 (Win32) mod_wsgi/2.6 Python/2.6.2 mod_auth_sspi/1.0.4
 

The wiki is saving lot of small session files (I have more than 48000 small files in this folder) under C:\wiki\data\cache\__common__\session. Wiki never delete these files automatically and i think that it makes the filesystem performance slower. Is there a disadvantage of these small files? My wiki is getting slower. Is this because of these session files?

I have read the following link instructions and my wiki is fulfilling these criteria for better performance. But I donít know why my wiki browsing is getting slower.

http://moinmo.in/HowTo/Tune%20Performance

I saw also error log file of Apache. There are lot of errors, warnings in this log file and I donít understand that why wiki is generating these errors, warnings etc.  I am pasting some of those errors. Maybe it is the reason that my wiki is getting slower. Can someone help me to figure out these errors.

 

[Thu Apr 08 08:15:50 2010] [error] 2010-04-08 08:15:50,266 WARNING MoinMoin.request:1391 Duplicate http header: 'Expires: Wed, 08 Apr 2009 06:15:50 GMT' (ignored)

[Thu Apr 08 08:15:50 2010] [error] 2010-04-08 08:15:50,266 WARNING MoinMoin.request:1392 Header added first at:

[Thu Apr 08 08:15:50 2010] [error]   File "D:\\Program Files\\Python\\lib\\site-packages\\MoinMoin\\server\\server_wsgi.py", line 29, in moinmoinApp

[Thu Apr 08 08:15:50 2010] [error]     request.run()

[Thu Apr 08 08:15:50 2010] [error]   File "D:\\Program Files\\Python\\lib\\site-packages\\MoinMoin\\request\\__init__.py", line 1311, in run

[Thu Apr 08 08:15:50 2010] [error]     handler(self.page.page_name, self)

[Thu Apr 08 08:15:50 2010] [error]   File "D:\\Program Files\\Python\\lib\\site-packages\\MoinMoin\\action\\rss_rc.py", line 109, in execute

[Thu Apr 08 08:15:50 2010] [error]     request.emit_http_headers(httpheaders)

[Thu Apr 08 08:15:50 2010] [error]

[Thu Apr 08 08:15:50 2010] [error] 2010-04-08 08:15:50,266 WARNING MoinMoin.request:1393 Header added again at:

[Thu Apr 08 08:15:50 2010] [error]   File "D:\\Program Files\\Python\\lib\\site-packages\\MoinMoin\\server\\server_wsgi.py", line 28, in moinmoinApp

[Thu Apr 08 08:15:50 2010] [error]     request = request_wsgi.Request(environ)

[Thu Apr 08 08:15:50 2010] [error]   File "D:\\Program Files\\Python\\lib\\site-packages\\MoinMoin\\request\\request_wsgi.py", line 35, in __init__

[Thu Apr 08 08:15:50 2010] [error]     RequestBase.__init__(self, {})

[Thu Apr 08 08:15:50 2010] [error]   File "D:\\Program Files\\Python\\lib\\site-packages\\MoinMoin\\request\\__init__.py", line 220, in __init__

[Thu Apr 08 08:15:50 2010] [error]     self.cfg.session_handler.after_auth(self, self.cfg.session_id_handler, self.user)

[Thu Apr 08 08:15:50 2010] [error]   File "D:\\Program Files\\Python\\lib\\site-packages\\MoinMoin\\session.py", line 443, in after_auth

[Thu Apr 08 08:15:50 2010] [error]     session_id_handler.set(request, session.name, expires)

[Thu Apr 08 08:15:50 2010] [error]   File "D:\\Program Files\\Python\\lib\\site-packages\\MoinMoin\\session.py", line 345, in set

[Thu Apr 08 08:15:50 2010] [error]     self._set_cookie(request, session_name, expires, http_only=False) # TODO: cfg.cookie_httponly as in 1.9

[Thu Apr 08 08:15:50 2010] [error]   File "D:\\Program Files\\Python\\lib\\site-packages\\MoinMoin\\session.py", line 341, in _set_cookie

[Thu Apr 08 08:15:50 2010] [error]     request.disableHttpCaching()

[Thu Apr 08 08:15:50 2010] [error]   File "D:\\Program Files\\Python\\lib\\site-packages\\MoinMoin\\request\\__init__.py", line 1608, in disableHttpCaching

[Thu Apr 08 08:15:50 2010] [error]     self.setHttpHeader('Expires: %s' % self.httpDate(when=when))



 
Thanks you very much,
Best Regards,
Waqas Ahmad




Hotmail: Trusted email with powerful SPAM protection. Sign up now.