Follow up: Modules Admin issue
After inserting a half dozen timers into modules_rebuild_cache, I have found two functions that take 95% of the time: * drupal_system_listing takes almost 1/3 of the time - some of which is likely anti-vius, * drupal_alter('system_info'... took almost 2/3 of the time - and the only module using that is CVS_Deploy. Turning off CVS_Deploy makes the page display on my PC almost within my memory span. But the production server also uses that module and runs in a second. Nancy Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.
Im not familiar with the module, but is CVS deploy running any file operations which might be timing out due to permissions issues or similar? On 29/12/2010, at 9:24 AM, nan wich wrote:
After inserting a half dozen timers into modules_rebuild_cache, I have found two functions that take 95% of the time: drupal_system_listing takes almost 1/3 of the time - some of which is likely anti-vius, drupal_alter('system_info'... took almost 2/3 of the time - and the only module using that is CVS_Deploy.
Turning off CVS_Deploy makes the page display on my PC almost within my memory span. But the production server also uses that module and runs in a second.
Nancy
Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.
On 12/28/2010 2:27 PM, Chris Skene wrote:
Im not familiar with the module, but is CVS deploy running any file operations which might be timing out due to permissions issues or similar?
Almost certainly. It's trying to guess version and package info from CVS checkouts which means reading the CVS/Tag file and other good stuff. The issue between both is clearly very very very slow file system accesses.
Or a very, very poor anti virus program. Nancy Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr. ________________________________ From: Earl Miles <merlin@logrus.com> To: development@drupal.org Sent: Tue, December 28, 2010 6:49:31 PM Subject: Re: [development] Follow up: Modules Admin issue On 12/28/2010 2:27 PM, Chris Skene wrote:
Im not familiar with the module, but is CVS deploy running any file operations which might be timing out due to permissions issues or similar?
Almost certainly. It's trying to guess version and package info from CVS checkouts which means reading the CVS/Tag file and other good stuff. The issue between both is clearly very very very slow file system accesses.
How about indexing the files in your drupal directory? I guess its locating the file which takes fair bit of time. On Wed, Dec 29, 2010 at 7:58 AM, Earl Miles <merlin@logrus.com> wrote:
On 12/28/2010 4:37 PM, nan wich wrote:
Or a very, very poor anti virus program.
That would be all of them. =)
-- Cheers, Mukesh Agarwal
participants (4)
-
Chris Skene -
Earl Miles -
Mukesh Agarwal -
nan wich