Brad
spechialy Thanks for your suggestion and instructions.
i have done all the things, you'v suggested me.
my output commands are these:
jstack output is attached.
jstack PID |grep 8080 result:
"pool-8080-50" daemon prio=10 tid=0x00007f2ac03a5800 nid=0x66d3 waiting on condition [0x00007f2a535dc000]
"pool-8080-46" daemon prio=10 tid=0x00007f2abc001800 nid=0x6393 runnable [0x00007f2a6c6fb000]
"pool-8080-45" daemon prio=10 tid=0x00007f2ac8015000 nid=0x6390 waiting on condition [0x00007f2a6abfa000]
"pool-8080-43" daemon prio=10 tid=0x00007f2ac011b800 nid=0x6360 waiting on condition [0x00007f2a6aefd000]
"pool-8080-40" daemon prio=10 tid=0x00007f2ac800b000 nid=0x6358 waiting for monitor entry [0x00007f2a83ffc000]
"pool-8080-36" daemon prio=10 tid=0x00007f2ac015d000 nid=0x6266 waiting for monitor entry [0x00007f2a795fb000]
"pool-8080-35" daemon prio=10 tid=0x00007f2ac054b800 nid=0x6264 waiting on condition [0x00007f2a793fa000]
"pool-8080-33" daemon prio=10 tid=0x00007f2ac0134000 nid=0x6261 waiting on condition [0x00007f2b1d980000]
"pool-8080-26" daemon prio=10 tid=0x00007f2ac03b5800 nid=0x60e4 waiting on condition [0x00007f2a59ef5000]
"pool-8080-20" daemon prio=10 tid=0x00007f2ab402c800 nid=0x5dcd waiting for monitor entry [0x00007f2a5a0f5000]
"http-8080-Acceptor-0" daemon prio=10 tid=0x00007f2b28f1f800 nid=0xdfd runnable [0x00007f2a5a2f9000]
"http-8080-ClientPoller-3" daemon prio=10 tid=0x00007f2b28f38000 nid=0xdfc runnable [0x00007f2a5a3fa000]
"http-8080-ClientPoller-2" daemon prio=10 tid=0x00007f2b2865b800 nid=0xdfb runnable [0x00007f2a5a4fb000]
"http-8080-ClientPoller-1" daemon prio=10 tid=0x00007f2b28f39000 nid=0xdfa runnable [0x00007f2a5a5fc000]
"http-8080-ClientPoller-0" daemon prio=10 tid=0x00007f2b284df800 nid=0xdf9 runnable [0x00007f2a5a6fd000]
i've read all the Logs on the server, several times. there were these:
System Logs:
apache2/
access.log => 5689 B
eror.log => 346 B
other_vhosts_access.log => 1433 B
/mysql => nothing (it's active.)
/apt
term.log => 103 KiB
history.log => 15274 B
the size of other logs on the server were less than 300 KiB
Drupla Log file: there are no errors on the events and reports.
the logs in the Catalina_Home are these:
Fedora.log => 20480 KiB
catalina.Out => 176 MiB (i cheked catalina.Out but there were no errors on it, but info.)
fedora.log => 20482KiB
fedoragsearch.daily.log => 100MiB
i checked this file's content.i saw some logs, which i mention bellow:
i checked all the log4j.xml settings several times and every thing was corect. but i don't know why it log's like this!
DEBUG 2015-10-20 08:22:44,365 (UpdateListener) Received Fedora Message: ActiveMQTextMessage {commandId = 701, responseRequired = true, messageId = ID:library.sbu.ac.ir-49814-1445251156458-2:1:1:1:43,
originalDestination = null, originalTransactionId = null, producerId = ID:library.sbu.ac.ir-49814-1445251156458-2:1:1:1, destination = topic://fedora.apim.update, transactionId = null, expiration = 0, timestamp =
1445316764277, arrival = 0, brokerInTime = 1445316764321, brokerOutTime = 1445316764337, correlationId = null, replyTo = null, persistent = true, type = null, priority = 4, groupID = null, groupSequence = 0,
targetConsumerId = null, compressed = false, userID = null, content = null, marshalledProperties = org.apache.activemq.util.ByteSequence@5d03b018, dataStructure = null, redeliveryCounter = 0, size = 0, properties =
{methodName=ingest, pid=book:95027}, readOnlyProperties = true, readOnlyBody = true, droppable = false, text = <?xml version="1.0" encoding="UTF-8"?>
<entry...ry>
</entry>}
DEBUG 2015-10-20 08:22:44,366 (UpdateListener) Message Text: <?xml version="1.0" encoding="UTF-8"?>
<id>urn:uuid:83538194-525a-4749-a974-cf9dc7c3185a</id>
<updated>2015-10-20T04:52:44.136Z</updated>
<author>
<name>behnaz rahmani</name>
</author>
<title type="text">ingest</title>
<category term="" scheme="fedora-types:logMessage" label="xsd:string"></category>
<category term="info:fedora/fedora-system:FOXML-1.1" scheme="fedora-types:format" label="xsd:string"></category>
<summary type="text">book:95027</summary>
<content type="text">book:95027</content>
<category term="3.5" scheme="info:fedora/fedora-system:def/view#version"></category>
</entry>
DEBUG 2015-10-20 08:22:44,399 (Config) getProperty fedoragsearch.testUserName=null
DEBUG 2015-10-20 08:22:44,399 (GenericOperationsImpl) updateIndex action=fromPid value=book:95027 repositoryName=dl indexNames= indexDocXslt= resultPageXslt=
DEBUG 2015-10-20 08:22:44,399 (Config) indexName=gsearch_solr operationsImpl=dk.defxws.fgssolr.OperationsImpl
DEBUG 2015-10-20 08:22:44,400 (Config) operationsImplClass=class dk.defxws.fgssolr.OperationsImpl
DEBUG 2015-10-20 08:22:44,400 (Config) ops=dk.defxws.fgssolr.OperationsImpl@7b42aff0
DEBUG 2015-10-20 08:22:44,400 (Config) getProperty fedoragsearch.testUserName=null
DEBUG 2015-10-20 08:22:44,400 (Config) insertSystemProperties propertyValue=FEDORA_HOME/gsearch_solr/solr/data/index
DEBUG 2015-10-20 08:22:44,427 (OperationsImpl) getIndexReaderAndSearcher indexName=gsearch_solr docCount=99671
INFO 2015-10-20 08:22:44,427 (GenericOperationsImpl) getFoxmlFromPid pid=book:95027 repositoryName=dl
DEBUG 2015-10-20 08:22:44,427 (GenericOperationsImpl) getFedoraClient repositoryName=dl fedoraSoap=http://localhost:8080/dl/services fedoraUser=fedoraAdmin fedoraPass=pass DEBUG 2015-10-20 08:22:44,463 (GTransformer) xsltName=fgsconfigFinal/index/gsearch_solr/foxmlToSolr
DEBUG 2015-10-20 08:22:44,497 (GTransformer) getTransformer transformer=org.apache.xalan.transformer.TransformerImpl@7d27ed3a uriResolver=null
DEBUG 2015-10-20 08:22:44,518 (OperationsImpl) indexDoc=
<?xml version="1.0" encoding="UTF-8"?>
<doc>
<field name="PID">book:95027</field>
<field name="REPOSITORYNAME">dl</field>
<field name="fgs.state">Active</field>
<field name="fgs.label">Stochastic and global optimization</field>
<field name="fgs.ownerId">behnaz</field>
<field name="fgs.createdDate">2015-10-20T04:52:44.136Z</field>
<field name="fgs.lastModifiedDate">2015-10-20T04:52:44.136Z</field>
<field name="dc.title">Stochastic and global optimization</field>
<field name="dc.subject">Mathematical optimization</field>
<field name="dc.subject">Stochastic processes</field>
<field name="dc.subject">QA402.5 .S723 2002</field>
<field name="dc.subject">519.3</field>
<field name="dc.description">edited by Gintautus Dzemyda, Vydūnas Šaltenis, Antanas Žilinskas.</field>
<field name="dc.description">Includes bibliographical references.</field>
<field name="dc.description">0</field>
<field name="dc.publisher">Kluwer Academic</field>
<field name="dc.contributor">Dzemyda, Gintautas.</field>
<field name="dc.contributor">Šaltenis, Vydūnas.</field>
<field name="dc.contributor">Zhilinskas, A.</field>
<field name="dc.date">c2002</field>
<field name="dc.date">2002</field>
<field name="dc.type">Text</field>
<field name="dc.type">Book</field>
<field name="dc.format">print</field>
<field name="dc.format">x, 233 p. : ill., 1 port. ; 25 cm.</field>
<field name="dc.identifier">book:95027</field>
<field name="dc.identifier">isbn:Â 1402004842 (acid-free paper)</field>
<field name="dc.identifier">lccn:Â 2002283172</field>
<field name="dc.identifier">oclc:Â ocm49739780</field>
<field name="dc.language">eng</field>
</doc>
</add>
DEBUG 2015-10-20 08:22:44,548 (GenericOperationsImpl) indexDocExists termDocs=book:95027 indexDocExists=false
i installed varnish on my server, solving my problem, but it didn't work again.
when server CPU load is full:
run query on solr => QTime:32
run query on fedoragsearch => time :5 Sec.
But in drupal i response very slowly. it takes about 5Min to respond me, if it works.
i'm really confused. i would be grateful if you could help me.
thanks a lot.
mehdi