I have web and back program. web i use php+apache
back: i use tomcat+ solr php create xml and curl it to tomcat...this process will take more cpu(i tract it by windows monitor,cpu will taked up with current process, and this process will take bigest cpu resource) but this pc should do other work(like people search something),,so how to let index process not take more cpu resource...like limit it to take defined cpu resource. I m tomcat newer, i just know how to limit tomcat take cpu. Maybe other way can fix it when i wanna index and search can do in the same time. They will not affect each other like now.