EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #00709
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Managing Subject tree from web : very slow
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Managing Subject tree from web : very slow
- From: Jean-Marie Le Bechec <Jean-Marie.LeBechec@inp-toulouse.fr>
- Date: Wed, 13 Jun 2012 09:39:44 +0200
|
Hi, have you find a solution to improve the loading time of the web admin interface for create subjects ? And yes, presenting the subjects tree page seems to be very very CPU-hungry on mysql (see below). I use EPrints 3.2.4 (Victoria Sponge) on VMware free -m : total used free shared buffers cached Mem: 3948 3923 25 0 84 2207 -/+ buffers/cache: 1630 2318 Swap: 5951 145 5806 I see (example), mysqladmin processlist --verbose: | 355 | oatao | localhost | oatao | Query | 0 | Sending data | SELECT `eprint`.`eprintid` FROM `eprint`, (SELECT `eprint`.`eprintid` AS `eprintid` FROM `eprint`, (SELECT `eprint`.`eprintid` AS `eprintid` FROM `eprint`, `eprint_instit` AS `eprint_instit`, `subject_ancestors` AS `subject_ancestors` WHERE `eprint`.`eprintid`=`eprint_instit`.`eprintid` AND `eprint_instit`.`instit`=`subject_ancestors`.`subjectid` AND (`subject_ancestors`.`ancestors` = 'ENSCCF_FR') UNION SELECT `eprint`.`eprintid` AS `eprintid` FROM `eprint`, `eprint_divisions` AS `eprint_divisions`, `subject_ancestors` AS `subject_ancestors` WHERE `eprint`.`eprintid`=`eprint_divisions`.`eprintid` AND `eprint_divisions`.`divisions`=`subject_ancestors`.`subjectid` AND (`subject_ancestors`.`ancestors` = 'ENSCCF_FR') UNION SELECT `eprint`.`eprintid` AS `eprintid` FROM `eprint`, `eprint_subjects` AS `eprint_subjects`, `subject_ancestors` AS `subject_ancestors` WHERE `eprint`.`eprintid`=`eprint_subjects`.`eprintid` AND `eprint_subjects`.`subjects`=`subject_ancestors`.`subjectid` AND (`subject_ancestors`.`ancestors` = 'ENSCCF_FR')) AS `or_47170576395216` WHERE `eprint`.`eprintid`=`or_47170576395216`.`eprintid`) AS `and_47170580199520_0` WHERE `eprint`.`eprintid`=`and_47170580199520_0`.`eprintid` AND `eprint`.`eprint_status` = 'archive' GROUP BY `eprint`.`eprintid` | and top (when I load the web admin subject page): Tasks: 128 total, 1 running, 127 sleeping, 0 stopped, 0 zombie Cpu(s): 45.8%us, 9.0%sy, 0.0%ni, 44.4%id, 0.7%wa, 0.2%hi, 0.0%si, 0.0%st Mem: 4043732k total, 4017324k used, 26408k free, 87124k buffers Swap: 6094840k total, 148544k used, 5946296k free, 2257256k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 3790 mysql 15 0 378m 82m 3232 S 101.5 2.1 307:53.77 mysqld 28982 apache 16 0 468m 138m 6132 S 6.3 3.5 4:22.45 httpd 28983 apache 16 0 460m 129m 6112 S 2.3 3.3 4:19.75 httpd .... Thanks... Jean-Marie -- *********************************************** Jean Marie Le Bechec Service Commun de la Documentation Responsable ingenierie documentaire & Direction du Systeme d'Information Referent Etudes Institut National Polytechnique de Toulouse 6 allee Emile Monso - bp 34038 - 31029 Toulouse cedex 4 Tel : 05 34 32 31 16 Mail : lebechec@inp-toulouse.fr *********************************************** Le 30/08/2011 11:03, Paolo Tealdi a écrit : Il 30/08/2011 10.06, Stefano Cecere ha scritto: Hi Stefano, i normally use the XML batch interface to import/export subjects (and the programs are quick enought) , but the web interface can be easy and confortable (if not so slow), for example, to translate subjects in italian/english for multilanguage sites. Best regards, Paolo TealdiHi Paolo i managed it with XML import (see my http://files.eprints.org/553/ ) ciao s On 30/ago/2011, at 09.28, Paolo Tealdi wrote: |
- Follow-Ups:
- [EP-tech] Re: Managing Subject tree from web : very slow
- From: Paolo Tealdi <paolo.tealdi@polito.it>
- [EP-tech] Re: Managing Subject tree from web : very slow
- Prev by Date: [EP-tech] Re: Managing Subject tree from web : very slow
- Next by Date: [EP-tech] Re: Version 3.3.10 METS Importer
- Previous by thread: [EP-tech] Re: How to make the field „keywords“ autocomplete?
- Next by thread: [EP-tech] Re: Managing Subject tree from web : very slow
- Index(es):
